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

HiveConf should make use of Validator.validate()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.0
    • None
    • Configuration
    • None

    Description

      Hive supports Validator class which allows you to specify valid ranges for various configuration variables.
      There is Validator.validate() which checks that the value specified is actually within the constraints.

      Unfortunately validate() is not called in general.
      Should make validate() throw IllegalArgumentException and override
      Configuration.set() to make sure validate() is always called.

      This would not be backwards compatible but we should do what we can to ensure that Hive is configured properly before starting a service.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ekoifman Eugene Koifman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: