HDFS-7329. Improve logging when MiniDFSCluster fails to start. Contributed by Byron Wong.
This commit is contained in:
parent
b0b52c4e11
commit
228afed14c
@ -344,6 +344,9 @@ Release 2.7.0 - UNRELEASED
|
||||
HDFS-7361. TestCheckpoint fails after change of log message related to
|
||||
locking violation. (shv)
|
||||
|
||||
HDFS-7329. Improve logging when MiniDFSCluster fails to start.
|
||||
(Byron Wong via shv)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -807,7 +807,7 @@ private void initMiniDFSCluster(
|
||||
format, startOpt, clusterId, conf);
|
||||
} catch (IOException ioe) {
|
||||
LOG.error("IOE creating namenodes. Permissions dump:\n" +
|
||||
createPermissionsDiagnosisString(data_dir));
|
||||
createPermissionsDiagnosisString(data_dir), ioe);
|
||||
throw ioe;
|
||||
}
|
||||
if (format) {
|
||||
|
Loading…
Reference in New Issue
Block a user