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

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

        Can you add a test ?

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

        test added.

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

        please review it.

        Show
        Zhiqiang He added a comment - please review it.
        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
        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.
        Ashutosh Chauhan made changes -
        Assignee ransom.hezhiqiang [ ransom ]
        Zhiqiang He made changes -
        Status Patch Available [ 10002 ] In Progress [ 3 ]
        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 -
        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 ]
        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 ]
        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 -
        Affects Version/s 0.10.0 [ 12320745 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933-trunk.1.patch.txt [ 12531399 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933-0.8.1-2.patch [ 12523445 ]
        Zhiqiang He made changes -
        Attachment HIVE-2933-branch-0.8.1-3.patch.txt [ 12531397 ]
        Hide
        Zhiqiang He added a comment -

        recommit it.

        Show
        Zhiqiang He added a comment - recommit it.
        Zhiqiang He made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        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 -
        Attachment HIVE-2933.0.10-2.patch.txt [ 12531424 ]
        Attachment HIVE-2933.branch8.1-4.patch.txt [ 12531425 ]
        Zhiqiang He made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.10.0 [ 12320745 ]
        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
        Namit Jain made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        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.
        Zhiqiang He made changes -
        Attachment HIVE-2933.0.10-2.patch.txt [ 12531424 ]
        Zhiqiang He made changes -
        Affects Version/s 0.10.0 [ 12320745 ]
        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 -
        Status Open [ 1 ] Patch Available [ 10002 ]
        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.
        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
        Namit Jain added a comment -

        Fixed in trunk

        Show
        Namit Jain added a comment - Fixed in trunk
        Namit Jain made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        Ashutosh Chauhan made changes -
        Fix Version/s 0.10.0 [ 12320745 ]
        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 -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development