hive-dev 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-6200) Hive custom SerDe cannot load DLL added by "ADD FILE" command
Date Wed, 15 Jan 2014 11:44:20 GMT

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

Hive QA commented on HIVE-6200:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12623035/HIVE-6200.1.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 4925 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority
{noformat}

Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/918/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/918/console

Messages:
{noformat}
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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12623035

> Hive custom SerDe cannot load DLL added by "ADD FILE" command
> -------------------------------------------------------------
>
>                 Key: HIVE-6200
>                 URL: https://issues.apache.org/jira/browse/HIVE-6200
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Shuaishuai Nie
>            Assignee: Shuaishuai Nie
>         Attachments: HIVE-6200.1.patch
>
>
> When custom SerDe need to load a DLL file added using "ADD FILE" command in HIVE, the
loading fail with exception like "java.lang.UnsatisfiedLinkError:C:\tmp\admin2_6996@headnode0_201401100431_resources\hello.dll:
Access is denied". 
> The reason is when FileSystem creating local copy of the file, the permission of local
file is set to default as "666". DLL file need "execute" permission to be loaded successfully.
> Similar scenario also happens when Hadoop localize files in distributed cache. The solution
in Hadoop is to add "execute" permission to the file after localizationl.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message