You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@aurora.apache.org by Bill Farner <wf...@apache.org> on 2016/04/05 03:49:01 UTC

Review Request 45718: Remove lock-related constructs from the API.

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

Review request for Aurora, Maxim Khutornenko and Zameer Manji.


Repository: aurora


Description
-------

Remove lock-related constructs from the API.


Diffs
-----

  api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
  src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
  src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
  src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
  src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
  src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
  src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
  src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
  src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
  src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
  src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
  src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
  src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
  src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
  src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
  src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
  src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
  src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
  src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
  src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
  src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
  src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
  src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
  src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
  src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 

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


Testing
-------

end-to-end tests are green


Thanks,

Bill Farner


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Zameer Manji <zm...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/#review127219
-----------------------------------------------------------


Ship it!




Ship It!

- Zameer Manji


On April 5, 2016, 2 p.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 2 p.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 2f935da01201cbef095e9d308630e187914f00ff 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java a5446e3c8b666cfb69b8900e298edc16a2288052 
>   src/main/java/org/apache/aurora/scheduler/http/Locks.java 0931289c0753b2dcad473baaf85e47cbf46506cd 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/LocksTest.java 94c3c294737e49f04fe5467d9de6a951d1f78c46 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Stephan Erb <se...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/#review127222
-----------------------------------------------------------


Ship it!




Ship It!

- Stephan Erb


On April 5, 2016, 11 nachm., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 11 nachm.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 2f935da01201cbef095e9d308630e187914f00ff 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java a5446e3c8b666cfb69b8900e298edc16a2288052 
>   src/main/java/org/apache/aurora/scheduler/http/Locks.java 0931289c0753b2dcad473baaf85e47cbf46506cd 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/LocksTest.java 94c3c294737e49f04fe5467d9de6a951d1f78c46 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Aurora ReviewBot <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/#review127218
-----------------------------------------------------------


Ship it!




Master (5109788) is green with this patch.
  ./build-support/jenkins/build.sh

I will refresh this build result if you post a review containing "@ReviewBot retry"

- Aurora ReviewBot


On April 5, 2016, 9 p.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 9 p.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 2f935da01201cbef095e9d308630e187914f00ff 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java a5446e3c8b666cfb69b8900e298edc16a2288052 
>   src/main/java/org/apache/aurora/scheduler/http/Locks.java 0931289c0753b2dcad473baaf85e47cbf46506cd 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/LocksTest.java 94c3c294737e49f04fe5467d9de6a951d1f78c46 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Bill Farner <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/
-----------------------------------------------------------

(Updated April 5, 2016, 2 p.m.)


Review request for Aurora, Maxim Khutornenko and Zameer Manji.


Changes
-------

Removed `/locks` endpoint.


Bugs: AURORA-1581
    https://issues.apache.org/jira/browse/AURORA-1581


Repository: aurora


Description
-------

Remove lock-related constructs from the API.


Diffs (updated)
-----

  RELEASE-NOTES.md 2f935da01201cbef095e9d308630e187914f00ff 
  api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
  src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java a5446e3c8b666cfb69b8900e298edc16a2288052 
  src/main/java/org/apache/aurora/scheduler/http/Locks.java 0931289c0753b2dcad473baaf85e47cbf46506cd 
  src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
  src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
  src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
  src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
  src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
  src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
  src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
  src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
  src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
  src/test/java/org/apache/aurora/scheduler/http/LocksTest.java 94c3c294737e49f04fe5467d9de6a951d1f78c46 
  src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
  src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
  src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
  src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
  src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
  src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
  src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
  src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
  src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
  src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
  src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
  src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
  src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
  src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
  src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 

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


Testing
-------

end-to-end tests are green


Thanks,

Bill Farner


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Bill Farner <wf...@apache.org>.

> On April 5, 2016, 7:06 a.m., Stephan Erb wrote:
> > Just checking my understanding here:
> > 
> > * the ticket reads like we first have to deprecate the locks, and then remove them. This review request seems to do this in one sitting. This is considered ok, because thrift will guarantee that an old client can always talk to the new scheduler that does not know about locks?
> > * in how far is the `/locks` endpoint of the scheduler affected by this change? Will it still be around but only show information for on-going updates?
> 
> Maxim Khutornenko wrote:
>     > the ticket reads like we first have to deprecate the locks, and then remove them. This review request seems to do this in one sitting.
>     
>     I think it's ok to remove locks from thrift at this point as those were effectively deprecated with client updater removal. Nothing should using locks outside of the scheduler updater now.
>     
>     > in how far is the /locks endpoint of the scheduler affected by this change? Will it still be around but only show information for on-going updates?
>     
>     +1 to dropping /locks in this RB. We can always query outstanding locks if needed via /h2console.

> +1 to dropping /locks in this RB

Sounds good, i was on the fence on this anyhow.  Please feel free to review in the meantime.


- Bill


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


On April 4, 2016, 7:09 p.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 4, 2016, 7:09 p.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 1df0345fac6ec6da92be15eb246c6957dea066bf 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Maxim Khutornenko <ma...@apache.org>.

> On April 5, 2016, 2:06 p.m., Stephan Erb wrote:
> > Just checking my understanding here:
> > 
> > * the ticket reads like we first have to deprecate the locks, and then remove them. This review request seems to do this in one sitting. This is considered ok, because thrift will guarantee that an old client can always talk to the new scheduler that does not know about locks?
> > * in how far is the `/locks` endpoint of the scheduler affected by this change? Will it still be around but only show information for on-going updates?
> 
> Maxim Khutornenko wrote:
>     > the ticket reads like we first have to deprecate the locks, and then remove them. This review request seems to do this in one sitting.
>     
>     I think it's ok to remove locks from thrift at this point as those were effectively deprecated with client updater removal. Nothing should using locks outside of the scheduler updater now.
>     
>     > in how far is the /locks endpoint of the scheduler affected by this change? Will it still be around but only show information for on-going updates?
>     
>     +1 to dropping /locks in this RB. We can always query outstanding locks if needed via /h2console.
> 
> Bill Farner wrote:
>     > +1 to dropping /locks in this RB
>     
>     Sounds good, i was on the fence on this anyhow.  Please feel free to review in the meantime.

I went through it earlier, lgtm.


- Maxim


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


On April 5, 2016, 2:09 a.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 2:09 a.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 1df0345fac6ec6da92be15eb246c6957dea066bf 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Maxim Khutornenko <ma...@apache.org>.

> On April 5, 2016, 2:06 p.m., Stephan Erb wrote:
> > Just checking my understanding here:
> > 
> > * the ticket reads like we first have to deprecate the locks, and then remove them. This review request seems to do this in one sitting. This is considered ok, because thrift will guarantee that an old client can always talk to the new scheduler that does not know about locks?
> > * in how far is the `/locks` endpoint of the scheduler affected by this change? Will it still be around but only show information for on-going updates?

> the ticket reads like we first have to deprecate the locks, and then remove them. This review request seems to do this in one sitting.

I think it's ok to remove locks from thrift at this point as those were effectively deprecated with client updater removal. Nothing should using locks outside of the scheduler updater now.

> in how far is the /locks endpoint of the scheduler affected by this change? Will it still be around but only show information for on-going updates?

+1 to dropping /locks in this RB. We can always query outstanding locks if needed via /h2console.


- Maxim


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


On April 5, 2016, 2:09 a.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 2:09 a.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 1df0345fac6ec6da92be15eb246c6957dea066bf 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Bill Farner <wf...@apache.org>.

> On April 5, 2016, 7:06 a.m., Stephan Erb wrote:
> > Just checking my understanding here:
> > 
> > * the ticket reads like we first have to deprecate the locks, and then remove them. This review request seems to do this in one sitting. This is considered ok, because thrift will guarantee that an old client can always talk to the new scheduler that does not know about locks?
> > * in how far is the `/locks` endpoint of the scheduler affected by this change? Will it still be around but only show information for on-going updates?
> 
> Maxim Khutornenko wrote:
>     > the ticket reads like we first have to deprecate the locks, and then remove them. This review request seems to do this in one sitting.
>     
>     I think it's ok to remove locks from thrift at this point as those were effectively deprecated with client updater removal. Nothing should using locks outside of the scheduler updater now.
>     
>     > in how far is the /locks endpoint of the scheduler affected by this change? Will it still be around but only show information for on-going updates?
>     
>     +1 to dropping /locks in this RB. We can always query outstanding locks if needed via /h2console.
> 
> Bill Farner wrote:
>     > +1 to dropping /locks in this RB
>     
>     Sounds good, i was on the fence on this anyhow.  Please feel free to review in the meantime.
> 
> Maxim Khutornenko wrote:
>     I went through it earlier, lgtm.

To elaborate on Maxim's justification for immediate removal - the only advertised behavior using this was the client-side updater, which has been gone for several releases.  If we were exposing a true first-class API, i would agree that we would need a proper deprecation period.


- Bill


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


On April 4, 2016, 7:09 p.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 4, 2016, 7:09 p.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 1df0345fac6ec6da92be15eb246c6957dea066bf 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Stephan Erb <se...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/#review127098
-----------------------------------------------------------



Just checking my understanding here:

* the ticket reads like we first have to deprecate the locks, and then remove them. This review request seems to do this in one sitting. This is considered ok, because thrift will guarantee that an old client can always talk to the new scheduler that does not know about locks?
* in how far is the `/locks` endpoint of the scheduler affected by this change? Will it still be around but only show information for on-going updates?

- Stephan Erb


On April 5, 2016, 4:09 a.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 4:09 a.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 1df0345fac6ec6da92be15eb246c6957dea066bf 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Aurora ReviewBot <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/#review127010
-----------------------------------------------------------


Ship it!




Master (f402899) is green with this patch.
  ./build-support/jenkins/build.sh

I will refresh this build result if you post a review containing "@ReviewBot retry"

- Aurora ReviewBot


On April 5, 2016, 2:09 a.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 2:09 a.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 1df0345fac6ec6da92be15eb246c6957dea066bf 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Maxim Khutornenko <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/#review127213
-----------------------------------------------------------


Ship it!




Mod dropping /locks endpoint.

- Maxim Khutornenko


On April 5, 2016, 2:09 a.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 2:09 a.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   RELEASE-NOTES.md 1df0345fac6ec6da92be15eb246c6957dea066bf 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Bill Farner <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/
-----------------------------------------------------------

(Updated April 4, 2016, 7:09 p.m.)


Review request for Aurora, Maxim Khutornenko and Zameer Manji.


Bugs: AURORA-1581
    https://issues.apache.org/jira/browse/AURORA-1581


Repository: aurora


Description
-------

Remove lock-related constructs from the API.


Diffs (updated)
-----

  RELEASE-NOTES.md 1df0345fac6ec6da92be15eb246c6957dea066bf 
  api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
  src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
  src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
  src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
  src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
  src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
  src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
  src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
  src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
  src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
  src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
  src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
  src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
  src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
  src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
  src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
  src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
  src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
  src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
  src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
  src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
  src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
  src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
  src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
  src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 

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


Testing
-------

end-to-end tests are green


Thanks,

Bill Farner


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Bill Farner <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/
-----------------------------------------------------------

(Updated April 4, 2016, 7:04 p.m.)


Review request for Aurora, Maxim Khutornenko and Zameer Manji.


Changes
-------

added a release notes entry


Bugs: AURORA-1581
    https://issues.apache.org/jira/browse/AURORA-1581


Repository: aurora


Description
-------

Remove lock-related constructs from the API.


Diffs (updated)
-----

  RELEASE-NOTES.md 1df0345fac6ec6da92be15eb246c6957dea066bf 
  api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
  src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
  src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
  src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
  src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
  src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
  src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
  src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
  src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
  src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
  src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
  src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
  src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
  src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
  src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
  src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
  src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
  src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
  src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
  src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
  src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
  src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
  src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
  src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
  src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 

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


Testing
-------

end-to-end tests are green


Thanks,

Bill Farner


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Aurora ReviewBot <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/#review127004
-----------------------------------------------------------


Ship it!




Master (f402899) is green with this patch.
  ./build-support/jenkins/build.sh

I will refresh this build result if you post a review containing "@ReviewBot retry"

- Aurora ReviewBot


On April 5, 2016, 1:50 a.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45718/
> -----------------------------------------------------------
> 
> (Updated April 5, 2016, 1:50 a.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Zameer Manji.
> 
> 
> Bugs: AURORA-1581
>     https://issues.apache.org/jira/browse/AURORA-1581
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove lock-related constructs from the API.
> 
> 
> Diffs
> -----
> 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
>   src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
>   src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
>   src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
>   src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
>   src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
>   src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
>   src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
>   src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
>   src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
>   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
>   src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
>   src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
>   src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
>   src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
>   src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
>   src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
>   src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
>   src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
>   src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
>   src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
>   src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
>   src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
>   src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 
> 
> Diff: https://reviews.apache.org/r/45718/diff/
> 
> 
> Testing
> -------
> 
> end-to-end tests are green
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 45718: Remove lock-related constructs from the API.

Posted by Bill Farner <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45718/
-----------------------------------------------------------

(Updated April 4, 2016, 6:50 p.m.)


Review request for Aurora, Maxim Khutornenko and Zameer Manji.


Bugs: AURORA-1581
    https://issues.apache.org/jira/browse/AURORA-1581


Repository: aurora


Description
-------

Remove lock-related constructs from the API.


Diffs
-----

  api/src/main/thrift/org/apache/aurora/gen/api.thrift d4b8904031e6671a8083cac9b82d934377797fe2 
  src/main/java/org/apache/aurora/scheduler/state/LockManager.java 07de8fc0458cc3a2b2c49bc6962056ae5d5bbe9c 
  src/main/java/org/apache/aurora/scheduler/state/LockManagerImpl.java 6da6c69945fc42def801fd7dfa988304966349ba 
  src/main/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImpl.java 113af6a50cd5b36d3c640209b8fd222e6f866b61 
  src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java 7eda474622388eb41695b65a4b349f416409a467 
  src/main/java/org/apache/aurora/scheduler/thrift/aop/AnnotatedAuroraAdmin.java f2f69f9d7c34bbd24aaa7cb90455f32ebf9aa2cd 
  src/main/python/apache/aurora/admin/admin.py 62a2302e58051670fd2a083ba87ccabe7dcf06c4 
  src/main/python/apache/aurora/client/api/__init__.py c5469bd89e57465e75a7c20c897a0bf9ce23c6f7 
  src/main/python/apache/aurora/client/api/restarter.py cd63311c0f1ca726a7145f1fdba8e772b6db6bbe 
  src/main/python/apache/aurora/client/hooks/hooked_api.py 300071f4df4761e2e4e5de61e8bf5c9e44d895cb 
  src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java f14d405ea3975d1045b62a77238b420dbb6cf3a8 
  src/test/java/org/apache/aurora/scheduler/http/api/security/HttpSecurityIT.java dbec26ffb852c7804365467fbc00bb4efe19f2fb 
  src/test/java/org/apache/aurora/scheduler/http/api/security/ShiroAuthorizingParamInterceptorTest.java a70473074c3cf21e4395241217b6b3f694f346ea 
  src/test/java/org/apache/aurora/scheduler/state/LockManagerImplTest.java a146e4005943a58e0d2df0773fc10e6489c12daa 
  src/test/java/org/apache/aurora/scheduler/thrift/Fixtures.java be98f3862d537602c05275ba2466e2fdbf5e9b55 
  src/test/java/org/apache/aurora/scheduler/thrift/ReadOnlySchedulerImplTest.java fcb5c2274d7636b5b94713e58d97de8d7cbd66a5 
  src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java 85ca86cb333ec023c0cfd8379ac3308b83b6686f 
  src/test/java/org/apache/aurora/scheduler/thrift/ThriftIT.java 80e8ebea0c555b478810e9c9f35862dbb7e191a0 
  src/test/python/apache/aurora/admin/test_admin.py 22605ec8c28cf6d3b66c3dacc9634776d0afe8ff 
  src/test/python/apache/aurora/api_util.py 4bb306fe577864c8611b6a34466b2189d903f103 
  src/test/python/apache/aurora/client/api/test_api.py c066ae7a05fbabaf7800d12459a743772366cbaa 
  src/test/python/apache/aurora/client/api/test_restarter.py a75981c46048d5fb360e5af51026a776ec396592 
  src/test/python/apache/aurora/client/api/test_scheduler_client.py bed800d838d63ef76ec8f48d7c34cc0b165c26a2 
  src/test/python/apache/aurora/client/cli/test_restart.py fb4afcf7a3a395cc6400191183b54b9a68fa1964 
  src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py ca20ba5722c968583f31384326627936a39a1200 

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


Testing
-------

end-to-end tests are green


Thanks,

Bill Farner