You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2017/04/25 10:29:16 UTC

Review Request 58696: Client configs downloaded via Ambari are empty with non-root ambari-server

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

* Deploy HA cluster with Ambari-2.5.1.0-24 bits with HDP-2.6.1.0 (reproducible with HDP-2.6.0.3 as well).
  * Try to download client configs from Ambari ui - from Service Actions dropdown or Download All Client configs in Actions dropdown or from Hosts page
  * It downloads tar file but file seems to be empty.  
Please help take a look.  
Artifacts of this run can be found [here](http://qelog.hortonworks.com/log
/nat-yc-r6-gyas-ambari-config-5/test-logs/ambari-config/artifacts/screenshots/
com.hw.ambari.ui.tests.monitoring.TestDownloadConfigurations/testA_DownloadCli
entConfigurationsOnServicesTab/_18_13_54_43_Downloaded_Archive_from_Service_pa
ge__tmp_YARN_CLIENT_configs_tar_gz_have_not_same_coun/)


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/script/script.py e329236 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java 446ca14 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py fc80849 


Diff: https://reviews.apache.org/r/58696/diff/1/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 58696: Client configs downloaded via Ambari are empty with non-root ambari-server

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58696/#review172907
-----------------------------------------------------------


Ship it!




Ship It!

- Vitalyi Brodetskyi


On \u041a\u0432\u0456\u0442\u0435\u043d\u044c 25, 2017, 10:29 \u0434\u043e \u043f\u043e\u043b\u0443\u0434\u043d\u044f, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58696/
> -----------------------------------------------------------
> 
> (Updated \u041a\u0432\u0456\u0442\u0435\u043d\u044c 25, 2017, 10:29 \u0434\u043e \u043f\u043e\u043b\u0443\u0434\u043d\u044f)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-20843
>     https://issues.apache.org/jira/browse/AMBARI-20843
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> * Deploy HA cluster with Ambari-2.5.1.0-24 bits with HDP-2.6.1.0 (reproducible with HDP-2.6.0.3 as well).
>   * Try to download client configs from Ambari ui - from Service Actions dropdown or Download All Client configs in Actions dropdown or from Hosts page
>   * It downloads tar file but file seems to be empty.  
> Please help take a look.  
> Artifacts of this run can be found [here](http://qelog.hortonworks.com/log
> /nat-yc-r6-gyas-ambari-config-5/test-logs/ambari-config/artifacts/screenshots/
> com.hw.ambari.ui.tests.monitoring.TestDownloadConfigurations/testA_DownloadCli
> entConfigurationsOnServicesTab/_18_13_54_43_Downloaded_Archive_from_Service_pa
> ge__tmp_YARN_CLIENT_configs_tar_gz_have_not_same_coun/)
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/libraries/script/script.py e329236 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java 446ca14 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py fc80849 
> 
> 
> Diff: https://reviews.apache.org/r/58696/diff/1/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>