hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6137) Hive should report that the file/path doesn’t exist when it doesn’t
Date Thu, 27 Feb 2014 19:17:20 GMT

     [ https://issues.apache.org/jira/browse/HIVE-6137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hari Sankar Sivarama Subramaniyan updated HIVE-6137:
----------------------------------------------------

    Description: 
Hive should report that the file/path doesn’t exist when it doesn’t (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: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got
exception: java.io.IOException No FileSystem for scheme: wasb)

This error message is not detailed enough. If a file doesn't exist, Hive should report FileNotFoundException

  was:
Hive should report that the file/path doesn’t exist when it doesn’t (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.TTransportException: java.net.SocketTimeoutException:
Read timed out
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

This error message is not intuitive. If a file doesn't exist, Hive should report FileNotFoundException


> Hive should report that the file/path doesn’t exist when it doesn’t
> -------------------------------------------------------------------
>
>                 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’t exist when it doesn’t (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: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got
exception: java.io.IOException No FileSystem for scheme: wasb)
> This error message is not detailed enough. If a file doesn't exist, Hive should report
FileNotFoundException



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message