You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by ppoulosk <gi...@git.apache.org> on 2015/10/09 01:09:36 UTC

[GitHub] storm pull request: [STORM-1099] Fix worker childopts as arraylist...

GitHub user ppoulosk opened a pull request:

    https://github.com/apache/storm/pull/791

    [STORM-1099]  Fix worker childopts as arraylist of strings

    This fixes the bug by changing supervisor.clj to operate on any sequential, not just a list.  
    
    A unit test was added to verify that this works.  I ran the unit test without the supervisor change, and it did fail.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ppoulosk/storm STORM-1099

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/791.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 #791
    
----
commit 103125d428e13aed20acbd7881ab8b1aaa423ed9
Author: Paul Poulosky <pp...@yahoo-inc.com>
Date:   2015-10-08T22:51:34Z

    Merge pull request #579 from ppoulosk/YSTORM-2270
    
    [YSTORM-2270]  Fix arraylist of strings as config value for childopts

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: [STORM-1099] Fix worker childopts as arraylist...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/791#issuecomment-146965305
  
    +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: [STORM-1099] Fix worker childopts as arraylist...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/storm/pull/791


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: [STORM-1099] Fix worker childopts as arraylist...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/791#issuecomment-146890241
  
    @ppoulosk your new test seems to be failing with an arity issue.  Please take a look at it.
    
    ```
    classname: backtype.storm.supervisor-test / testname: test-substitute-childopts-happy-path-arraylist
    Uncaught exception, not in assertion.
    expected: nil
      actual: clojure.lang.ArityException: Wrong number of args (5) passed to: supervisor/substitute-childopts
     at clojure.lang.AFn.throwArity (AFn.java:429)
        clojure.lang.AFn.invoke (AFn.java:48)
        backtype.storm.supervisor_test/fn (supervisor_test.clj:584)
        clojure.test$test_var$fn__7670.invoke (test.clj:704)
        clojure.test$test_var.invoke (test.clj:704)
        clojure.test$test_vars$fn__7692$fn__7697.invoke (test.clj:722)
        clojure.test$default_fixture.invoke (test.clj:674)
        clojure.test$test_vars$fn__7692.invoke (test.clj:722)
        clojure.test$default_fixture.invoke (test.clj:674)
        clojure.test$test_vars.invoke (test.clj:718)
        clojure.test$test_all_vars.invoke (test.clj:728)
        clojure.test$test_ns.invoke (test.clj:747)
        clojure.core$map$fn__4553.invoke (core.clj:2624)
        clojure.lang.LazySeq.sval (LazySeq.java:40)
        clojure.lang.LazySeq.seq (LazySeq.java:49)
        clojure.lang.Cons.next (Cons.java:39)
        clojure.lang.RT.boundedLength (RT.java:1735)
        clojure.lang.RestFn.applyTo (RestFn.java:130)
        clojure.core$apply.invoke (core.clj:632)
        clojure.test$run_tests.doInvoke (test.clj:762)
        clojure.lang.RestFn.invoke (RestFn.java:408)
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: [STORM-1099] Fix worker childopts as arraylist...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/791#issuecomment-146963216
  
    +1
    Second test failure is not related to newly added test.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---