Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1542

Taking jstack for a worker in UI results in endless empty jstack dumps

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • storm-core
    • None

    Description

      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.

      $BINPATH/jstack $1 > "$2/${FILENAME}"
      

      Attachments

        Activity

          People

            abhishek.agarwal Abhishek Agarwal
            abhishek.agarwal Abhishek Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: