hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [1/3] hadoop git commit: HDFS-11128. CreateEditsLog throws NullPointerException. Contributed by Hanisha Koneru.
Date Fri, 11 Nov 2016 14:42:19 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 c684a00ed -> b51806b45
  refs/heads/branch-2.8 51f5bab69 -> 121b56de1
  refs/heads/trunk fd2f22ade -> 1ae57f0f7


HDFS-11128. CreateEditsLog throws NullPointerException. Contributed by Hanisha Koneru.


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

Branch: refs/heads/trunk
Commit: 1ae57f0f75695178dc135b0c259d066f7da31c9d
Parents: fd2f22a
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:08:15 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/1ae57f0f/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 a846f60..d6dd8ee 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
@@ -338,7 +338,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