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 2014/08/23 19:59:15 UTC
Review Request 25011: Views: Creating instance for a view should
respond with 409 conflict if that instance already exists
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25011/
-----------------------------------------------------------
Review request for Ambari, Mahadev Konar and Sumit Mohanty.
Bugs: AMBARI-7002
https://issues.apache.org/jira/browse/AMBARI-7002
Repository: ambari
Description
-------
Creating instance for a view should respond with 409 conflict if that instance already exists
Diffs
-----
ambari-common/src/main/python/resource_management/libraries/providers/hdfs_directory.py 08ac9cd
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/params.py 1b7a154
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs_namenode.py 5395255
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/params.py df40ae2
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/hcat_service_check.py 434af16
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/params.py c1f33de
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/MAPREDUCE/package/scripts/params.py a7e79d5
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/OOZIE/package/scripts/params.py 3c261b6
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/WEBHCAT/package/scripts/params.py a40b074
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/params.py e706769
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_namenode.py f8850c2
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 69b916d
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hcat_service_check.py d7bde73
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/install_jars.py c02dd6e
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py c492f04
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/params.py 5b9df78
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/PIG/package/scripts/params.py 941860b
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/WEBHCAT/package/scripts/params.py dc088e2
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/WEBHCAT/package/scripts/webhcat.py 841a946
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/params.py 8d668d6
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/FALCON/package/scripts/params.py 576980d
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/YARN/package/scripts/params.py f96d2e9
ambari-server/src/main/resources/stacks/HDP/2.1/services/FALCON/package/scripts/params.py 93e292d
ambari-server/src/test/python/stacks/1.3.2/HIVE/test_hive_service_check.py bd2388b
ambari-server/src/test/python/stacks/1.3.2/configs/secured.json c364841
ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_service_check.py f7631dd
ambari-server/src/test/python/stacks/2.0.6/configs/secured.json 44a2b69
ambari-server/src/test/python/stacks/2.1/configs/secured.json b8b840a
Diff: https://reviews.apache.org/r/25011/diff/
Testing
-------
Manual tests.
Added new unit tests. All existing tests pass.
Results :
Tests run: 1937, Failures: 0, Errors: 0, Skipped: 15
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:27.078s
[INFO] Finished at: Sat Aug 23 09:20:44 EDT 2014
[INFO] Final Memory: 21M/123M
[INFO] ------------------------------------------------------------------------
Thanks,
Tom Beerbower
Re: Review Request 25011: Views: Creating instance for a view should
respond with 409 conflict if that instance already exists
Posted by Tom Beerbower <tb...@hortonworks.com>.
> On Aug. 26, 2014, 3:08 p.m., John Speidel wrote:
> > Ship It!
Thanks for the review!
- Tom
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25011/#review51528
-----------------------------------------------------------
On Aug. 25, 2014, 1:16 a.m., Tom Beerbower wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/25011/
> -----------------------------------------------------------
>
> (Updated Aug. 25, 2014, 1:16 a.m.)
>
>
> Review request for Ambari, John Speidel, Mahadev Konar, and Sumit Mohanty.
>
>
> Bugs: AMBARI-7002
> https://issues.apache.org/jira/browse/AMBARI-7002
>
>
> Repository: ambari
>
>
> Description
> -------
>
> Creating instance for a view should respond with 409 conflict if that instance already exists.
>
> Sorry initial diff was wrong file... should be good now.
>
>
> Diffs
> -----
>
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProvider.java 75b0879
> ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java 56a3168
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProviderTest.java 52f0231
>
> Diff: https://reviews.apache.org/r/25011/diff/
>
>
> Testing
> -------
>
> Manual tests.
>
> Added new unit tests. All existing tests pass.
>
>
> Results :
>
> Tests run: 1937, Failures: 0, Errors: 0, Skipped: 15
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 25:27.078s
> [INFO] Finished at: Sat Aug 23 09:20:44 EDT 2014
> [INFO] Final Memory: 21M/123M
> [INFO] ------------------------------------------------------------------------
>
>
> Thanks,
>
> Tom Beerbower
>
>
Re: Review Request 25011: Views: Creating instance for a view should
respond with 409 conflict if that instance already exists
Posted by John Speidel <js...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25011/#review51528
-----------------------------------------------------------
Ship it!
Ship It!
- John Speidel
On Aug. 25, 2014, 1:16 a.m., Tom Beerbower wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/25011/
> -----------------------------------------------------------
>
> (Updated Aug. 25, 2014, 1:16 a.m.)
>
>
> Review request for Ambari, John Speidel, Mahadev Konar, and Sumit Mohanty.
>
>
> Bugs: AMBARI-7002
> https://issues.apache.org/jira/browse/AMBARI-7002
>
>
> Repository: ambari
>
>
> Description
> -------
>
> Creating instance for a view should respond with 409 conflict if that instance already exists.
>
> Sorry initial diff was wrong file... should be good now.
>
>
> Diffs
> -----
>
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProvider.java 75b0879
> ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java 56a3168
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProviderTest.java 52f0231
>
> Diff: https://reviews.apache.org/r/25011/diff/
>
>
> Testing
> -------
>
> Manual tests.
>
> Added new unit tests. All existing tests pass.
>
>
> Results :
>
> Tests run: 1937, Failures: 0, Errors: 0, Skipped: 15
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 25:27.078s
> [INFO] Finished at: Sat Aug 23 09:20:44 EDT 2014
> [INFO] Final Memory: 21M/123M
> [INFO] ------------------------------------------------------------------------
>
>
> Thanks,
>
> Tom Beerbower
>
>
Re: Review Request 25011: Views: Creating instance for a view should
respond with 409 conflict if that instance already exists
Posted by Tom Beerbower <tb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25011/
-----------------------------------------------------------
(Updated Aug. 25, 2014, 1:16 a.m.)
Review request for Ambari, John Speidel, Mahadev Konar, and Sumit Mohanty.
Changes
-------
Sorry initial diff was wrong file... should be good now.
Bugs: AMBARI-7002
https://issues.apache.org/jira/browse/AMBARI-7002
Repository: ambari
Description (updated)
-------
Creating instance for a view should respond with 409 conflict if that instance already exists.
Sorry initial diff was wrong file... should be good now.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProvider.java 75b0879
ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java 56a3168
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProviderTest.java 52f0231
Diff: https://reviews.apache.org/r/25011/diff/
Testing
-------
Manual tests.
Added new unit tests. All existing tests pass.
Results :
Tests run: 1937, Failures: 0, Errors: 0, Skipped: 15
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:27.078s
[INFO] Finished at: Sat Aug 23 09:20:44 EDT 2014
[INFO] Final Memory: 21M/123M
[INFO] ------------------------------------------------------------------------
Thanks,
Tom Beerbower
Re: Review Request 25011: Views: Creating instance for a view should
respond with 409 conflict if that instance already exists
Posted by Tom Beerbower <tb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25011/
-----------------------------------------------------------
(Updated Aug. 25, 2014, 1:15 a.m.)
Review request for Ambari, John Speidel, Mahadev Konar, and Sumit Mohanty.
Bugs: AMBARI-7002
https://issues.apache.org/jira/browse/AMBARI-7002
Repository: ambari
Description
-------
Creating instance for a view should respond with 409 conflict if that instance already exists
Diffs (updated)
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProvider.java 75b0879
ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java 56a3168
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProviderTest.java 52f0231
Diff: https://reviews.apache.org/r/25011/diff/
Testing
-------
Manual tests.
Added new unit tests. All existing tests pass.
Results :
Tests run: 1937, Failures: 0, Errors: 0, Skipped: 15
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:27.078s
[INFO] Finished at: Sat Aug 23 09:20:44 EDT 2014
[INFO] Final Memory: 21M/123M
[INFO] ------------------------------------------------------------------------
Thanks,
Tom Beerbower
Re: Review Request 25011: Views: Creating instance for a view should
respond with 409 conflict if that instance already exists
Posted by Tom Beerbower <tb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25011/
-----------------------------------------------------------
(Updated Aug. 25, 2014, 1:11 a.m.)
Review request for Ambari, John Speidel, Mahadev Konar, and Sumit Mohanty.
Bugs: AMBARI-7002
https://issues.apache.org/jira/browse/AMBARI-7002
Repository: ambari
Description
-------
Creating instance for a view should respond with 409 conflict if that instance already exists
Diffs
-----
ambari-common/src/main/python/resource_management/libraries/providers/hdfs_directory.py 08ac9cd
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/package/scripts/params.py 1b7a154
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs_namenode.py 5395255
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/params.py df40ae2
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/hcat_service_check.py 434af16
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/params.py c1f33de
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/MAPREDUCE/package/scripts/params.py a7e79d5
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/OOZIE/package/scripts/params.py 3c261b6
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/WEBHCAT/package/scripts/params.py a40b074
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/params.py e706769
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_namenode.py f8850c2
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 69b916d
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hcat_service_check.py d7bde73
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/install_jars.py c02dd6e
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py c492f04
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/params.py 5b9df78
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/PIG/package/scripts/params.py 941860b
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/WEBHCAT/package/scripts/params.py dc088e2
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/WEBHCAT/package/scripts/webhcat.py 841a946
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/params.py 8d668d6
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/FALCON/package/scripts/params.py 576980d
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/YARN/package/scripts/params.py f96d2e9
ambari-server/src/main/resources/stacks/HDP/2.1/services/FALCON/package/scripts/params.py 93e292d
ambari-server/src/test/python/stacks/1.3.2/HIVE/test_hive_service_check.py bd2388b
ambari-server/src/test/python/stacks/1.3.2/configs/secured.json c364841
ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_service_check.py f7631dd
ambari-server/src/test/python/stacks/2.0.6/configs/secured.json 44a2b69
ambari-server/src/test/python/stacks/2.1/configs/secured.json b8b840a
Diff: https://reviews.apache.org/r/25011/diff/
Testing
-------
Manual tests.
Added new unit tests. All existing tests pass.
Results :
Tests run: 1937, Failures: 0, Errors: 0, Skipped: 15
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:27.078s
[INFO] Finished at: Sat Aug 23 09:20:44 EDT 2014
[INFO] Final Memory: 21M/123M
[INFO] ------------------------------------------------------------------------
Thanks,
Tom Beerbower