From issues-return-23664-apmail-hive-issues-archive=hive.apache.org@hive.apache.org Sat Nov 7 23:16:11 2015 Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4EF741835F for ; Sat, 7 Nov 2015 23:16:11 +0000 (UTC) Received: (qmail 78517 invoked by uid 500); 7 Nov 2015 23:16:11 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 78494 invoked by uid 500); 7 Nov 2015 23:16:11 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 78485 invoked by uid 99); 7 Nov 2015 23:16:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Nov 2015 23:16:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E3B712C14E1 for ; Sat, 7 Nov 2015 23:16:10 +0000 (UTC) Date: Sat, 7 Nov 2015 23:16:10 +0000 (UTC) From: "Chaoyu Tang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-12365) Added resource path is sent to cluster as an empty string when externally removed 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-12365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995446#comment-14995446 ] Chaoyu Tang commented on HIVE-12365: ------------------------------------ testAddJarDataNucleusUnCaching failure could not be reproduced. The three failures are not related to this patch. > Added resource path is sent to cluster as an empty string when externally removed > --------------------------------------------------------------------------------- > > Key: HIVE-12365 > URL: https://issues.apache.org/jira/browse/HIVE-12365 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 1.2.1 > Reporter: Chaoyu Tang > Assignee: Chaoyu Tang > Attachments: HIVE-12365.patch, HIVE-12365.patch > > > Sometimes the resources (e.g. jar) added via command like "add jars " are removed externally from their filepath for some reasons. Their paths are sent to cluster as empty strings which causes the failures to the query that even do not need these jars in execution. The error look like as following: > {code} > 15/11/06 21:56:44 INFO mapreduce.JobSubmitter: Cleaning up the staging area file:/tmp/hadoop-ctang/mapred/staging/ctang734817191/.staging/job_local734817191_0003 > java.lang.IllegalArgumentException: Can not create a Path from an empty string > at org.apache.hadoop.fs.Path.checkPathArg(Path.java:127) > at org.apache.hadoop.fs.Path.(Path.java:135) > at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:215) > at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:390) > at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:483) > at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1296) > at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1293) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628) > at org.apache.hadoop.mapreduce.Job.submit(Job.java:1293) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)