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

SchemaTool validate locations should not return exit 1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0, 3.0.0
    • None
    • None

    Description

      HiveSchemaTool can be used by other applications to validate the metastore schema. One of the validation check looks at the location URLs of tables/DBs and returns false which causes HiveSchemaTool to exit 1 to the calling script. Invalid locations although are a problem in some instances, cannot be termed as catastrophic errors in the schema which should cause Hive service failure/unusable. Ideally we should introduce warning levels and error levels in schemaTool validations so the caller can take appropriate action.

      Attachments

        1. HIVE-17805.01.patch
          1 kB
          Vihang Karajgaonkar

        Activity

          People

            vihangk1 Vihang Karajgaonkar
            vihangk1 Vihang Karajgaonkar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: