You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2014/10/20 16:32:20 UTC
Review Request 26926: Download client configs not working, returns 404
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26926/
-----------------------------------------------------------
Review request for Ambari, Dmytro Sen and Myroslav Papirkovskyy.
Bugs: AMBARI-7860
https://issues.apache.org/jira/browse/AMBARI-7860
Repository: ambari
Description
-------
In Ambari 1.7.0, going to any installed service and attempting to download its client configs from the website is not working.
Example of requests sent,
http://c6404.ambari.apache.org:8080/api/v1/clusters/dev/services/TEZ/components/TEZ_CLIENT?format=client_config_tar
http://c6404.ambari.apache.org:8080/api/v1/clusters/dev/services/HDFS/components/HDFS_CLIENT?format=client_config_tar
which returns
{
"status" : 404,
"message" : "The requested resource doesn't exist: ClientConfig not found, ServiceComponentInfo/service_name=HDFS AND ServiceComponentInfo/component_name=HDFS_CLIENT AND ServiceComponentInfo/cluster_name=dev"
}
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java 312f23f
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java 14f5082
Diff: https://reviews.apache.org/r/26926/diff/
Testing
-------
in progress
Thanks,
Dmitro Lisnichenko
Re: Review Request 26926: Download client configs not working,
returns 404
Posted by Myroslav Papirkovskyy <mp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26926/#review57323
-----------------------------------------------------------
Ship it!
Ship It!
- Myroslav Papirkovskyy
On Жов. 20, 2014, 5:32 після полудня, Dmitro Lisnichenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26926/
> -----------------------------------------------------------
>
> (Updated Жов. 20, 2014, 5:32 після полудня)
>
>
> Review request for Ambari, Dmytro Sen and Myroslav Papirkovskyy.
>
>
> Bugs: AMBARI-7860
> https://issues.apache.org/jira/browse/AMBARI-7860
>
>
> Repository: ambari
>
>
> Description
> -------
>
> In Ambari 1.7.0, going to any installed service and attempting to download its client configs from the website is not working.
> Example of requests sent,
> http://c6404.ambari.apache.org:8080/api/v1/clusters/dev/services/TEZ/components/TEZ_CLIENT?format=client_config_tar
> http://c6404.ambari.apache.org:8080/api/v1/clusters/dev/services/HDFS/components/HDFS_CLIENT?format=client_config_tar
> which returns
> {
> "status" : 404,
> "message" : "The requested resource doesn't exist: ClientConfig not found, ServiceComponentInfo/service_name=HDFS AND ServiceComponentInfo/component_name=HDFS_CLIENT AND ServiceComponentInfo/cluster_name=dev"
> }
>
>
> Diffs
> -----
>
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java 312f23f
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java 14f5082
>
> Diff: https://reviews.apache.org/r/26926/diff/
>
>
> Testing
> -------
>
> in progress
>
>
> Thanks,
>
> Dmitro Lisnichenko
>
>
Re: Review Request 26926: Download client configs not working,
returns 404
Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26926/#review57324
-----------------------------------------------------------
Ship it!
Ship It!
- Dmytro Sen
On Окт. 20, 2014, 2:32 п.п., Dmitro Lisnichenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26926/
> -----------------------------------------------------------
>
> (Updated Окт. 20, 2014, 2:32 п.п.)
>
>
> Review request for Ambari, Dmytro Sen and Myroslav Papirkovskyy.
>
>
> Bugs: AMBARI-7860
> https://issues.apache.org/jira/browse/AMBARI-7860
>
>
> Repository: ambari
>
>
> Description
> -------
>
> In Ambari 1.7.0, going to any installed service and attempting to download its client configs from the website is not working.
> Example of requests sent,
> http://c6404.ambari.apache.org:8080/api/v1/clusters/dev/services/TEZ/components/TEZ_CLIENT?format=client_config_tar
> http://c6404.ambari.apache.org:8080/api/v1/clusters/dev/services/HDFS/components/HDFS_CLIENT?format=client_config_tar
> which returns
> {
> "status" : 404,
> "message" : "The requested resource doesn't exist: ClientConfig not found, ServiceComponentInfo/service_name=HDFS AND ServiceComponentInfo/component_name=HDFS_CLIENT AND ServiceComponentInfo/cluster_name=dev"
> }
>
>
> Diffs
> -----
>
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java 312f23f
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java 14f5082
>
> Diff: https://reviews.apache.org/r/26926/diff/
>
>
> Testing
> -------
>
> in progress
>
>
> Thanks,
>
> Dmitro Lisnichenko
>
>
Re: Review Request 26926: Download client configs not working,
returns 404
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26926/
-----------------------------------------------------------
(Updated Oct. 20, 2014, 3:26 p.m.)
Review request for Ambari, Dmytro Sen and Myroslav Papirkovskyy.
Bugs: AMBARI-7860
https://issues.apache.org/jira/browse/AMBARI-7860
Repository: ambari
Description
-------
In Ambari 1.7.0, going to any installed service and attempting to download its client configs from the website is not working.
Example of requests sent,
http://c6404.ambari.apache.org:8080/api/v1/clusters/dev/services/TEZ/components/TEZ_CLIENT?format=client_config_tar
http://c6404.ambari.apache.org:8080/api/v1/clusters/dev/services/HDFS/components/HDFS_CLIENT?format=client_config_tar
which returns
{
"status" : 404,
"message" : "The requested resource doesn't exist: ClientConfig not found, ServiceComponentInfo/service_name=HDFS AND ServiceComponentInfo/component_name=HDFS_CLIENT AND ServiceComponentInfo/cluster_name=dev"
}
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java 312f23f
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java 14f5082
Diff: https://reviews.apache.org/r/26926/diff/
Testing (updated)
-------
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [3.776s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.257s]
[INFO] Ambari Web ........................................ SUCCESS [41.033s]
[INFO] Ambari Views ...................................... SUCCESS [2.424s]
[INFO] Ambari Admin View ................................. SUCCESS [10.009s]
[INFO] Ambari Server ..................................... SUCCESS [23:16.315s]
[INFO] Ambari Agent ...................................... SUCCESS [19.915s]
[INFO] Ambari Client ..................................... SUCCESS [0.039s]
[INFO] Ambari Python Client .............................. SUCCESS [0.349s]
[INFO] Ambari Groovy Client .............................. SUCCESS [8.145s]
[INFO] Ambari Shell ...................................... SUCCESS [0.038s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.058s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [5.897s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24:48.872s
[INFO] Finished at: Mon Oct 20 18:23:46 FET 2014
[INFO] Final Memory: 48M/374M
[INFO] ------------------------------------------------------------------------
Thanks,
Dmitro Lisnichenko