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

Use default bin path in flight.bash if $JAVA_HOME is undefined

    Details

      Description

      I had to modify the flight.bash script as $JAVA_HOME is undefined, this yields
       
      /usr/share/apache-storm-1.2.1/bin/flight.bash: line 62: /bin/jstack: No such file or directory
       
      however, the  files can be found in the default path /usr/bin
       
      I will submit a PR so that the script checks that $JDKPATH is not empty and exist before using it for BINPATH. I can't see any downsides in doing so.

        Attachments

          Activity

            People

            • Assignee:
              jnioche Julien Nioche
              Reporter:
              jnioche Julien Nioche
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m