Skip to main content

Hive returns "Null real user" exception.

  • February 19, 2022
  • 0 replies
  • 65 views

AkshayJadhav
StreamSets Employee
Forum|alt.badge.img

Issue:

Hive Metastore stage returns following exception:

Stage 'HiveMetastore_01' initialization error: java.lang.IllegalArgumentException: Null real user Pipeline <user> 0 preview-pool-1-thread-4 java.lang.IllegalArgumentException: Null real user at org.apache.hadoop.security.UserGroupInformation.createProxyUser(UserGroupInformation.java:1484) at com.streamsets.datacollector.security.HadoopSecurityUtil.getProxyUser(HadoopSecurityUtil.java:81)

 

Solution:

According to the stack trace, it seems that you may need to specify a proxy user in the JDBC URL string.

You can find more information about configuring a proxy user for Hive in our knowledgebase articles: How to configure impersonation of a Hive user over JDBC or Difference between impersonation in HDFS and HiveServer2 within the context of SDC

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply