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

SchemaTool may leave the metastore in-between upgrade steps

    XMLWordPrintableJSON

Details

    Description

      it seems like:

      • schematool runs the sql files via beeline
      • autocommit is turned on
      • pressing ctrl+c or killing the process will result in an invalid schema

      https://github.com/apache/hive/blob/6e02f6164385a370ee8014c795bee1fa423d7937/beeline/src/java/org/apache/hive/beeline/schematool/HiveSchemaTool.java#L79

      Attachments

        Issue Links

          Activity

            People

              dengzh Zhihua Deng
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h