Question & Answer
Question
During the installation of Execution Engine for Hadoop 2.1 on Cloudera cluster, following error occurred.
Exception: Pre checks failed Traceback (most recent call last):
File "/opt/ibm/dsxhi/bin/util/prechecks.py", line 342, in <module>
prechecks_logger.error("Error: both webhcat.proxyuser.{}.hosts and webhcat.proxyuser.{}.groups have to be set").format(g.dsxhi_serviceuser,g.dsxhi_serviceuser)
File "/opt/ibm/dsxhi/bin/util/prechecks.py", line 342, in <module>
prechecks_logger.error("Error: both webhcat.proxyuser.{}.hosts and webhcat.proxyuser.{}.groups have to be set").format(g.dsxhi_serviceuser,g.dsxhi_serviceuser)
How to resolve this error?
Cause
This error caused by improper setting of WebHCAT proxy user on Cloudera cluster.
Answer
You need to configure the WebHCAT proxy user setting correctly to solve this issue. Following is the steps to webhcat.proxyuser attributes on Cloudera cluster.
- Open Hive configuration in Cloudera Manager
- Search for webhcat-site.xml and add following setting:
- webhcat.proxyuser.dsxhi.hosts: edge node host name
- webhcat.proxyuser.dsxhi.groups: service username

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHGWL","label":"IBM Watson Studio Local"},"ARM Category":[{"code":"a8m0z0000004DCEAA2","label":"Admin->Hadoop Integration"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
06 May 2020
UID
ibm16202744