hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7329) MiniDFSCluster should log the exception when createNameNodesAndSetConf() fails.
Date Wed, 05 Nov 2014 22:58:34 GMT

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

Konstantin Shvachko commented on HDFS-7329:
-------------------------------------------

We should use another version of log message {{Log.error(message, exception);}}

> MiniDFSCluster should log the exception when createNameNodesAndSetConf() fails.
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-7329
>                 URL: https://issues.apache.org/jira/browse/HDFS-7329
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 2.5.1
>            Reporter: Konstantin Shvachko
>            Assignee: Byron Wong
>              Labels: newbie
>         Attachments: HDFS-7329.patch, HDFS-7329.patch
>
>
> When createNameNodesAndSetConf() call fails MiniDFSCluster logs an ERROR. Would be good
to add the actual exception in the log. Otherwise the actual reason of the failure is obscured.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message