hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoranjan Sahoo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-11091) Unable to load data into hive table using "Load data local inapth" command from unix named pipe
Date Wed, 24 Jun 2015 10:27:04 GMT
Manoranjan Sahoo created HIVE-11091:
---------------------------------------

             Summary: Unable to load data into hive table using "Load data local inapth" command
from unix named pipe
                 Key: HIVE-11091
                 URL: https://issues.apache.org/jira/browse/HIVE-11091
             Project: Hive
          Issue Type: Bug
          Components: Hive
    Affects Versions: 0.14.0
         Environment: Unix,MacOS
            Reporter: Manoranjan Sahoo
            Priority: Blocker


Unable to load data into hive table from unix named pipe in Hive 0.14.0 

Please find below the execution details in env ( Hadoop2.6.0 + Hive 0.14.0):
----------------------------------------------------------------------------------------------------
$ mkfifo /tmp/test.txt
$ hive
hive> create table test(id bigint,name string);
OK
Time taken: 1.018 seconds
hive> LOAD DATA LOCAL INPATH '/tmp/test.txt' OVERWRITE INTO TABLE test;
Loading data to table default.test
Failed with exception addFiles: filesystem error in check phase
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

But in Hadoop 1.3 and hive 0.11.0  it works fine:
hive> LOAD DATA LOCAL INPATH '/tmp/test.txt' OVERWRITE INTO TABLE test;
Copying data from file:/tmp/test.txt
Copying file: file:/tmp/test.txt



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message