You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2018/07/10 14:33:08 UTC
[ambari] branch trunk updated: AMBARI-23945. Infra Solr migration:
REQUESTSTATUS response content type is xml instead of json (#1737)
This is an automated email from the ASF dual-hosted git repository.
oleewere pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 68188d2 AMBARI-23945. Infra Solr migration: REQUESTSTATUS response content type is xml instead of json (#1737)
68188d2 is described below
commit 68188d2a6353cfcf82855250d83a48dd1423dfca
Author: Olivér Szabó <ol...@gmail.com>
AuthorDate: Tue Jul 10 16:33:03 2018 +0200
AMBARI-23945. Infra Solr migration: REQUESTSTATUS response content type is xml instead of json (#1737)
---
.../ambari-infra-solr-client/src/main/python/migrationHelper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-infra/ambari-infra-solr-client/src/main/python/migrationHelper.py b/ambari-infra/ambari-infra-solr-client/src/main/python/migrationHelper.py
index 1842333..ffa3493 100755
--- a/ambari-infra/ambari-infra-solr-client/src/main/python/migrationHelper.py
+++ b/ambari-infra/ambari-infra-solr-client/src/main/python/migrationHelper.py
@@ -70,7 +70,7 @@ LIST_SOLR_COLLECTION_URL = '{0}/admin/collections?action=LIST&wt=json'
CREATE_SOLR_COLLECTION_URL = '{0}/admin/collections?action=CREATE&name={1}&collection.configName={2}&numShards={3}&replicationFactor={4}&maxShardsPerNode={5}&wt=json'
DELETE_SOLR_COLLECTION_URL = '{0}/admin/collections?action=DELETE&name={1}&wt=json&async={2}'
RELOAD_SOLR_COLLECTION_URL = '{0}/admin/collections?action=RELOAD&name={1}&wt=json'
-REQUEST_STATUS_SOLR_COLLECTION_URL = '{0}/admin/collections?action=REQUESTSTATUS&requestid={1}'
+REQUEST_STATUS_SOLR_COLLECTION_URL = '{0}/admin/collections?action=REQUESTSTATUS&requestid={1}&wt=json'
CORE_DETAILS_URL = '{0}replication?command=details&wt=json'
INFRA_SOLR_CLIENT_BASE_PATH = '/usr/lib/ambari-infra-solr-client/'