[ 
https://issues.apache.org/jira/browse/HADOOP-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550145
 ] 

Doug Cutting commented on HADOOP-2385:
--------------------------------------

> Configuration parameters should be fully validated before name nodes or data 
> nodes begin service.

Is the idea that namenode or datanode startup should fail fast when 
misconfigured?  Or that we be able to check parameters without starting daemons?

If the former, we can just be more careful to validate all critical parameters 
when they're first used.  If the latter, we could add an option to the main() 
that simply validates critical parameters and exits.  In either case, 
configuration validation should not be centralized in Hadoop, but rather 
implemented in each component that is configured.


> Validate configuration parameters
> ---------------------------------
>
>                 Key: HADOOP-2385
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2385
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.16.0
>            Reporter: Robert Chansler
>
> Configuration parameters should be fully validated before name nodes or data 
> nodes begin service.
> Required parameters must be present.
> Required and optional parameters must have values of proper type and range.
> Undefined parameters must not be present.
> (I was recently observing some confusion whose root cause was a mis-spelled 
> parameter.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to