ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [12/50] [abbrv] ignite git commit: IGNITE-3383: Hadoop: fixed missing Hadoop environment printout.
Date Thu, 07 Jul 2016 06:01:37 GMT
IGNITE-3383: Hadoop: fixed missing Hadoop environment printout.


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

Branch: refs/heads/ignite-1232
Commit: fb876900c5fdddfe0c581262ae9c8d3a9b8e39bb
Parents: 00ce209
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Wed Jun 29 16:51:23 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Thu Jun 30 10:19:33 2016 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/internal/IgniteKernal.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/fb876900/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
index 0c1bd93..c839375 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
@@ -1121,7 +1121,11 @@ public class IgniteKernal implements IgniteEx, IgniteMXBean, Externalizable
{
                 throw new IgniteCheckedException("Hadoop module cannot be used with peer
class loading enabled " +
                     "(set IgniteConfiguration.peerClassLoadingEnabled to \"false\").");
 
-            return IgniteComponentType.HADOOP.createIfInClassPath(ctx, true);
+            HadoopProcessorAdapter res = IgniteComponentType.HADOOP.createIfInClassPath(ctx,
true);
+
+            res.validateEnvironment();
+
+            return res;
         }
         else {
             HadoopProcessorAdapter cmp = null;


Mime
View raw message