hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16960) Hive throws an ugly error exception when HDFS sticky bit is set
Date Thu, 06 Jul 2017 15:00:02 GMT

    [ https://issues.apache.org/jira/browse/HIVE-16960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076651#comment-16076651
] 

Hive QA commented on HIVE-16960:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12875933/HIVE16960.2.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 9 failed/errored test(s), 10833 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[create_merge_compressed] (batchId=238)
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[insert_overwrite_local_directory_1]
(batchId=238)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=143)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[orc_ppd_basic] (batchId=140)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=145)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=233)
org.apache.hive.hcatalog.api.TestHCatClient.testPartitionRegistrationWithCustomSchema (batchId=177)
org.apache.hive.hcatalog.api.TestHCatClient.testPartitionSpecRegistrationWithCustomSchema
(batchId=177)
org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation (batchId=177)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/5910/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/5910/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-5910/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 9 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12875933 - PreCommit-HIVE-Build

> 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
>    Affects Versions: 3.0.0
>            Reporter: Janaki Lahorani
>            Assignee: Janaki Lahorani
>            Priority: Critical
>              Labels: newbie
>             Fix For: 3.0.0
>
>         Attachments: HIVE16960.1.patch, HIVE16960.2.patch, HIVE16960.2.patch
>
>
> 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)

Mime
View raw message