ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [09/50] [abbrv] ignite git commit: IGNITE-3367: Hadoop: greater idle timeout for protocol client.
Date Thu, 07 Jul 2016 06:01:34 GMT
IGNITE-3367: Hadoop: greater idle timeout for protocol client.


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

Branch: refs/heads/ignite-1232
Commit: 00c3383fcb1732b1a78606b80ef7e0dcd9f0e9c8
Parents: 1af9052
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Fri Jun 24 17:36:55 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Thu Jun 30 10:18:27 2016 +0300

----------------------------------------------------------------------
 .../ignite/hadoop/mapreduce/IgniteHadoopClientProtocolProvider.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/00c3383f/modules/hadoop/src/main/java/org/apache/ignite/hadoop/mapreduce/IgniteHadoopClientProtocolProvider.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/apache/ignite/hadoop/mapreduce/IgniteHadoopClientProtocolProvider.java
b/modules/hadoop/src/main/java/org/apache/ignite/hadoop/mapreduce/IgniteHadoopClientProtocolProvider.java
index e40abe0..583af35 100644
--- a/modules/hadoop/src/main/java/org/apache/ignite/hadoop/mapreduce/IgniteHadoopClientProtocolProvider.java
+++ b/modules/hadoop/src/main/java/org/apache/ignite/hadoop/mapreduce/IgniteHadoopClientProtocolProvider.java
@@ -117,6 +117,7 @@ public class IgniteHadoopClientProtocolProvider extends ClientProtocolProvider
{
                     cliCfg.setProtocol(TCP);
                     cliCfg.setServers(Collections.singletonList(addr));
                     cliCfg.setMarshaller(new GridClientJdkMarshaller());
+                    cliCfg.setMaxConnectionIdleTime(24 * 60 * 60 * 1000L); // 1 day.
                     cliCfg.setDaemon(true);
 
                     try {


Mime
View raw message