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

Íñigo Goiri commented on HDFS-12410:
------------------------------------

[~ajayydv] resorting to default might be another option.
However, in our original use case, the problem was using the same 
{{hdfs-site.xml}} for a version of Hadoop that supported {{PROVIDED}} and 
another without it.
With the current behavior the Datanode doesn't start at all.
With your approach, I'm not sure what would try to do with the {{PROVIDED}} 
file path if it assumes {{DEFAULT}}.
For our use case, I'd prefer to log and ignore.

> Ignore unknown StorageTypes
> ---------------------------
>
>                 Key: HDFS-12410
>                 URL: https://issues.apache.org/jira/browse/HDFS-12410
>             Project: Hadoop HDFS
>          Issue Type: Task
>          Components: datanode, fs
>            Reporter: Chris Douglas
>            Assignee: Ajay Kumar
>            Priority: Minor
>
> A storage configured with an unknown type will cause runtime exceptions. 
> Instead, these storages can be ignored/skipped.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to