[
https://issues.apache.org/jira/browse/APEXCORE-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199902#comment-15199902
]
ASF GitHub Bot commented on APEXCORE-393:
-----------------------------------------
Github user tweise commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/274#discussion_r56538000
--- Diff: api/src/main/java/com/datatorrent/api/Context.java ---
@@ -475,6 +475,21 @@
* Only supports string codecs that have a constructor with no
arguments
*/
Attribute<Map<Class<?>, Class<? extends StringCodec<?>>>>
STRING_CODECS = new Attribute<Map<Class<?>, Class<? extends
StringCodec<?>>>>(new Map2String<Class<?>, Class<? extends
StringCodec<?>>>(",", "=", new Class2String<Object>(), new
Class2String<StringCodec<?>>()));
+
+ /**
+ * The number of consecutive container failures that should lead to
+ * blacklisting of nodes by application master
+ */
+ Attribute<Integer> MAX_CONSECUTIVE_CONTAINER_FAILURES_FOR_BLCKLIST =
new Attribute<Integer>(Integer.MAX_VALUE);
--- End diff --
Should also mention that default value means it is off, which is the
current behavior.
> Reset failure count when consecutive failed node is removed from blacklist
> --------------------------------------------------------------------------
>
> Key: APEXCORE-393
> URL: https://issues.apache.org/jira/browse/APEXCORE-393
> Project: Apache Apex Core
> Issue Type: Bug
> Reporter: Isha Arkatkar
> Assignee: Isha Arkatkar
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)