ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 26926: Download client configs not working, returns 404
Date Mon, 20 Oct 2014 15:26:14 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message