hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [2/3] hadoop git commit: HDFS-11128. CreateEditsLog throws NullPointerException. Contributed by Hanisha Koneru.
Date Fri, 11 Nov 2016 14:42:20 GMT
HDFS-11128. CreateEditsLog throws NullPointerException. Contributed by Hanisha Koneru.

(cherry picked from commit 1ae57f0f75695178dc135b0c259d066f7da31c9d)


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

Branch: refs/heads/branch-2
Commit: b51806b45f9fa3f4396ac5902c18f5e1cb42906a
Parents: c684a00
Author: Brahma Reddy Battula <brahma@apache.org>
Authored: Fri Nov 11 20:08:15 2016 +0530
Committer: Brahma Reddy Battula <brahma@apache.org>
Committed: Fri Nov 11 20:09:49 2016 +0530

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b51806b4/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
index 157ba39..6290c43 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
@@ -333,7 +333,7 @@ public class NNStorage extends Storage implements Closeable,
    * @param uri URI of a storage directory
    * @return The matching storage directory or null if none found
    */
-  StorageDirectory getStorageDirectory(URI uri) {
+  public StorageDirectory getStorageDirectory(URI uri) {
     try {
       uri = Util.fileAsURI(new File(uri));
       Iterator<StorageDirectory> it = dirIterator();


---------------------------------------------------------------------
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