----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46152/ -----------------------------------------------------------
(Updated April 22, 2016, 6:02 p.m.) Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Robert Nettleton, Sandor Magyari, Sumit Mohanty, and Sebastian Toader. Changes ------- - updated python tests Bugs: AMBARI-15865 https://issues.apache.org/jira/browse/AMBARI-15865 Repository: ambari Description ------- Create a small ambari solr client (and rpm/deb), for logsearch solr. The goal is the create a client which can be used for another services to access zookeeper/solr and create their own collections in logsearch solr. (e.g. for ATLAS or RANGER) Diffs (updated) ----- ambari-common/src/main/python/resource_management/libraries/functions/package_conditions.py 1544ffe ambari-common/src/main/python/resource_management/libraries/functions/solr_cloud_util.py PRE-CREATION ambari-logsearch/ambari-logsearch-assembly/pom.xml 2db0608 ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/appender/control b853f13 ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/appender/postinst 21a01fa ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/appender/postrm 21a01fa ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/appender/posttrm 21a01fa ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/appender/preinst 21a01fa ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/appender/prerm 21a01fa ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/solr-client/control PRE-CREATION ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/solr-client/postinst PRE-CREATION ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/solr-client/postrm PRE-CREATION ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/solr-client/preinst PRE-CREATION ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/solr-client/prerm PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/build.xml PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/pom.xml PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/AmbariSolrCloudCLI.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/AmbariSolrCloudClient.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/AmbariSolrCloudClientBuilder.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/AmbariSolrCloudClientException.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/AbstractRetryCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/AbstractSolrRetryCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/AbstractZookeeperRetryCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/CheckConfigZkCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/CreateCollectionCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/CreateShardCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/DownloadConfigZkCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/GetShardsCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/ListCollectionCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/commands/UploadConfigZkCommand.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/java/org/apache/ambari/logsearch/solr/util/ShardUtils.java PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/resources/log4j.properties PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/main/resources/solrCloudCli.sh PRE-CREATION ambari-logsearch/ambari-logsearch-solr-client/src/test/java/org/apache/ambari/logsearch/solr/AmbariSolrCloudClientTest.java PRE-CREATION ambari-logsearch/pom.xml 475de9f ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/configuration/logfeeder-env.xml 93311fb ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/configuration/logsearch-env.xml 1a5f4d3 ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/configuration/logsearch-solr-env.xml c54db90 ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/metainfo.xml 5966704 ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/logsearch_solr.py PRE-CREATION ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/logsearch_solr_client.py PRE-CREATION ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py b461b1f ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/setup_logsearch.py c1a8cc7 ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/setup_logsearch_solr.py PRE-CREATION ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/setup_solr.py 0171e36 ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/solr.py ecb48c8 ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/solr-client-log4j.properties.j2 PRE-CREATION ambari-server/src/main/resources/stacks/HDP/2.3/services/LOGSEARCH/role_command_order.json 688186b ambari-server/src/test/python/stacks/2.4/LOGSEARCH/test_logsearch.py 1a25aa9 ambari-server/src/test/python/stacks/2.4/LOGSEARCH/test_solr.py 977cd9c ambari-server/src/test/python/stacks/2.4/configs/default.json 1c67272 ambari-web/app/data/HDP2/site_properties.js 19e0931 Diff: https://reviews.apache.org/r/46152/diff/ Testing (updated) ------- Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.917 sec - in org.apache.ambari.logsearch.solr.AmbariSolrCloudClientTest python tests: Total run:995 Total errors:0 Total failures:0 Thanks, Oliver Szabo