Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15070

HIVE-13062 causes the HMS schema upgrade tests to not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • None
    • None

    Description

      https://github.com/apache/hive/blob/master/testutils/metastore/metastore-upgrade-test.sh#L124

      while read script
      do
      if [ $begin_upgrade_test = "true" ] || echo upgrade-$name | grep "upgrade-$VERSION_BASE"; then
      

      In the above code, the bash variable "name" is never initialized and hence the entire if condition is never true which prevents the script from triggering any test scripts.

      Attachments

        1. HIVE-15070.patch
          0.7 kB
          Naveen Gangam

        Activity

          People

            ngangam Naveen Gangam
            ngangam Naveen Gangam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: