hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-12410) HiveConf should make use of Validator.validate()
Date Thu, 19 Nov 2015 23:23:11 GMT

     [ https://issues.apache.org/jira/browse/HIVE-12410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Shelukhin updated HIVE-12410:
------------------------------------
    Target Version/s:   (was: 2.0.0)

> 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)

Mime
View raw message