You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ergin Demirel (JIRA)" <ji...@apache.org> on 2016/01/19 22:47:39 UTC

[jira] [Commented] (HIVE-1633) CombineHiveInputFormat fails with "cannot find dir for emptyFile"

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

Ergin Demirel commented on HIVE-1633:
-------------------------------------

We are still getting error message when trying to load empty table/file running on local mode. 
Tried adding "file://" in front of the path though it didn't help. Can someone please clarify the solution here? 

Hive Version: 0.10.0+121-1.cdh4.3.0.p0.16~precise-cdh4.3.0

Thanks

{code}
java.io.FileNotFoundException: File does not exist: /tmp/hdfs/hive_2016-01-19_21-40-07_727_4067638808884572526/-mr-10000/1/emptyFile
    at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:807)
    at org.apache.hadoop.mapred.lib.CombineFileInputFormat$OneFileInfo.<init>(CombineFileInputFormat.java:462)
    at org.apache.hadoop.mapred.lib.CombineFileInputFormat.getMoreSplits(CombineFileInputFormat.java:256)
    at org.apache.hadoop.mapred.lib.CombineFileInputFormat.getSplits(CombineFileInputFormat.java:212)
    at org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:411)
    at org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:377)
    at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:387)
    at org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:1091)
    at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1083)
    at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:174)
    at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:993)
    at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:946)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
    at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:946)
    at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:920)
    at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:448)
    at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:690)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
Job Submission failed with exception 'java.io.FileNotFoundException(File does not exist: /tmp/hdfs/hive_2016-01-19_21-40-07_727_4067638808884572526/-mr-10000/1/emptyFile)'
Execution failed with exit status: 1
{code}

> CombineHiveInputFormat fails with "cannot find dir for emptyFile"
> -----------------------------------------------------------------
>
>                 Key: HIVE-1633
>                 URL: https://issues.apache.org/jira/browse/HIVE-1633
>             Project: Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Sreekanth Ramakrishnan
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1633.patch
>
>




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