[ 
https://issues.apache.org/jira/browse/HIVE-17759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16206301#comment-16206301
 ] 

Sergey Shelukhin edited comment on HIVE-17759 at 10/16/17 6:18 PM:
-------------------------------------------------------------------

Well, there are many options that don't have a fixed set of values - any 
number/etc.; any file path/URL/user name/ZK path/etc.
It's possible to add validators to existing options... We could also remove 
ctors that do not supply a validator argument so that it cannot be skipped, and 
add a NoopValidator, so that skipping validation is a more conscious decision.


was (Author: sershe):
Well, there are many options that don't have a fixed set of values - any 
number/etc.; any file path/URL/user name/ZK path/etc.
It's possible to add validators to existing options... We could also remove 
ctors that do not supply a validator argument so that cannot be skipped, and 
add a NoopValidator, so that skipping validation is a more conscious decision.

> Prevent the misuses of HiveConf.ConfVars.default fields
> -------------------------------------------------------
>
>                 Key: HIVE-17759
>                 URL: https://issues.apache.org/jira/browse/HIVE-17759
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>
> issues like HIVE-17758 can be prevented if these fields wouldn't be directly 
> accessible



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to