hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [3/3] hadoop git commit: HDFS-11128. CreateEditsLog throws NullPointerException. Contributed by Hanisha Koneru.
Date Fri, 11 Nov 2016 14:42:21 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/121b56de
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/121b56de
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/121b56de

Branch: refs/heads/branch-2.8
Commit: 121b56de14e8fdab30306fb626946b2877149732
Parents: 51f5bab
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:11:13 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/121b56de/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 91ed20a..676b1a0 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