[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14994420#comment-14994420 ] Robert Joseph Evans commented on STORM-1121: I merged the pull request to deprecate the config into 0.10.x-branch. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug > Components: storm-core >Reporter: Kishor Patil >Assignee: Kishor Patil > Fix For: 0.11.0 > > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972227#comment-14972227 ] ASF GitHub Bot commented on STORM-1121: --- Github user asfgit closed the pull request at: https://github.com/apache/storm/pull/810 > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972225#comment-14972225 ] ASF GitHub Bot commented on STORM-1121: --- Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150730065 @kishorvpatil Amazing! +1. Test failure is unrelated. (Kafka) > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972220#comment-14972220 ] ASF GitHub Bot commented on STORM-1121: --- Github user kishorvpatil commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150729673 @HeartSaVioR - Modified to make "nimbus.reassign" unavailable for users. - Created #815 to decommission variable for 0.10.x branch. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972062#comment-14972062 ] ASF GitHub Bot commented on STORM-1121: --- Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150712631 @kishorvpatil No, just marking ```nimbus.reassign``` option as deprecate and leave proper reason from 0.10.x would be fine. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972035#comment-14972035 ] ASF GitHub Bot commented on STORM-1121: --- Github user kishorvpatil commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150711148 @HeartSaVioR I complete agree with decommissioning this configuration used only for testing. It should be unavailable for users. Let me deprecate this variable and add documentation. Are you suggesting we push this change to 0.10.x as well? > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971987#comment-14971987 ] ASF GitHub Bot commented on STORM-1121: --- Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150705382 @kishorvpatil With this change users have no option to turn off reassign since it makes cluster unusable (cluster cannot run topology unless user calls other operation which triggers mk-assignments) , so I think it should be not selectable to users. If we need ```nimbus.reassign``` just for testing, we should deprecate this option to 0.10.x and hide this option. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971953#comment-14971953 ] ASF GitHub Bot commented on STORM-1121: --- Github user kishorvpatil commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150703213 @HeartSaVioR I don't think we can remove `NIMBUS-REASSIGN` as it used mostly during supervisor_test to avoid rescheduling with value `false`. The documentation clearly advises users to not set this value to `false`. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971942#comment-14971942 ] ASF GitHub Bot commented on STORM-1121: --- Github user kishorvpatil commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150702270 @HeartSaVioR Removed rebalance calls at places where I could use simulated time cluster. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971937#comment-14971937 ] ASF GitHub Bot commented on STORM-1121: --- Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150701869 @kishorvpatil Good, I didn't think about mocking. Your additional changes look great. Just I wish to discuss how we can do with ```nimbus.reassign```. If my understand is right, what if user turns off ```nimbus.reassign``` so that recurring is not in place? And maybe minor but what if user set ```nimbus.monitor.freq.secs``` a bit higher so that recurring interval is also longer? > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971922#comment-14971922 ] ASF GitHub Bot commented on STORM-1121: --- Github user kishorvpatil commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150699962 @HeartSaVioR I tried that for supervisor_test.clj, somehow mocking of submit topologies etc.methods don't make it easy. It seems straight forward to rebalance and proceed.( usually because moving time forward will also require you to send all necessary heartbeats etc.) > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971900#comment-14971900 ] ASF GitHub Bot commented on STORM-1121: --- Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150699176 @kishorvpatil Seems like some places in the tests still rely on rebalance. Could we change these to use simulated-time cluster as well when possible? > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971889#comment-14971889 ] ASF GitHub Bot commented on STORM-1121: --- Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150697902 @kishorvpatil Test changes look good. @kishorvpatil @revans2 I'd like to see my previous comment (https://github.com/apache/storm/pull/810#issuecomment-150047429) makes sense, and if it does, I think we should address these things. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971699#comment-14971699 ] ASF GitHub Bot commented on STORM-1121: --- Github user revans2 commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150671588 The changes look good I am +1, and time travis took is about the same as before. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971658#comment-14971658 ] ASF GitHub Bot commented on STORM-1121: --- Github user kishorvpatil commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150667453 @HeartSaVioR Thank you for review and suggestions. I have made changes so that our tests are using simulated-time cluster to avoid `Thread/sleep`. Please revisit the code and let me know if you have any further suggestions/questions. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968155#comment-14968155 ] ASF GitHub Bot commented on STORM-1121: --- Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150051486 @kishorvpatil rebalance seems not work cause it requires topology to be alive at the moment. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968137#comment-14968137 ] ASF GitHub Bot commented on STORM-1121: --- Github user kishorvpatil commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150049582 @HeartSaVioR looking into compilation issue. Somehow it did not get committed. Re-running the build. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968116#comment-14968116 ] ASF GitHub Bot commented on STORM-1121: --- Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150047429 I also love the concept. Btw, in order to rely on recurring mk-assignments, - We should remove ```nimbus.reassign``` since it should be true for new topologies to be assigned. We can't change ```when statement``` cause it makes nimbus.reassign ineffective. - It would be better to let users know that new topology will be assigned by nimbus not at the moment but within ```nimbus.monitor.freq.secs```. ``` (schedule-recurring (:timer nimbus) 0 (conf NIMBUS-MONITOR-FREQ-SECS) (fn [] (when (conf NIMBUS-REASSIGN) (locking (:submit-lock nimbus) (mk-assignments nimbus))) (do-cleanup nimbus) )) ``` > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968106#comment-14968106 ] ASF GitHub Bot commented on STORM-1121: --- Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-150045478 @kishorvpatil You may want to check Travis build failure, seems like there's a missing spot. > Exception in thread "main" java.lang.IllegalArgumentException: Unable to resolve classname: RebalanceOptions, compiling:(backtype/storm/transactional_test.clj:417:26) > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14967689#comment-14967689 ] ASF GitHub Bot commented on STORM-1121: --- Github user revans2 commented on the pull request: https://github.com/apache/storm/pull/810#issuecomment-149996906 I love the concept, but I would like to see the tests updated so we are not adding several mins to the time it takes to run the unit tests. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14967654#comment-14967654 ] ASF GitHub Bot commented on STORM-1121: --- Github user revans2 commented on a diff in the pull request: https://github.com/apache/storm/pull/810#discussion_r42666392 --- Diff: storm-core/test/clj/backtype/storm/integration_test.clj --- @@ -236,6 +237,7 @@ "acking-test1" {} (:topology tracked)) + (Thread/sleep 11000) --- End diff -- Is there a way we can force mk-assignments to be called? I don't really like adding around 1 min to the time it takes to run the tests needlessly. > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (STORM-1121) Improve Nimbus Topology submission time
[ https://issues.apache.org/jira/browse/STORM-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14967521#comment-14967521 ] ASF GitHub Bot commented on STORM-1121: --- GitHub user kishorvpatil opened a pull request: https://github.com/apache/storm/pull/810 [STORM-1121] Remove method call to avoid overhead during topology submission time Nimbus calls mk-assignments from SubmitTopology within lock is causing it to wait for processing of all heartbeats. This conflicts with recurring mk-assignments call. Topology can be submitted without making assignments, since for new topology the assignments would be made available as part of next scheduling cycle.). This gives more consistent response time as avoid locking within nimbus. You can merge this pull request into a Git repository by running: $ git pull https://github.com/kishorvpatil/incubator-storm STORM-1121 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/810.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #810 commit 1593a374a4a381238f39fd9b0d078586d1aaa305 Author: Kishor Patil Date: 2015-10-19T23:32:18Z Remove method call to avoid overhead during topology submission time > Improve Nimbus Topology submission time > --- > > Key: STORM-1121 > URL: https://issues.apache.org/jira/browse/STORM-1121 > Project: Apache Storm > Issue Type: Bug >Reporter: Kishor Patil >Assignee: Kishor Patil > > It appears, nimbus is blocking itself as active topologies count goes up. It > increases submitTopology response time exponentially for submission of newer > topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)