You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Janaki Lahorani (JIRA)" <ji...@apache.org> on 2017/06/26 16:29:00 UTC

[jira] [Assigned] (HIVE-16960) Hive throws an ugly error exception when HDFS sticky bit is set

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

Janaki Lahorani reassigned HIVE-16960:
--------------------------------------

    Assignee: Janaki Lahorani

> Hive throws an ugly error exception when HDFS sticky bit is set
> ---------------------------------------------------------------
>
>                 Key: HIVE-16960
>                 URL: https://issues.apache.org/jira/browse/HIVE-16960
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Janaki Lahorani
>            Assignee: Janaki Lahorani
>            Priority: Critical
>
> When calling LOAD DATA INPATH ... OVERWRITE INTO TABLE ... from a Hive user other than the HDFS file owner, and the HDFS sticky bit is set, then Hive will throw an error exception message that the file cannot be moved due to permission issues.
> Caused by: org.apache.hadoop.security.AccessControlException: Permission denied by sticky bit setting: user=hive, inode=sasdata-2016-04-20-17-13-43-630-e-00001.dlv.bk
> The permission denied is expected, but the error message does not make sense to users + the stack trace displayed is huge. We should display a better error message to users, and maybe provide with help information about how to fix it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)