Hive
  1. Hive
  2. HIVE-3666

implement a udf to keep hive session alive for certain amount of time

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: UDF
    • Labels:
      None

      Description

      To make testing issues like HIVE-3590 convenient, we can implement a UDF to keep hive session alive for a given time. The patch introduce a new UDF sleep() which does this without introducing any data/load to cluster.

      1. HIVE-3666.patch
        5 kB
        Johnny Zhang
      2. HIVE-3666.patch
        5 kB
        Johnny Zhang

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        27s 1 Johnny Zhang 03/Nov/12 00:30
        Patch Available Patch Available Open Open
        246d 15h 23m 1 Edward Capriolo 07/Jul/13 16:54
        Edward Capriolo made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Hide
        Edward Capriolo added a comment -

        We should really have a .q file here. IT is easy to miss things in generic udfs without an end to end test.

        Show
        Edward Capriolo added a comment - We should really have a .q file here. IT is easy to miss things in generic udfs without an end to end test.
        Ashutosh Chauhan made changes -
        Fix Version/s 0.10.0 [ 12320745 ]
        Hide
        Mark Grover added a comment -

        Overall +1, minor comment in the description section

        Show
        Mark Grover added a comment - Overall +1, minor comment in the description section
        Johnny Zhang made changes -
        Attachment HIVE-3666.patch [ 12552916 ]
        Hide
        Johnny Zhang added a comment -

        Shreepadma Venugopalan, thanks for remind, here is the review board link https://reviews.apache.org/r/7848/
        also upload the SVN diff 'HIVE-3666.patch'

        Show
        Johnny Zhang added a comment - Shreepadma Venugopalan , thanks for remind, here is the review board link https://reviews.apache.org/r/7848/ also upload the SVN diff ' HIVE-3666 .patch'
        Johnny Zhang made changes -
        Attachment HIVE-3666.patch [ 12551965 ]
        Johnny Zhang made changes -
        Attachment HIVE-3666.patch [ 12551953 ]
        Hide
        Shreepadma Venugopalan added a comment -

        @Johnny: Can you please provide a review board or phabricator review request for the patch? Thanks.

        Show
        Shreepadma Venugopalan added a comment - @Johnny: Can you please provide a review board or phabricator review request for the patch? Thanks.
        Johnny Zhang made changes -
        Attachment HIVE-3666.patch [ 12551953 ]
        Johnny Zhang made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Johnny Zhang created issue -

          People

          • Assignee:
            Johnny Zhang
            Reporter:
            Johnny Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:

              Development