ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/8] incubator-ignite git commit: #Test: Fix hadoop
Date Fri, 30 Jan 2015 12:14:37 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-72-1 e19655dfb -> ae740876f


#Test: Fix hadoop


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

Branch: refs/heads/ignite-72-1
Commit: b6eb388670f0954cfca76a17e134486b4465b015
Parents: 9550905
Author: sboikov <sboikov@gridgain.com>
Authored: Fri Jan 30 11:35:56 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Fri Jan 30 11:35:56 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/hadoop/GridHadoopClassLoader.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b6eb3886/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/GridHadoopClassLoader.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/GridHadoopClassLoader.java
b/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/GridHadoopClassLoader.java
index 809d77f..1aa01b5 100644
--- a/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/GridHadoopClassLoader.java
+++ b/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/GridHadoopClassLoader.java
@@ -74,10 +74,10 @@ public class GridHadoopClassLoader extends URLClassLoader {
      * @return {@code true} if we need to check this class.
      */
     private static boolean isGgfsOrGgHadoop(String cls) {
-        String gg = "org.apache.";
+        String gg = "org.apache.ignite";
         int len = gg.length();
 
-        return cls.startsWith(gg) && (cls.indexOf("ggfs.", len) != -1 || cls.indexOf("hadoop.",
len) != -1);
+        return cls.startsWith(gg) && (cls.indexOf("ggfs.", len) != -1 || cls.indexOf(".fs.",
len) != -1 || cls.indexOf("hadoop.", len) != -1);
     }
 
     /**


Mime
View raw message