[ 
https://issues.apache.org/jira/browse/STORM-1542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15156850#comment-15156850
 ] 

ASF GitHub Bot commented on STORM-1542:
---------------------------------------

GitHub user abhishekagarwal87 opened a pull request:

    https://github.com/apache/storm/pull/1138

    STORM-1542: Remove profile action retry in case of non-zero exit code

    This fixes the infinite retry problem in profiling. As a follow up on the 
discussion in STORM-1542, I have created  STORM-1568. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/abhishekagarwal87/storm logviewer

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/1138.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1138
    
----
commit 86e9254b1f7180275c9708dffe13a8c7fa88e16b
Author: Abhishek Agarwal <[email protected]>
Date:   2016-02-22T12:39:25Z

    STORM-1542: Remove profile action retry in case of non-zero exit code

----


> Taking jstack for a worker in UI results in endless empty jstack dumps
> ----------------------------------------------------------------------
>
>                 Key: STORM-1542
>                 URL: https://issues.apache.org/jira/browse/STORM-1542
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 1.0.0
>            Reporter: Abhishek Agarwal
>            Assignee: Abhishek Agarwal
>            Priority: Critical
>
> Resolved path for jstack command on supervisor is
> /home/y/share/yjava_jdk/java/jstack which doesn't exist. command returns 127 
> as exit code. When a request for jstack dump is made from UI, a zookeeper 
> node is created. Now supervisor keeps on reading this node, executes jstack 
> command and since exit code is non-zero, doesn't delete the node afterwards. 
> Thus supervisor keeps on executing the command forever and each invocation 
> creates an new empty file.
> {noformat}
> $BINPATH/jstack $1 > "$2/${FILENAME}"
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to