Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

install elastic search on Hadoop Ambari

install elastic search on Hadoop Ambari

New Contributor

Hello, I´m new on this , and trying to install and run Elastic Search on Hadoop.

 

1) I downloaded from Sandbox  (  with root user )

[root@sandbox-hdp ~]#
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.1-linux-x86_64.tar.gz

 

2) uncompress 

tar xvfz elasticsearch-7.3.1-linux-x86_64.tar.gz

 

3) try to run : bin/elasticsearch  But gives an error of  cannot run with root user.

 

[root@sandbox-hdp elasticsearch-7.3.1]# bin/elasticsearch

..

[2019-09-09T07:40:39,130][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [sandbox-hdp.hortonworks.com] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root

 

4) try to add the option :  -Des.insecure.allow.root=true    but with no result 

 

Can someone help me please ? in what step I´m in error ?

thank you -

 

1 REPLY 1

Re: install elastic search on Hadoop Ambari

Super Collaborator

Install my ELK Management pack to install Elasticsearch into Hadoop cluster:

 

https://community.cloudera.com/t5/Code-Repositories/ELK-Mpack-6-3-2-for-HDP-3-amp-HDF-3/ta-p/277674

 

 

Don't have an account?
Coming from Hortonworks? Activate your account here