Support Questions

Find answers, ask questions, and share your expertise
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement

Hive: FAILED: RuntimeException Cannot make directory: file

avatar
Rising Star

Error:

 Cannot make directory: file:/tmp/hive/556db67b-0771-41f8-855e-aa632ede9aae/hive_2016-03-21_14-33-29_569_1154979982369972031-1 [ERROR_STATUS]
3 REPLIES 3

avatar
Super Collaborator

try this command:

chmod 777 /tmp/hive

avatar
Rising Star

@prswamy t

Please check the property hive.exec.scratchdir in hive-site.xml along with permissions and user/group ownership set for it.

# grep -A 2 hive.exec.scratchdir /etc/hive/conf/hive-site.xml 

avatar
New Member

The error is because of the Hive server is filling up the logs in Hive node, so it is not able to create or write the file in the /var/log/hive directory.