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

storm shell script should use /bin/env python to check python version

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: storm-core
    • Labels:
      None
    • Environment:
      RHEL 5.7

      Description

      Currently storm script uses /usr/bin/python2.6 and /usr/bin/python to check python version, however, RHEL5 ships with python2.4 by default, so when users upgrade python to 2.7.5 without changing /usr/bin/python to 2.7.5 python binary, storm will fail to start since it thinks it's using python2.4.
      It would be better to use /bin/env python to detect python version instead.

        Attachments

          Activity

            People

            • Assignee:
              Cody Cody
              Reporter:
              Cody Cody
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 120h
                120h
                Remaining:
                Remaining Estimate - 120h
                120h
                Logged:
                Time Spent - Not Specified
                Not Specified