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.

HAWQ service check Fails From Ambari

Highlighted

HAWQ service check Fails From Ambari

New Contributor

We have small Hadoop-Hawq Cluster. In that, once of slave host service fails When I am executing the check of HAWQ services using Ambari UI..

Getting following error From Ambari UI:

  **stderr:** 
  Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/PHD/3.0/services/HAWQ/package/scripts/service_check.py", line 9, in <module>
  HAWQServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 123, in execute
  method(env)
  File "/var/lib/ambari-agent/cache/stacks/PHD/3.0/services/HAWQ/package/scripts/service_check.py", line 6, in service_check
  hawq.verify_segments_state(env)
  File "/var/lib/ambari-agent/cache/stacks/PHD/3.0/services/HAWQ/package/scripts/hawq.py", line 20, in verify_segments_state
  raise Exception("gpstate command returned non-zero result: {0}. Out: {1} Error: {2}".format(retcode, out, err))
  Exception: gpstate command returned non-zero result: 255. Out:  Error: Permission denied, please try again.
  Permission denied, please try again.
  Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
  **stdout:**
  (255, '', 'Permission denied, please try again.\r\nPermission denied, please try again.\r\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic,password).\r\n')

Any help on it would be much appreciated ?

1 REPLY 1

Re: HAWQ service check Fails From Ambari

New Contributor

Hi @vij singh

I think root user is not authorized for passwordless login to the HAWQ master . Could you please make sure you have password less access for root and gpadmin user in the cluster .

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