ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [13/25] ignite git commit: IGNITE-3383: Hadoop: fixed missing Hadoop environment printout.
Date Fri, 01 Jul 2016 13:00:01 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/d146406f
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/d146406f
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/d146406f

Branch: refs/heads/ignite-3154
Commit: d146406fa731373dd1b943fd8db18762d0e78fed
Parents: 1873fd8
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Wed Jun 29 16:51:23 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Wed Jun 29 16:51:23 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/d146406f/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 b6ba4cf..9d42598 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
@@ -1097,7 +1097,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