Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6DAE1038C for ; Thu, 27 Mar 2014 15:53:25 +0000 (UTC) Received: (qmail 45027 invoked by uid 500); 27 Mar 2014 15:53:20 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 44928 invoked by uid 500); 27 Mar 2014 15:53:19 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 44904 invoked by uid 500); 27 Mar 2014 15:53:17 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 44890 invoked by uid 99); 27 Mar 2014 15:53:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 15:53:16 +0000 Date: Thu, 27 Mar 2014 15:53:16 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6200) Hive custom SerDe cannot load DLL added by "ADD FILE" command MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-6200: ----------------------------------- Resolution: Fixed Fix Version/s: 0.14.0 Status: Resolved (was: Patch Available) Committed to trunk. Thanks, Shuaishuai! > 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 > Fix For: 0.14.0 > > Attachments: HIVE-6200.1.patch, HIVE-6200.2.patch, HIVE-6200.3.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)