Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21904

https://issues.apache.org/jira/browse/HIVE-21873?filter=-2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5
    • None
    • Metastore
    • None
    • Patch

    Description

      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

      Attachments

        1. HIVE-21094.branch-1.patch
          1.0 kB
          Deng ZiWu

        Activity

          People

            Unassigned Unassigned
            ico01 Deng ZiWu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: