Coder Social home page Coder Social logo

dfhz_elk_mpack's Introduction

Hey guys! I am back at Cloudera and I am working there now on that GitHub.

  • ๐Ÿ”ญ Iโ€™m currently working on CDP, CDF, and CDH
  • ๐ŸŒฑ Iโ€™m currently learning Kubernetes, Kudu, Airflow, Bigtop, Ozone, Flink
  • ๐Ÿ’ฌ Ask me about Cassandra, Open Source, NiFi, Apache Software Foundation
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on NiFi, OpenSource
  • ๐Ÿ“ซ How to reach me: Cloudera Community

dfhz_elk_mpack's People

Contributors

steven-matison avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dfhz_elk_mpack's Issues

Error when install ELK mpack-3.0.0.0-1

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

Warning message while executing service_check.py

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.