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

SchemaTool validate locations should not return exit 1

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.4.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: