Hive
  1. Hive
  2. HIVE-3202

Add hive command for resetting hive confs

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Configuration
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      For the purpose of optimization we set various configs per query. It's worthy but all those configs should be reset every time for next query.

      Just simple reset command would make it less painful.

      1. HIVE-3202.patch.txt
        4 kB
        Edward Capriolo

        Activity

        Hide
        Navis added a comment -
        Show
        Navis added a comment - https://reviews.facebook.net/D3837
        Hide
        Edward Capriolo added a comment -

        +1 will commit it tests pass.

        Show
        Edward Capriolo added a comment - +1 will commit it tests pass.
        Hide
        Edward Capriolo added a comment -

        set message=Thanks Navis.;
        reset;

        Show
        Edward Capriolo added a comment - set message=Thanks Navis.; reset;
        Hide
        Hudson added a comment -

        Integrated in Hive-trunk-h0.21 #1546 (See https://builds.apache.org/job/Hive-trunk-h0.21/1546/)
        HIVE-3202 Add reset command for resetting configuration. Navis Ryu (via egc) (Revision 1362329)

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

        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/processors/CommandProcessorFactory.java
        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/processors/ResetProcessor.java
        • /hive/trunk/ql/src/test/queries/clientpositive/reset_conf.q
        • /hive/trunk/ql/src/test/results/clientpositive/reset_conf.q.out
        Show
        Hudson added a comment - Integrated in Hive-trunk-h0.21 #1546 (See https://builds.apache.org/job/Hive-trunk-h0.21/1546/ ) HIVE-3202 Add reset command for resetting configuration. Navis Ryu (via egc) (Revision 1362329) Result = FAILURE ecapriolo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1362329 Files : /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/processors/CommandProcessorFactory.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/processors/ResetProcessor.java /hive/trunk/ql/src/test/queries/clientpositive/reset_conf.q /hive/trunk/ql/src/test/results/clientpositive/reset_conf.q.out
        Hide
        Hudson added a comment -

        Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/)
        HIVE-3202 Add reset command for resetting configuration. Navis Ryu (via egc) (Revision 1362329)

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

        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/processors/CommandProcessorFactory.java
        • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/processors/ResetProcessor.java
        • /hive/trunk/ql/src/test/queries/clientpositive/reset_conf.q
        • /hive/trunk/ql/src/test/results/clientpositive/reset_conf.q.out
        Show
        Hudson added a comment - Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/ ) HIVE-3202 Add reset command for resetting configuration. Navis Ryu (via egc) (Revision 1362329) Result = ABORTED ecapriolo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1362329 Files : /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/processors/CommandProcessorFactory.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/processors/ResetProcessor.java /hive/trunk/ql/src/test/queries/clientpositive/reset_conf.q /hive/trunk/ql/src/test/results/clientpositive/reset_conf.q.out
        Hide
        Ashutosh Chauhan added a comment -

        This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

        Show
        Ashutosh Chauhan added a comment - This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

          People

          • Assignee:
            Navis
            Reporter:
            Navis
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development