[
https://issues.apache.org/jira/browse/HADOOP-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628845#action_12628845
]
Ashish Thusoo commented on HADOOP-4089:
---------------------------------------
We have actually not hard coded this in the code. The scratch directory that
the hive client side code uses is stored in the hive-default.xml and the
hive-default.xml file contains /tmp/hive-${user.name} as the value of the
hive.exec.scratchdir property.
This is completely modeled on how hadoop defines hadoop.tmp.dir in the
hadoop-default.xml.
> Check if the tmp file used in the CLI exists before using it.
> -------------------------------------------------------------
>
> Key: HADOOP-4089
> URL: https://issues.apache.org/jira/browse/HADOOP-4089
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/hive
> Reporter: Ashish Thusoo
>
> Currently the CLI needs /tmp/<user-name> directory to be present, otherwise
> it gives an error.
> We should create it automatically when we launch the CLI.
> This was reported by Chad.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.