FAQ
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
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.

Search Discussions

  • Ashish Thusoo (JIRA) at Sep 5, 2008 at 6:09 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ashish Thusoo updated HADOOP-4089:
    ----------------------------------

    Component/s: contrib/hive
    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.
  • Doug Cutting (JIRA) at Sep 5, 2008 at 8:11 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628718#action_12628718 ]

    Doug Cutting commented on HADOOP-4089:
    --------------------------------------

    Elsewhere in Hadoop we have avoided the use of /tmp, since it is error-prone (it may not exist, it may not be large, etc.). What's the justification for using it here?
    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.
  • Ashish Thusoo (JIRA) at Sep 6, 2008 at 7:17 am
    [ 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.
  • Chad Whipkey (JIRA) at Sep 15, 2008 at 5:36 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631075#action_12631075 ]

    Chad Whipkey commented on HADOOP-4089:
    --------------------------------------

    I think that rather than creating it, it would be fine to just print a nice error message if the directory does not exist.
    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.
  • Ashish Thusoo (JIRA) at Oct 27, 2008 at 7:40 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ashish Thusoo updated HADOOP-4089:
    ----------------------------------

    Fix Version/s: 0.19.0

    Fixed as part of JIRA-4230
    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
    Fix For: 0.19.0


    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.
  • Ashish Thusoo (JIRA) at Oct 27, 2008 at 7:42 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ashish Thusoo resolved HADOOP-4089.
    -----------------------------------

    Resolution: Fixed

    Fixed as part of JIRA-4230
    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
    Fix For: 0.19.0


    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedSep 5, '08 at 6:09p
activeOct 27, '08 at 7:42p
posts7
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Ashish Thusoo (JIRA): 7 posts

People

Translate

site design / logo © 2022 Grokbase