hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject [28/50] hbase git commit: Amend HBASE-16527 IOExceptions from DFS client still can cause CatalogJanitor to delete referenced files (Vladimir Rodionov)
Date Tue, 01 Nov 2016 19:48:06 GMT
Amend HBASE-16527 IOExceptions from DFS client still can cause CatalogJanitor to delete referenced
files (Vladimir Rodionov)

Compilation fix for Hadoop 1


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

Branch: refs/heads/0.98
Commit: d525b0efb06239e6be28f45504913768753f911a
Parents: a366e75
Author: Andrew Purtell <apurtell@apache.org>
Authored: Sat Sep 3 01:15:28 2016 +0000
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Sat Sep 3 01:15:28 2016 +0000

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d525b0ef/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
index e941d78..8fd060f 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
@@ -243,7 +243,7 @@ public class HRegionFileSystem {
     FileStatus[] files = FSUtils.listStatus(fs, getStoreDir(familyName));
     if (files != null) {
       for(FileStatus stat: files) {
-        if(stat.isDirectory()) {
+        if(stat.isDir()) {
           continue;
         }
         if(StoreFileInfo.isReference(stat.getPath())) {


Mime
View raw message