Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
private Table instantiateHiveTable(ObjectPath tablePath, CatalogBaseTable table, String location, boolean useRealTimeInputFormat) throws IOException { // let Hive set default parameters for us, e.g. serialization.format Table hiveTable = org.apache.hadoop.hive.ql.metadata.Table.getEmptyTable( tablePath.getDatabaseName(), tablePath.getObjectName()); hiveTable.setOwner(UserGroupInformation.getCurrentUser().getUserName()); ...... return hiveTable; }
Under kerberos environment, I found that owner of table may beĀ like `hive/devops-hadoop3-krb-node1@DTSTACK.COM` now.
But owner of hive table in kerberos should be like 'hive' or 'hdfs'.
Attachments
Issue Links
- links to