You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Deng ZiWu (JIRA)" <ji...@apache.org> on 2019/06/14 07:55:00 UTC
[jira] [Created] (HIVE-21873) Hive Cann't drop table in different
hdfs clusters
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)