hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umamah...@apache.org
Subject hadoop git commit: HDFS-10555: Unable to loadFSEdits due to a failure in readCachePoolInfo. Contributed by Uma Maheswara Rao G
Date Thu, 23 Jun 2016 05:07:12 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 6ab5aa1c1 -> 01643020d


HDFS-10555: Unable to loadFSEdits due to a failure in readCachePoolInfo. Contributed by Uma
Maheswara Rao G


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

Branch: refs/heads/trunk
Commit: 01643020d24b606c26cb2dcaefdb6e47a5f06c8f
Parents: 6ab5aa1
Author: Uma Maheswara Rao G <uma.gangumalla@intel.com>
Authored: Wed Jun 22 22:06:13 2016 -0700
Committer: Uma Maheswara Rao G <uma.gangumalla@intel.com>
Committed: Wed Jun 22 22:06:13 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/01643020/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageSerialization.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageSerialization.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageSerialization.java
index 06ac6a7..5f6c96a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageSerialization.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageSerialization.java
@@ -683,7 +683,7 @@ public class FSImageSerialization {
     if ((flags & 0x20) != 0) {
       info.setDefaultReplication(readShort(in));
     }
-    if ((flags & ~0x2F) != 0) {
+    if ((flags & ~0x3F) != 0) {
       throw new IOException("Unknown flag in CachePoolInfo: " + flags);
     }
     return info;


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