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

Anu Engineer edited comment on HDFS-12410 at 9/11/17 8:33 PM:
--------------------------------------------------------------

[~chris.douglas] and [~elgoiri] Ignoring and logging would create a pretty bad 
user experience, IMHO. Let us assume that user misspelled a type, then we would 
ignore it. User would not know since they will not be reading logs since some  
of the disks are working and one disk type called disc, is not functional. 

In my opinion, if we have misspelled or unsupported type, it is better to fail 
than continue. Fail fast, so I can fix it. If we have an hdfs-site.xml that 
have provided and the code does not know about that type of storage, I would 
rather the cluster did not start up instead of silently ignoring me.

I am sure I am missing something in this JIRA, care to educate me? 

Thanks to [~ajayydv] for having an off-line discussion about this issue.




was (Author: anu):
[~chris.douglas] and [~elgoiri] Ignoring and logging would create a pretty bad 
user experience, IMHO. Let us assume that user misspelled a type, then we would 
ignore it. User would not know since they will not be reading logs since some  
of the disks are working and one disk type called disc, is not functional. 

In my opinion, if we have misspelled or unsupported type, it is better to fail 
than continue. Fail fast, so I can fix it. If we have an hdfs-site.xml that 
have provided and the code does not know about that type of storage, I would 
rather the cluster did not start up instead of silently ignoring me.

I am sure I am missing something in this JIRA, care to educate me? 



> 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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to