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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0, 2.1.0, 2.2.0
    • 2.3.0
    • storm-client
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Zeahoo ZhihaoZheng
            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

                Slack

                  Issue deployment