You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/03/25 18:12:16 UTC

[jira] [Commented] (HIVE-6200) Hive custom SerDe cannot load DLL added by "ADD FILE" command

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

Ashutosh Chauhan commented on HIVE-6200:
----------------------------------------

+1

> 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, HIVE-6200.2.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.2#6252)