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/05/27 14:33:45 UTC
[ambari] 03/03: AMBARI-23945. Infra Solr Migration: create parent
folders during backup folder creation
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
commit 4773eb0696468da5f15908580224a13c01f2d799
Author: Oliver Szabo <ol...@gmail.com>
AuthorDate: Sun May 27 16:28:09 2018 +0200
AMBARI-23945. Infra Solr Migration: create parent folders during backup folder creation
---
.../AMBARI_INFRA_SOLR/0.1.0/package/scripts/collection.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/collection.py b/ambari-server/src/main/resources/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/collection.py
index 094f782..46c4e0e 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/collection.py
+++ b/ambari-server/src/main/resources/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/collection.py
@@ -34,6 +34,7 @@ def backup_collection(env):
Directory(command_commons.index_location,
mode=0755,
cd_access='a',
+ create_parents=True,
owner=params.infra_solr_user,
group=params.user_group
)
--
To stop receiving notification emails like this one, please contact
oleewere@apache.org.