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