You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Tom Beerbower <tb...@hortonworks.com> on 2015/05/11 21:23:09 UTC

Review Request 34053: IllegalStateException: Work already begun on this thread.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34053/
-----------------------------------------------------------

Review request for Ambari, Jonathan Hurley, Nate Cole, and Srimanth Gunturi.


Bugs: AMBARI-11045
    https://issues.apache.org/jira/browse/AMBARI-11045


Repository: ambari


Description
-------

After making an API request for a view, we sometimes see the exception ...

{code}
java.lang.IllegalStateException: Work already begun on this thread. Looks like you have called UnitOfWork.begin() twice without a balancing call to end() in between.
{code}


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariHandlerList.java 607da10 
  ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariHandlerListTest.java dba9147 

Diff: https://reviews.apache.org/r/34053/diff/


Testing
-------

Manual testing.

Updated existing unit tests.

mvn clean test


Thanks,

Tom Beerbower


Re: Review Request 34053: IllegalStateException: Work already begun on this thread.

Posted by Jonathan Hurley <jh...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34053/#review83273
-----------------------------------------------------------

Ship it!


Ship It!

- Jonathan Hurley


On May 11, 2015, 3:23 p.m., Tom Beerbower wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34053/
> -----------------------------------------------------------
> 
> (Updated May 11, 2015, 3:23 p.m.)
> 
> 
> Review request for Ambari, Jonathan Hurley, Nate Cole, and Srimanth Gunturi.
> 
> 
> Bugs: AMBARI-11045
>     https://issues.apache.org/jira/browse/AMBARI-11045
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After making an API request for a view, we sometimes see the exception ...
> 
> {code}
> java.lang.IllegalStateException: Work already begun on this thread. Looks like you have called UnitOfWork.begin() twice without a balancing call to end() in between.
> {code}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariHandlerList.java 607da10 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariHandlerListTest.java dba9147 
> 
> Diff: https://reviews.apache.org/r/34053/diff/
> 
> 
> Testing
> -------
> 
> Manual testing.
> 
> Updated existing unit tests.
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Tom Beerbower
> 
>


Re: Review Request 34053: IllegalStateException: Work already begun on this thread.

Posted by Nate Cole <nc...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34053/#review83271
-----------------------------------------------------------

Ship it!


Ship It!

- Nate Cole


On May 11, 2015, 3:23 p.m., Tom Beerbower wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34053/
> -----------------------------------------------------------
> 
> (Updated May 11, 2015, 3:23 p.m.)
> 
> 
> Review request for Ambari, Jonathan Hurley, Nate Cole, and Srimanth Gunturi.
> 
> 
> Bugs: AMBARI-11045
>     https://issues.apache.org/jira/browse/AMBARI-11045
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After making an API request for a view, we sometimes see the exception ...
> 
> {code}
> java.lang.IllegalStateException: Work already begun on this thread. Looks like you have called UnitOfWork.begin() twice without a balancing call to end() in between.
> {code}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariHandlerList.java 607da10 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariHandlerListTest.java dba9147 
> 
> Diff: https://reviews.apache.org/r/34053/diff/
> 
> 
> Testing
> -------
> 
> Manual testing.
> 
> Updated existing unit tests.
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Tom Beerbower
> 
>