Eugene Koifman created HIVE-12410:
-------------------------------------

             Summary: HiveConf should make use of Validator.validate()
                 Key: HIVE-12410
                 URL: https://issues.apache.org/jira/browse/HIVE-12410
             Project: Hive
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 0.10.0
            Reporter: Eugene Koifman


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to