Hive
  1. Hive
  2. HIVE-4546

Hive CLI leaves behind the per session resource directory on non-interactive invocation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: CLI
    • Labels:
      None

      Description

      As part of HIVE-4505, the resource directory is set to /tmp/$

      {hive.session.id}

      _resources and suppose to be removed at the end. The CLI fails to remove it when invoked using -f or -e (non-interactive mode)

      1. HIVE-4546-1.patch
        3 kB
        Prasad Mujumdar
      2. HIVE-4546-2.patch
        3 kB
        Prasad Mujumdar

        Issue Links

          Activity

          Hide
          Prasad Mujumdar added a comment -
          Show
          Prasad Mujumdar added a comment - Review request on https://reviews.apache.org/r/11083/
          Hide
          Prasad Mujumdar added a comment -
          Show
          Prasad Mujumdar added a comment - Review request on https://reviews.apache.org/r/11083/
          Hide
          Ashutosh Chauhan added a comment -

          Canceling patch since there are outstanding comments on RB for current patch.

          Show
          Ashutosh Chauhan added a comment - Canceling patch since there are outstanding comments on RB for current patch.
          Hide
          Prasad Mujumdar added a comment -

          Thanks Ashutosh!
          Responded to review comments and Updated patch.

          Show
          Prasad Mujumdar added a comment - Thanks Ashutosh! Responded to review comments and Updated patch.
          Hide
          Ashutosh Chauhan added a comment -

          +1

          Show
          Ashutosh Chauhan added a comment - +1
          Hide
          Ashutosh Chauhan added a comment -

          Committed to trunk. Thanks, Prasad!

          Show
          Ashutosh Chauhan added a comment - Committed to trunk. Thanks, Prasad!
          Hide
          Hudson added a comment -

          Integrated in Hive-trunk-h0.21 #2128 (See https://builds.apache.org/job/Hive-trunk-h0.21/2128/)
          HIVE-4546 : Hive CLI leaves behind the per session resource directory on non-interactive invocation (Prasad Mujumdar via Ashutosh Chauhan) (Revision 1489431)

          Result = FAILURE
          hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1489431
          Files :

          • /hive/trunk/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java
          • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
          Show
          Hudson added a comment - Integrated in Hive-trunk-h0.21 #2128 (See https://builds.apache.org/job/Hive-trunk-h0.21/2128/ ) HIVE-4546 : Hive CLI leaves behind the per session resource directory on non-interactive invocation (Prasad Mujumdar via Ashutosh Chauhan) (Revision 1489431) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1489431 Files : /hive/trunk/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
          Hide
          Hudson added a comment -

          Integrated in Hive-trunk-hadoop2 #226 (See https://builds.apache.org/job/Hive-trunk-hadoop2/226/)
          HIVE-4546 : Hive CLI leaves behind the per session resource directory on non-interactive invocation (Prasad Mujumdar via Ashutosh Chauhan) (Revision 1489431)

          Result = ABORTED
          hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1489431
          Files :

          • /hive/trunk/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java
          • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
          Show
          Hudson added a comment - Integrated in Hive-trunk-hadoop2 #226 (See https://builds.apache.org/job/Hive-trunk-hadoop2/226/ ) HIVE-4546 : Hive CLI leaves behind the per session resource directory on non-interactive invocation (Prasad Mujumdar via Ashutosh Chauhan) (Revision 1489431) Result = ABORTED hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1489431 Files : /hive/trunk/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
          Hide
          Ashutosh Chauhan added a comment -

          This issue has been fixed and released as part of 0.12 release. If you find further issues, please create a new jira and link it to this one.

          Show
          Ashutosh Chauhan added a comment - This issue has been fixed and released as part of 0.12 release. If you find further issues, please create a new jira and link it to this one.

            People

            • Assignee:
              Prasad Mujumdar
              Reporter:
              Prasad Mujumdar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development