incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Fixing broken hadoop1 support.
Date Thu, 18 Dec 2014 17:43:04 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master 669e81769 -> 4dfd3863e


Fixing broken hadoop1 support.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/4dfd3863
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/4dfd3863
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/4dfd3863

Branch: refs/heads/master
Commit: 4dfd3863e316831765f27955b31f03934ff57c19
Parents: 669e817
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Dec 18 12:43:25 2014 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Dec 18 12:43:25 2014 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/analysis/HdfsFieldManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/4dfd3863/blur-query/src/main/java/org/apache/blur/analysis/HdfsFieldManager.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/analysis/HdfsFieldManager.java b/blur-query/src/main/java/org/apache/blur/analysis/HdfsFieldManager.java
index 3bdfb21..1768deb 100644
--- a/blur-query/src/main/java/org/apache/blur/analysis/HdfsFieldManager.java
+++ b/blur-query/src/main/java/org/apache/blur/analysis/HdfsFieldManager.java
@@ -97,7 +97,7 @@ public class HdfsFieldManager extends BaseFieldManager {
       }
       List<String> fieldNames = new ArrayList<String>();
       for (FileStatus fileStatus : listStatus) {
-        if (fileStatus.isFile()) {
+        if (!fileStatus.isDir()) {
           String fileName = fileStatus.getPath().getName();
           fieldNames.add(fileName.substring(0, fileName.lastIndexOf(TYPE_FILE_EXT)));
         }


Mime
View raw message