IBM Support

Precheck Error on WebHCAT setting during installation of Execution Engine for Hadoop 2.1

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)

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.
  1. Open Hive configuration in Cloudera Manager
  2. Search for webhcat-site.xml and add following setting:
  • webhcat.proxyuser.dsxhi.hosts: edge node host name
  • webhcat.proxyuser.dsxhi.groups: service username
image 3101

[{"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"}}]

Document Information

Modified date:
06 May 2020

UID

ibm16202744