[
https://issues.apache.org/jira/browse/APEXCORE-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15269210#comment-15269210
]
ASF GitHub Bot commented on APEXCORE-330:
-----------------------------------------
Github user davidyan74 commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/321#discussion_r61926171
--- Diff:
engine/src/main/java/com/datatorrent/stram/webapp/StramWebServices.java ---
@@ -122,7 +124,11 @@
public static final String PATH_OPERATOR_CLASSES = "operatorClasses";
public static final String PATH_ALERTS = "alerts";
public static final String PATH_LOGGERS = "loggers";
+ public static final String PATH_STACKTRACE = "stackTrace";
public static final long WAIT_TIME = 5000;
+ public static final long STACK_TRACE_WAIT_TIME = 1000;
+ public static final long STACK_TRACE_ATTEMPT = 10;
--- End diff --
STACK_TRACE_ATTEMPTS (with an s)
> Ability to obtain a thread dump from a container
> ------------------------------------------------
>
> Key: APEXCORE-330
> URL: https://issues.apache.org/jira/browse/APEXCORE-330
> Project: Apache Apex Core
> Issue Type: Improvement
> Reporter: Thomas Weise
> Assignee: Sandesh
>
> To analyze issues such as "stuck operator", it is useful to obtain stats from
> the running JVM. Often needed are GC stats and thread dump. In production
> environments users often don't have direct access to the machines, making it
> available through the REST API will help.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)