Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9205

Change default tez install directory to use /tmp instead of /user and create the directory if it does not exist

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0, 0.15.0
    • Fix Version/s: 1.0.0
    • Component/s: Tez
    • Labels:
      None

      Description

      The common deployment scenario is to install the packages and start services. Creating the /user/<user> directory is currently an extra step during manual installation. In case the user tries to bring up the hive shell with tez enabled, this would result in an exception. The solution is to change the default install directory to /tmp (so that we have the permissions to create the directory /tmp/<user>) and create the /tmp/<user> directory if it did not exist earlier.

      1. HIVE-9205.1.patch
        2 kB
        Vikram Dixit K
      2. HIVE-9205.2.patch
        1 kB
        Vikram Dixit K

        Activity

        Hide
        thejas Thejas M Nair added a comment -

        This issue has been fixed in Apache Hive 1.0.0. If there is any issue with the fix, please open a new jira to address it.

        Show
        thejas Thejas M Nair added a comment - This issue has been fixed in Apache Hive 1.0.0. If there is any issue with the fix, please open a new jira to address it.
        Hide
        thejas Thejas M Nair added a comment -

        Updating release version for jiras resolved in 1.0.0 .

        Show
        thejas Thejas M Nair added a comment - Updating release version for jiras resolved in 1.0.0 .
        Hide
        leftylev Lefty Leverenz added a comment -

        Thanks Vikram Dixit K. Happy New Year!

        Show
        leftylev Lefty Leverenz added a comment - Thanks Vikram Dixit K . Happy New Year!
        Hide
        vikram.dixit Vikram Dixit K added a comment -

        Lefty Leverenz There is no change needed in the documentation. Only change is to try to create the directory if it did not exist.

        Show
        vikram.dixit Vikram Dixit K added a comment - Lefty Leverenz There is no change needed in the documentation. Only change is to try to create the directory if it did not exist.
        Hide
        leftylev Lefty Leverenz added a comment -

        Does this need any documentation?

        Show
        leftylev Lefty Leverenz added a comment - Does this need any documentation? Hive on Tez – Installation and Configuration
        Hide
        vikram.dixit Vikram Dixit K added a comment -

        Committed to trunk and branch 0.14.

        Show
        vikram.dixit Vikram Dixit K added a comment - Committed to trunk and branch 0.14.
        Hide
        hagleitn Gunther Hagleitner added a comment -

        +1

        Show
        hagleitn Gunther Hagleitner added a comment - +1
        Hide
        prasanth_j Prasanth Jayachandran added a comment -

        +1

        Show
        prasanth_j Prasanth Jayachandran added a comment - +1
        Hide
        vikram.dixit Vikram Dixit K added a comment -

        Test failure is unrelated. Prasanth Jayachandran Gunther Hagleitner can you take a look.

        Show
        vikram.dixit Vikram Dixit K added a comment - Test failure is unrelated. Prasanth Jayachandran Gunther Hagleitner can you take a look.
        Hide
        hiveqa Hive QA added a comment -

        Overall: -1 at least one tests failed

        Here are the results of testing the latest attachment:
        https://issues.apache.org/jira/secure/attachment/12688949/HIVE-9205.2.patch

        ERROR: -1 due to 1 failed/errored test(s), 6722 tests executed
        Failed tests:

        org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_optimize_nullscan
        

        Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2186/testReport
        Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2186/console
        Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2186/

        Messages:

        Executing org.apache.hive.ptest.execution.PrepPhase
        Executing org.apache.hive.ptest.execution.ExecutionPhase
        Executing org.apache.hive.ptest.execution.ReportingPhase
        Tests exited with: TestsFailedException: 1 tests failed
        

        This message is automatically generated.

        ATTACHMENT ID: 12688949 - PreCommit-HIVE-TRUNK-Build

        Show
        hiveqa Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12688949/HIVE-9205.2.patch ERROR: -1 due to 1 failed/errored test(s), 6722 tests executed Failed tests: org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_optimize_nullscan Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2186/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2186/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2186/ Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed This message is automatically generated. ATTACHMENT ID: 12688949 - PreCommit-HIVE-TRUNK-Build
        Hide
        vikram.dixit Vikram Dixit K added a comment -

        Removed the configuration change.

        Show
        vikram.dixit Vikram Dixit K added a comment - Removed the configuration change.

          People

          • Assignee:
            vikram.dixit Vikram Dixit K
            Reporter:
            vikram.dixit Vikram Dixit K
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development