Support Questions

Find answers, ask questions, and share your expertise

Unable to start ATSv2 HBase Application from ambari

New Contributor

Ambari Alert:

Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/alerts/alert_ats_hbase.py", line 183, in execute ats_hbase_app_info = make_valid_json(output) File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/alerts/alert_ats_hbase.py", line 226, in make_valid_json raise Fail("Couldn't validate the received output for JSO..


When executing the below command as yarn-ats user:

yarn app -start ats-hbase

19/06/18 11:55:11 INFO client.RMProxy: Connecting to ResourceManager at <fqdn>/xx.xx.xx.xx:8050

19/06/18 11:55:11 INFO client.AHSProxy: Connecting to Application History server at <fqdn>/xx.xx.xx.xx:10200

19/06/18 11:55:11 INFO client.RMProxy: Connecting to ResourceManager at <fqdn>/xx.xx.xx.xx:8050

19/06/18 11:55:11 INFO client.AHSProxy: Connecting to Application History server at <fqdn>/xx.xx.xx.xx:10200

19/06/18 11:55:11 INFO util.log: Logging initialized @1108ms

19/06/18 11:55:12 ERROR client.ApiServiceClient: port out of range:-1


1 REPLY 1

Mentor

@Pawan Patil

Can you check whether the name node is running, because it seems to fail to connect to the name node?

Check if Namenode process is running?

ps -ef|grep -i namenode

Then validate if it is listening on 8020 port by running netstat command?

netstat -tulapn|grep 8020

The ATSv2 expects a JSON file in hdfs://{servername}:8020/user/yarn/.yarn/services/ats-hbase/ats-hbase.json

So that need the name node to be running


Please revert