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

Rishabh Bhardwaj updated HIVE-6509:
-----------------------------------

    Description: 
I have created a external table and when I provide the location of the data for 
this table I get the following error:

FAILED: Error in metadata: 
MetaException(message:java.lang.IllegalStateException: Can't overwrite cause)
FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.DDLTask

Also I am able to load the same file using PIG Script using the PigStorage() 
loader function.

I have the following permissions on the file: -rw-rw-r-- 
and on the folder where this file resides (Giving the path of this folder in 
location in the query ) : drwxrwxr-x 

What can be the cause for this and how to correct this error ?

  was:
I have created a external table and when I provide the location of the data for 
this table I get the following error:

FAILED: Error in metadata: 
MetaException(message:java.lang.IllegalStateException: Can't overwrite cause)
FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.DDLTask

Also I am able to load the same file using PIG Script using the PigStorage() 
loader function.

I have the following permissions on the file: -rw -rw - r-- 
and on the folder where this file resides (Giving the path of this folder in 
location in the query ) : drwxrwxr-x 

What can be the cause for this and how to correct this error ?


> Error in metadata: MetaException(message:java.lang.IllegalStateException: 
> Can't overwrite cause)
> ------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-6509
>                 URL: https://issues.apache.org/jira/browse/HIVE-6509
>             Project: Hive
>          Issue Type: Task
>            Reporter: Rishabh Bhardwaj
>              Labels: newbie
>
> I have created a external table and when I provide the location of the data 
> for this table I get the following error:
> FAILED: Error in metadata: 
> MetaException(message:java.lang.IllegalStateException: Can't overwrite cause)
> FAILED: Execution Error, return code 1 from 
> org.apache.hadoop.hive.ql.exec.DDLTask
> Also I am able to load the same file using PIG Script using the PigStorage() 
> loader function.
> I have the following permissions on the file: -rw-rw-r-- 
> and on the folder where this file resides (Giving the path of this folder in 
> location in the query ) : drwxrwxr-x 
> What can be the cause for this and how to correct this error ?



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

Reply via email to