You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2015/11/13 21:39:11 UTC

[jira] [Created] (HIVE-12410) HiveConf should make use of Validator.validate()

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)