Hive
  1. Hive
  2. HIVE-2933

analyze command throw NPE when table doesn't exists

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.1, 0.9.0
    • Fix Version/s: 0.10.0
    • Component/s: Statistics
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      analyze command throw NPE when table doesn't exists

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Patch Available Patch Available In Progress In Progress
        52d 13h 26m 1 Zhiqiang He 08/Jun/12 01:53
        In Progress In Progress Patch Available Patch Available
        13h 11m 1 Zhiqiang He 08/Jun/12 15:05
        Patch Available Patch Available Open Open
        10d 23h 24m 3 Namit Jain 13/Jun/12 01:57
        Open Open Patch Available Patch Available
        4d 4h 35m 4 Zhiqiang He 16/Jun/12 08:45
        Patch Available Patch Available Resolved Resolved
        5d 13h 53m 1 Namit Jain 21/Jun/12 22:39
        Resolved Resolved Closed Closed
        202d 22h 14m 1 Ashutosh Chauhan 10/Jan/13 19:54
        Ashutosh Chauhan made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        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.
        Ashutosh Chauhan made changes -
        Fix Version/s 0.10.0 [ 12320745 ]
        Namit Jain made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        Hide
        Namit Jain added a comment -

        Fixed in trunk

        Show
        Namit Jain added a comment - Fixed in trunk
        Hide
        Zhiqiang He added a comment -

        can we close it? because it's already fixed in trunk.

        Show
        Zhiqiang He added a comment - can we close it? because it's already fixed in trunk.
        Hide
        Edward Capriolo added a comment -

        Typically we do not backport patches. Sorry we did not get to this sooner.

        Show
        Edward Capriolo added a comment - Typically we do not backport patches. Sorry we did not get to this sooner.
        Zhiqiang He made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Zhiqiang He added a comment -

        please review patch for 0.9

        Show
        Zhiqiang He added a comment - please review patch for 0.9
        Zhiqiang He made changes -
        Affects Version/s 0.10.0 [ 12320745 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933.0.10-2.patch.txt [ 12531424 ]
        Hide
        Zhiqiang He added a comment -

        in trunk , analyze command returns "FAILED: NullPointerException null",
        so it's already fixed in trunk.
        I remove patch for trunk.

        Show
        Zhiqiang He added a comment - in trunk , analyze command returns "FAILED: NullPointerException null", so it's already fixed in trunk. I remove patch for trunk.
        Namit Jain made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Hide
        Namit Jain added a comment -

        Please supply the patch for trunk only.

        Also, there should no nullpointerexception error message checked in

        Show
        Namit Jain added a comment - Please supply the patch for trunk only. Also, there should no nullpointerexception error message checked in
        Zhiqiang He made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.10.0 [ 12320745 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933.0.10-2.patch.txt [ 12531424 ]
        Attachment HIVE-2933.branch8.1-4.patch.txt [ 12531425 ]
        Hide
        Zhiqiang He added a comment -

        add patchs for 0.8.1 and 0.10.
        all patchs was tested.please review it.

        Show
        Zhiqiang He added a comment - add patchs for 0.8.1 and 0.10. all patchs was tested.please review it.
        Zhiqiang He made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Hide
        Zhiqiang He added a comment -

        recommit it.

        Show
        Zhiqiang He added a comment - recommit it.
        Zhiqiang He made changes -
        Attachment HIVE-2933-branch-0.8.1-3.patch.txt [ 12531397 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933-0.8.1-2.patch [ 12523445 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933-trunk.1.patch.txt [ 12531399 ]
        Zhiqiang He made changes -
        Affects Version/s 0.10.0 [ 12320745 ]
        Hide
        Zhiqiang He added a comment -

        0.10 metastore is already changed. it doesn't contains.
        so remove 0.10 patch.

        Show
        Zhiqiang He added a comment - 0.10 metastore is already changed. it doesn't contains. so remove 0.10 patch.
        Zhiqiang He made changes -
        Status In Progress [ 3 ] Patch Available [ 10002 ]
        Affects Version/s 0.9.0 [ 12317742 ]
        Affects Version/s 0.10.0 [ 12320745 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933-branch-0.8.1-3.patch.txt [ 12531397 ]
        Attachment HIVE-2933-branch-0.9-1.patch.txt [ 12531398 ]
        Attachment HIVE-2933-trunk.1.patch.txt [ 12531399 ]
        Hide
        Zhiqiang He added a comment -

        after my test.
        hive 0.9 and 0.10 also have this problems.
        so I create patchs for them.

        Show
        Zhiqiang He added a comment - after my test. hive 0.9 and 0.10 also have this problems. so I create patchs for them.
        Zhiqiang He made changes -
        Status Patch Available [ 10002 ] In Progress [ 3 ]
        Ashutosh Chauhan made changes -
        Assignee ransom.hezhiqiang [ ransom ]
        Hide
        Ashutosh Chauhan added a comment -

        Error messages have changed. Ransom, can you regenerate the patch.

        Show
        Ashutosh Chauhan added a comment - Error messages have changed. Ransom, can you regenerate the patch.
        Hide
        Ashutosh Chauhan added a comment -

        +1 will commit if tests pass.

        Show
        Ashutosh Chauhan added a comment - +1 will commit if tests pass.
        Hide
        Zhiqiang He added a comment -

        please review it.

        Show
        Zhiqiang He added a comment - please review it.
        Zhiqiang He made changes -
        Attachment HIVE-2933-0.8.1-2.patch [ 12523445 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933-0.8.1-2.patch [ 12522762 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933-0.8.1-1.patch [ 12521913 ]
        Zhiqiang He made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933-0.8.1-2.patch [ 12522762 ]
        Hide
        Zhiqiang He added a comment -

        test added.

        Show
        Zhiqiang He added a comment - test added.
        Namit Jain made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Hide
        Namit Jain added a comment -

        Can you add a test ?

        Show
        Namit Jain added a comment - Can you add a test ?
        Zhiqiang He made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Zhiqiang He made changes -
        Field Original Value New Value
        Attachment HIVE-2933-0.8.1-1.patch [ 12521913 ]
        alex gemini created issue -

          People

          • Assignee:
            Zhiqiang He
            Reporter:
            alex gemini
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development