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

Assigning memory greater and equal than 2048m will make assgin memory for slot values to 1m

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.1.0, 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: storm-client
    • Labels:
      None

      Description

      Hi, everyone.

      I set my topology over 2048m, the storm ui shows only 65m, so i found its error in https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/utils/Utils.java  line 1089 that value cast to int instead of long, It goes wrong if I pass 2048m and results 1m.

      Simply change this line to cast Long can solve this problem. 

        Attachments

          Activity

            People

            • Assignee:
              Zeahoo ZhihaoZheng
              Reporter:
              Zeahoo ZhihaoZheng
            • 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 - 3h 40m
                3h 40m