You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2015/11/20 00:23:11 UTC
[jira] [Updated] (HIVE-12410) HiveConf should make use of
Validator.validate()
[ 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)