HDFS-7552. Change FsVolumeList toString() to fix TestDataNodeVolumeFailureToleration (Liang Xie via Colin P. McCabe)

(cherry picked from commit a4876c130f)
This commit is contained in:
Colin Patrick Mccabe 2014-12-19 11:13:04 -08:00
parent fe38ed2ee7
commit 22f72c7946
2 changed files with 4 additions and 1 deletions

View File

@ -364,6 +364,9 @@ Release 2.7.0 - UNRELEASED
HDFS-7431. log message for InvalidMagicNumberException may be incorrect.
(Yi Liu via cnauroth)
HDFS-7552. Change FsVolumeList toString() to fix
TestDataNodeVolumeFailureToleration (Liang Xie via Colin P. McCabe)
Release 2.6.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -213,7 +213,7 @@ class FsVolumeList {
@Override
public String toString() {
return volumes.toString();
return Arrays.toString(volumes.get());
}
/**