hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inigo...@apache.org
Subject [03/13] hadoop git commit: HDFS-11571. Typo in DataStorage exception message (Contributed by Anna Budai via Daniel Templeton)
Date Thu, 30 Mar 2017 02:35:44 GMT
HDFS-11571. Typo in DataStorage exception message (Contributed by Anna Budai via Daniel Templeton)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5f9f945f
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5f9f945f
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5f9f945f

Branch: refs/heads/HDFS-10467
Commit: 5f9f945f943f1eb13ee81fcbef85135397a8915f
Parents: 5050266
Author: Daniel Templeton <templedf@apache.org>
Authored: Wed Mar 29 10:56:36 2017 -0700
Committer: Inigo <inigoiri@apache.org>
Committed: Wed Mar 29 19:32:11 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java   | 2 +-
 .../org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f9f945f/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java
index 57ef1bc..835643b 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java
@@ -543,7 +543,7 @@ public class DataStorage extends Storage {
   void recoverTransitionRead(DataNode datanode, NamespaceInfo nsInfo,
       Collection<StorageLocation> dataDirs, StartupOption startOpt) throws IOException
{
     if (addStorageLocations(datanode, nsInfo, dataDirs, startOpt).isEmpty()) {
-      throw new IOException("All specified directories are failed to load.");
+      throw new IOException("All specified directories have failed to load.");
     }
   }
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f9f945f/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
index c56a01c..6c49451 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataStorage.java
@@ -200,7 +200,7 @@ public class TestDataStorage {
       fail("An IOException should throw: all StorageLocations are NON_EXISTENT");
     } catch (IOException e) {
       GenericTestUtils.assertExceptionContains(
-          "All specified directories are failed to load.", e);
+          "All specified directories have failed to load.", e);
     }
     assertEquals(0, storage.getNumStorageDirs());
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message