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 C65D510C11 for ; Wed, 26 Feb 2014 01:07:24 +0000 (UTC) Received: (qmail 65549 invoked by uid 500); 26 Feb 2014 01:07:20 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 65468 invoked by uid 500); 26 Feb 2014 01:07:20 -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 65448 invoked by uid 500); 26 Feb 2014 01:07:19 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 65442 invoked by uid 99); 26 Feb 2014 01:07:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2014 01:07:19 +0000 Date: Wed, 26 Feb 2014 01:07:19 +0000 (UTC) From: "Hari Sankar Sivarama Subramaniyan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Updated]_(HIVE-6137)_Hive_?= =?utf-8?Q?should_report_that_the_file/path_d?= =?utf-8?Q?oesn=E2=80=99t_exist_when_it_doesn=E2=80=99t_(it_n?= =?utf-8?Q?ow_reports_SocketTimeoutException)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6137?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Hari Sankar Sivarama Subramaniyan updated HIVE-6137: ---------------------------------------------------- Attachment: HIVE-6137.2.patch cc-ing [~thejas] for review. I have made changes in HiveMetaStore to throw = a MetaException which gets caught at the client side. > Hive should report that the file/path doesn=E2=80=99t exist when it doesn= =E2=80=99t (it now reports SocketTimeoutException) > -------------------------------------------------------------------------= ---------------------------------- > > Key: HIVE-6137 > URL: https://issues.apache.org/jira/browse/HIVE-6137 > Project: Hive > Issue Type: Bug > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Hari Sankar Sivarama Subramaniyan > Attachments: HIVE-6137.1.patch, HIVE-6137.2.patch > > > Hive should report that the file/path doesn=E2=80=99t exist when it doesn= =E2=80=99t (it now reports SocketTimeoutException): > Execute a Hive DDL query with a reference to a non-existent blob (such as= CREATE EXTERNAL TABLE...) and check Hive logs (stderr): > FAILED: Error in metadata: org.apache.thrift.transport.TTransportExceptio= n: java.net.SocketTimeoutException: Read timed out > FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exe= c.DDLTask > This error message is not intuitive. If a file doesn't exist, Hive should= report FileNotFoundException -- This message was sent by Atlassian JIRA (v6.1.5#6160)