steven-matison / dfhz_elk_mpack Goto Github PK
View Code? Open in Web Editor NEWElasticsearch Management Pack for Ambari 2.6 & 2.7
Elasticsearch Management Pack for Ambari 2.6 & 2.7
I am trying to install elasticsearch_mpack-3.0.0.0-1.tar.gz
using command:
$ ambari-server install-mpack --mpack=https://github.com/steven-matison/dfhz_elk_mpack/raw/master/elasticsearch_mpack-3.0.0.0-1.tar.gz --verbose
Here is the trace back what I am getting during service setup via Ambari UI
:
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py", line 38, in <module>
BeforeAnyHook().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 351, in execute
method(env)
File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py", line 31, in hook
setup_users()
File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/shared_initialization.py", line 50, in setup_users
groups = params.user_to_groups_dict[user],
KeyError: u'logstash'
Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-603.json', '/var/lib/ambari-agent/cache/stack-hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-603.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1_2', '']
I also have tried to run:
$ yum --disablerepo=* --enablerepo=epel search elasticsearch
ambari-agent: 2.7.1.0-169
HDP: 3.0.1_virtualbox_181205
At the end of adding elasticsearch service in the Ambari (2.7.4) Service Wizard to my HDP Stack (3.1.4) i received a warning message about execution of "service_check.py" script:
SyntaxError: from future imports must occur at the beginning of the file
After a short search, I found out that the imports from the future module must be located at the beginning of the file.
So i move "from future import print_function" line from "service_check.py" script to the top and warning message is gone.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.