You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Manoranjan Sahoo (JIRA)" <ji...@apache.org> on 2015/06/24 12:27:04 UTC
[jira] [Created] (HIVE-11091) Unable to load data into hive table
using "Load data local inapth" command from unix named pipe
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)