[ https://issues.apache.org/jira/browse/HIVE-6200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948399#comment-13948399 ]
Alan Gates commented on HIVE-6200: ---------------------------------- Build failed with {code} [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /grid/0/hortonal/ptest/working_dir/working/apache-github-source/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:[788,9] cannot find symbol symbol : variable FileUtil location: class org.apache.hadoop.hive.ql.session.SessionState [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Hive .............................................. SUCCESS [52.644s] [INFO] Hive Ant Utilities ................................ SUCCESS [8.526s] [INFO] Hive Shims Common ................................. SUCCESS [18.758s] [INFO] Hive Shims 0.20 ................................... SUCCESS [20.058s] [INFO] Hive Shims Secure Common .......................... SUCCESS [4.372s] [INFO] Hive Shims 0.20S .................................. SUCCESS [1.443s] [INFO] Hive Shims 0.23 ................................... SUCCESS [48.812s] [INFO] Hive Shims ........................................ SUCCESS [0.227s] [INFO] Hive Common ....................................... SUCCESS [2.576s] [INFO] Hive Serde ........................................ SUCCESS [3.588s] [INFO] Hive Metastore .................................... SUCCESS [19.850s] [INFO] Hive Query Language ............................... FAILURE [23.695s] {code} > 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)