ERROR: "java.io.IOException: Not a file" while running Hive

2 views
Skip to first unread message

ritch...@abrs.com.hk

unread,
Oct 14, 2018, 8:02:48 AM10/14/18
to Machine Intelligence and Data Science WonderCorp



I fixed with moving the data from an interim folder location:  eg. /tmp/hive/..... to eg. /tmp/hive/test   where test is the leaf node in the tree.

Also avoid saving it I tmp folder, which may be flushed by other systems:

HDFS /tmp directory mainly used as a temporary storage during mapreduce operation. Mapreduce artifacts, intermediate data etc will be kept under this directory. These files will be automatically cleared out when mapreduce job execution completes. If you delete this temporary files, it can affect the currently running mapreduce jobs. 


https://community.hortonworks.com/questions/55496/safe-to-delete-under-tmp-in-hdfs-how-about-tmphive.html


Reply all
Reply to author
Forward
0 new messages