hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12410) Ignore unknown StorageTypes
Date Mon, 11 Sep 2017 20:32:00 GMT

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

Anu Engineer commented on HDFS-12410:
-------------------------------------

[~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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message