ZhihaoZheng created STORM-3729: ---------------------------------- Summary: assign memory greater and equal than 2048m will make assgin memory for slot values to 1m Key: STORM-3729 URL: https://issues.apache.org/jira/browse/STORM-3729 Project: Apache Storm Issue Type: Bug Components: storm-client Affects Versions: 2.1.0, 2.2.0 Reporter: ZhihaoZheng
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.:) -- This message was sent by Atlassian Jira (v8.3.4#803005)