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

when dropping external hive tables,hive metastore should not check the hdfs path write permission

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 1.2.1
    • None
    • Metastore
    • hive1.2.1 hadoop2.6

    Description

      1 user1 has readonly permission on hdfs path '/user/www/seller_shop_info';
      2 user1 create external table seller_shop_info on the hdfs path;
      3 user1 drop the exernal table seller_shop_info

      then problem occurred!

      hive> drop table seller_shop_info;
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Table metadata not deleted since hdfs://argo/user/www/seller_shop_info is not writable by user1)

      because when dropping external table,hive doesnot delete hdfs path,so hive metastore should not check the hdfs write permission

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wfeng1982 wangfeng
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified