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

        Hide
        Namit Jain added a comment -

        Can you add a test ?

        Show
        Namit Jain added a comment - Can you add a test ?
        Hide
        Zhiqiang He added a comment -

        test added.

        Show
        Zhiqiang He added a comment - test added.
        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.
        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.
        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.
        Hide
        Zhiqiang He added a comment -

        recommit it.

        Show
        Zhiqiang He added a comment - recommit it.
        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.
        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
        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.
        Hide
        Zhiqiang He added a comment -

        please review patch for 0.9

        Show
        Zhiqiang He added a comment - please review patch for 0.9
        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
        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:
            Zhiqiang He
            Reporter:
            alex gemini
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development