ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [49/50] incubator-ignite git commit: #Tests: GridHadoopClassLoader
Date Wed, 28 Jan 2015 14:05:33 GMT
#Tests: GridHadoopClassLoader


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

Branch: refs/heads/ignite-125
Commit: 7e40e222fabaf9477564706264b1bd4718098b45
Parents: 5506edc
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed Jan 28 16:09:10 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed Jan 28 16:09:10 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/hadoop/GridHadoopClassLoader.java | 2 +-
 .../org/apache/ignite/hadoop/GridHadoopPopularWordsTest.java     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/7e40e222/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 f0ce846..809d77f 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,7 +74,7 @@ public class GridHadoopClassLoader extends URLClassLoader {
      * @return {@code true} if we need to check this class.
      */
     private static boolean isGgfsOrGgHadoop(String cls) {
-        String gg = "org.gridgain.";
+        String gg = "org.apache.";
         int len = gg.length();
 
         return cls.startsWith(gg) && (cls.indexOf("ggfs.", len) != -1 || cls.indexOf("hadoop.",
len) != -1);

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/7e40e222/modules/hadoop/src/test/java/org/apache/ignite/hadoop/GridHadoopPopularWordsTest.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/test/java/org/apache/ignite/hadoop/GridHadoopPopularWordsTest.java
b/modules/hadoop/src/test/java/org/apache/ignite/hadoop/GridHadoopPopularWordsTest.java
index 7d9a978..be5261c 100644
--- a/modules/hadoop/src/test/java/org/apache/ignite/hadoop/GridHadoopPopularWordsTest.java
+++ b/modules/hadoop/src/test/java/org/apache/ignite/hadoop/GridHadoopPopularWordsTest.java
@@ -50,11 +50,11 @@ public class GridHadoopPopularWordsTest {
 
     /** The path to the input directory. ALl files in that directory will be processed. */
     private static final Path BOOKS_LOCAL_DIR =
-        new Path("file:" + GG_HOME, "modules/tests/java/org/gridgain/grid/hadoop/books");
+        new Path("file:" + GG_HOME, "modules/tests/java/org/apache/grid/hadoop/books");
 
     /** The path to the output directory. THe result file will be written to this location.
*/
     private static final Path RESULT_LOCAL_DIR =
-        new Path("file:" + GG_HOME, "modules/tests/java/org/gridgain/grid/hadoop/output");
+        new Path("file:" + GG_HOME, "modules/tests/java/org/apache/grid/hadoop/output");
 
     /** Popular books source dir in DFS. */
     private static final Path BOOKS_DFS_DIR = new Path("tmp/word-count-example/in");


Mime
View raw message