Deng ZiWu created HIVE-21873:
--------------------------------

             Summary: Hive Cann't drop table in different hdfs clusters
                 Key: HIVE-21873
                 URL: https://issues.apache.org/jira/browse/HIVE-21873
             Project: Hive
          Issue Type: Bug
          Components: Metastore
    Affects Versions: 2.3.5, 2.3.4, 2.3.2, 2.3.1, 2.3.0, 2.3.3
            Reporter: Deng ZiWu


Hive Cann't drop table in different hdfs clusters

org.apache.hadoop.hive.metastore.HiveMetaStore

in method

checkTrashPurgeCombination()

ShimLoader.getHadoopShims().createHdfsEncryptionShim(FileSystem.get(hiveConf), 
hiveConf);

 

should be

ShimLoader.getHadoopShims().createHdfsEncryptionShim(wh.getFs(pathToData), 
hiveConf);

 

Because you want to delete the target fs data, not the default fs data



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to