hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-324) AccessControlException when load data into table
Date Wed, 08 Apr 2009 01:27:13 GMT

     [ https://issues.apache.org/jira/browse/HIVE-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zheng Shao updated HIVE-324:
----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.3.0)
                   0.4.0
                   0.3.1
     Release Note: HIVE-324. Fix AccessControlException when loading data. (Ashish Thusoo
via zshao)
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Thanks Ashish!

> AccessControlException when load data into table
> ------------------------------------------------
>
>                 Key: HIVE-324
>                 URL: https://issues.apache.org/jira/browse/HIVE-324
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>            Assignee: Min Zhou
>            Priority: Blocker
>             Fix For: 0.3.1, 0.4.0
>
>         Attachments: hive.patch, patch-324.txt, patch-324_2.txt
>
>
> when loading data in non-supergroup user of hadoop,  hadoop will throw a AccessControlException
bacuase Hive try to do write operation at  /tmp directory.
> This is obviously not allowed.
> see line 752 in Hive.java
> Path tmppath = new Path("/tmp/"+randGen.nextInt());
>       try {
>           fs.mkdirs(tmppath);
>       ...
>     }
> those lines will cause that exception. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message