HCatalog
  1. HCatalog
  2. HCATALOG-141

drop database fails in unsecure mode with permission denied error

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      hcat user is the user hcat server is running as. The db dir got created using that username instead of the user who invoked the command. But the 'drop database' command still fails.

      $ hadoop fs -ls /user/hortonth/dbdir/|grep testdb
      Warning: $HADOOP_HOME is deprecated.
      
      drwx------   - hcat supergroup          0 2011-10-24 20:58 /user/hortonth/dbdir/testdb.db
      
      $ hcat    -e 'drop database testdb;'
      Hive history file=/tmp/hortonth/hive_job_log_hortonth_201110242105_891466409.txt
      FAILED: Error in semantic analysis: org.apache.hcatalog.common.HCatException : 3000 : Permission denied
      
      

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development