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 03C1C18B6C for ; Mon, 25 Jan 2016 17:23:40 +0000 (UTC) Received: (qmail 47280 invoked by uid 500); 25 Jan 2016 17:23:39 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 47256 invoked by uid 500); 25 Jan 2016 17:23:39 -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 47244 invoked by uid 99); 25 Jan 2016 17:23:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2016 17:23:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C1A262C0AFA for ; Mon, 25 Jan 2016 17:23:39 +0000 (UTC) Date: Mon, 25 Jan 2016 17:23:39 +0000 (UTC) From: "Reuben Kuhnert (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12891) Hive fails when java.io.tmpdir is set to a relative location 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-12891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Reuben Kuhnert updated HIVE-12891: ---------------------------------- Attachment: HIVE-12891.04.patch > Hive fails when java.io.tmpdir is set to a relative location > ------------------------------------------------------------ > > Key: HIVE-12891 > URL: https://issues.apache.org/jira/browse/HIVE-12891 > Project: Hive > Issue Type: Bug > Reporter: Reuben Kuhnert > Assignee: Reuben Kuhnert > Attachments: HIVE-12891.01.19.2016.01.patch, HIVE-12891.03.patch, HIVE-12891.04.patch, HIVE-12981.01.22.2016.02.patch > > > The function {{SessionState.createSessionDirs}} fails when trying to create directories where {{java.io.tmpdir}} is set to a relative location. > {code} > \[uber-SubtaskRunner] ERROR o.a.h.hive..ql.Driver - FAILED: IllegalArgumentException java.net.URISyntaxException: Relative path in absolute URI: file:./tmp///hive_2015_12_11_09-12-25_352_4325234652356-1 > ... > Minor variations: > \[uber-SubtaskRunner] ERROR o.a.h.hive..ql.Driver - FAILED: SemanticException Exception while processing Exception while writing out the local file > o.a.h.hive.ql/parse.SemanticException: Exception while processing exception while writing out local file > ... > caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: file:./tmp///hive_2015_12_11_09-12-25_352_4325234652356-1 > at o.a.h.fs.Path.initialize (206) > at o.a.h.fs.Path.(197)... > at o.a.h.hive.ql.context.getScratchDir(267) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)