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

SchemaTool validate locations should not return exit 1

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment