Member since
04-15-2016
11
Posts
4
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1626 | 04-20-2016 06:23 PM |
06-12-2017
01:00 PM
what is the password for the above command?
... View more
05-06-2016
05:14 PM
4 Kudos
Hi @Indrajit swain, You are hitting the ElasticSearch that Atlas is running in background for its operations. This is why you get an older version of ES when you curl port 9200. To check it, stop your ES instance and check if you have something listening to port 9200 netstat -npl | grep 9200 You should still have something listening even when your ES is down. You can see the configuration of existing ES in Atlas configuration in Ambari When ES starts and find its port used (9200) it picks the next available one. So your ES instance will be running on port 9201. You can see it in the starting logs (like in my example) : [2016-05-06 17:09:41,452][INFO ][http ] [Speedball] publish_address {127.0.0.1:9201}, bound_addresses {127.0.0.1:9201} You can try to curl the two ports to test: [root@sandbox ~]# curl localhost:9200
{
"status" : 200,
"name" : "Gravity",
"version" : {
"number" : "1.2.1",
"build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
"build_timestamp" : "2014-06-03T15:02:52Z",
"build_snapshot" : false,
"lucene_version" : "4.8"
},
"tagline" : "You Know, for Search"
}
[root@sandbox ~]# curl localhost:9201
{
"name" : "Speedball",
"cluster_name" : "elasticsearch",
"version" : {
"number" : "2.3.2",
"build_hash" : "b9e4a6acad4008027e4038f6abed7f7dba346f94",
"build_timestamp" : "2016-04-21T16:03:47Z",
"build_snapshot" : false,
"lucene_version" : "5.5.0"
},
"tagline" : "You Know, for Search"
}
You can also change the port of ES to something you want in the yaml file. Hope this helps
... View more
04-20-2016
06:23 PM
Thanks .. sudo su - hdfs hdfs dfs -mkdir /user/root hdfs dfs -chown root:hdfs /user/root got the answer as well from another thread
... View more
04-15-2016
06:09 AM
1 Kudo
Thanks Laurence Da Luz . It helped me
... View more