[ 
https://issues.apache.org/jira/browse/HIVE-11091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14599306#comment-14599306
 ] 

Manoranjan Sahoo commented on HIVE-11091:
-----------------------------------------

Exception stack trace
===================
org.apache.hadoop.hive.ql.metadata.HiveException: addFiles: filesystem error in 
check phase
        at org.apache.hadoop.hive.ql.exec.MoveTask.execute(MoveTask.java:270)
        at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
        at 
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85)
        at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1606)
        at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1367)
        at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1179)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1006)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:996)
        at 
org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:247)
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:199)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:410)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:345)
        at 
org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:443)
        at org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:459)
        at 
org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:739)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:677)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:616)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.io.IOException: Error accessing 
file:/tmp/its_saga_upload_rt8_dat_1
        at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1510)
        at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1548)
        at 
org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:574)
        at org.apache.hadoop.hive.ql.exec.MoveTask.execute(MoveTask.java:262)
        ... 22 more

FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.MoveTask
15/06/24 09:02:57 [main]: ERROR ql.Driver: FAILED: Execution Error, return code 
1 from org.apache.hadoop.hive.ql.exec.MoveTask


> 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)

Reply via email to