Hive
  1. Hive
  2. HIVE-2148

Add interface classification in Hive.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Metastore
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Add mechanism for marking stability and intended audiences in Hive.

      1. hive_2148.patch
        20 kB
        Ashutosh Chauhan
      2. classification.patch
        7 kB
        Ashutosh Chauhan

        Issue Links

          Activity

          Ashutosh Chauhan created issue -
          Hide
          Ashutosh Chauhan added a comment -


          I want to reuse few classes and methods that are currently private in Hive. Few Apache projects (HADOOP-5073, PIG-1311) have handled this problem of opening up few interfaces for particular projects through annotations. Same solution could be reused for Hive to open up few classes for HCatalog. Patch for adding these annotations and couple of illustrations on how to use them.

          Show
          Ashutosh Chauhan added a comment - I want to reuse few classes and methods that are currently private in Hive. Few Apache projects ( HADOOP-5073 , PIG-1311 ) have handled this problem of opening up few interfaces for particular projects through annotations. Same solution could be reused for Hive to open up few classes for HCatalog. Patch for adding these annotations and couple of illustrations on how to use them.
          Ashutosh Chauhan made changes -
          Field Original Value New Value
          Attachment classification.patch [ 12478098 ]
          Ashutosh Chauhan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Carl Steinbach made changes -
          Component/s Metastore [ 12312584 ]
          Hide
          Carl Steinbach added a comment -

          +1.

          Show
          Carl Steinbach added a comment - +1.
          Hide
          Ashutosh Chauhan added a comment -

          Thanks, Carl for the review. I will upload the final patch soon.

          Show
          Ashutosh Chauhan added a comment - Thanks, Carl for the review. I will upload the final patch soon.
          Hide
          Carl Steinbach added a comment -

          Committed to trunk. Thanks Ashutosh!

          Show
          Carl Steinbach added a comment - Committed to trunk. Thanks Ashutosh!
          Carl Steinbach made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Carl Steinbach made changes -
          Fix Version/s 0.8.0 [ 12316178 ]
          Hide
          Ashutosh Chauhan added a comment -

          Sorry Carl, the patch was incomplete. There is one more method run() of Command whose visibility I wanted to change. Incremental patch attached.

          Show
          Ashutosh Chauhan added a comment - Sorry Carl, the patch was incomplete. There is one more method run() of Command whose visibility I wanted to change. Incremental patch attached.
          Ashutosh Chauhan made changes -
          Attachment hive_2148.patch [ 12478765 ]
          Ashutosh Chauhan made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Ashutosh Chauhan made changes -
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          Hide
          Carl Steinbach added a comment -

          @Ashutosh: Sorry I missed your last comment before committing. Can you please open a separate ticket and post the followup there so I have a unique JIRA ID to commit against? Thanks.

          Show
          Carl Steinbach added a comment - @Ashutosh: Sorry I missed your last comment before committing. Can you please open a separate ticket and post the followup there so I have a unique JIRA ID to commit against? Thanks.
          Carl Steinbach made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Hudson added a comment -

          Integrated in Hive-trunk-h0.20 #726 (See https://builds.apache.org/hudson/job/Hive-trunk-h0.20/726/)

          Show
          Hudson added a comment - Integrated in Hive-trunk-h0.20 #726 (See https://builds.apache.org/hudson/job/Hive-trunk-h0.20/726/ )
          Jeff Hammerbacher made changes -
          Link This issue relates to HIVE-2161 [ HIVE-2161 ]
          Carl Steinbach made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          3m 43s 1 Ashutosh Chauhan 03/May/11 23:00
          Resolved Resolved Reopened Reopened
          5h 59m 1 Ashutosh Chauhan 11/May/11 06:38
          Reopened Reopened Patch Available Patch Available
          10s 1 Ashutosh Chauhan 11/May/11 06:39
          Patch Available Patch Available Resolved Resolved
          7d 2h 37m 2 Carl Steinbach 11/May/11 07:38
          Resolved Resolved Closed Closed
          219d 17h 17m 1 Carl Steinbach 16/Dec/11 23:56

            People

            • Assignee:
              Ashutosh Chauhan
              Reporter:
              Ashutosh Chauhan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development