[jira] [Updated] (STORM-3729) Assigning memory greater and equal than 2048m will make assgin memory for slot values to 1m

2021-01-05 Thread Ethan Li (Jira)


 [ 
https://issues.apache.org/jira/browse/STORM-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ethan Li updated STORM-3729:

Affects Version/s: 2.0.0

> Assigning 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.0.0, 2.1.0, 2.2.0
>Reporter: ZhihaoZheng
>Priority: Minor
>  Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> 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)


[jira] [Updated] (STORM-3729) Assigning memory greater and equal than 2048m will make assgin memory for slot values to 1m

2020-12-23 Thread ZhihaoZheng (Jira)


 [ 
https://issues.apache.org/jira/browse/STORM-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ZhihaoZheng updated STORM-3729:
---
Summary: Assigning memory greater and equal than 2048m will make assgin 
memory for slot values to 1m  (was: assign memory greater and equal than 2048m 
will make assgin memory for slot values to 1m)

> Assigning 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
>Priority: Minor
>
> 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)