Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 a39a5ce89 -> b55006359


AMBARI-17441. Make solr-client log writeabe for others in Hadoop Services group 
(oleewere)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b5500635
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b5500635
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b5500635

Branch: refs/heads/branch-2.4
Commit: b55006359bc439a60b117e4afeeb8a695370abf1
Parents: a39a5ce
Author: oleewere <[email protected]>
Authored: Sun Jun 26 14:39:17 2016 +0200
Committer: oleewere <[email protected]>
Committed: Sun Jun 26 14:59:14 2016 +0200

----------------------------------------------------------------------
 .../resource_management/libraries/functions/solr_cloud_util.py     | 2 +-
 .../src/test/python/stacks/2.3/ATLAS/test_metadata_server.py       | 2 +-
 .../src/test/python/stacks/2.5/ATLAS/test_atlas_server.py          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b5500635/ambari-common/src/main/python/resource_management/libraries/functions/solr_cloud_util.py
----------------------------------------------------------------------
diff --git 
a/ambari-common/src/main/python/resource_management/libraries/functions/solr_cloud_util.py
 
b/ambari-common/src/main/python/resource_management/libraries/functions/solr_cloud_util.py
index 36b4863..bab65dc 100644
--- 
a/ambari-common/src/main/python/resource_management/libraries/functions/solr_cloud_util.py
+++ 
b/ambari-common/src/main/python/resource_management/libraries/functions/solr_cloud_util.py
@@ -141,7 +141,7 @@ def setup_solr_client(config, user = None, group = None, 
custom_log4j = True, cu
              )
 
     File(solr_client_log,
-         mode=0644,
+         mode=0664,
          owner=solr_user,
          group=solr_group,
          content=''

http://git-wip-us.apache.org/repos/asf/ambari/blob/b5500635/ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py 
b/ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py
index ad531de..1109e51 100644
--- a/ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py
+++ b/ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py
@@ -148,7 +148,7 @@ class TestMetadataServer(RMFTestCase):
       self.assertResourceCalled('File', 
'/var/log/ambari-logsearch-solr-client/solr-client.log',
                                 owner='solr',
                                 group='hadoop',
-                                mode=0644,
+                                mode=0664,
                                 content = ''
       )
       self.assertResourceCalledRegexp('^Execute$', '^export 
JAVA_HOME=/usr/jdk64/jdk1.7.0_45 ; 
/usr/lib/ambari-logsearch-solr-client/solrCloudCli.sh 
--zookeeper-connect-string c6401.ambari.apache.org:2181/logsearch 
--download-config --config-dir /tmp/solr_config_basic_configs_0.[0-9]* 
--config-set basic_configs --retry 30 --interval 5')

http://git-wip-us.apache.org/repos/asf/ambari/blob/b5500635/ambari-server/src/test/python/stacks/2.5/ATLAS/test_atlas_server.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/python/stacks/2.5/ATLAS/test_atlas_server.py 
b/ambari-server/src/test/python/stacks/2.5/ATLAS/test_atlas_server.py
index fe6dd31..65bd1d2 100644
--- a/ambari-server/src/test/python/stacks/2.5/ATLAS/test_atlas_server.py
+++ b/ambari-server/src/test/python/stacks/2.5/ATLAS/test_atlas_server.py
@@ -146,7 +146,7 @@ class TestAtlasServer(RMFTestCase):
     self.assertResourceCalled('File', 
'/var/log/ambari-logsearch-solr-client/solr-client.log',
                               owner='solr',
                               group='hadoop',
-                              mode=0644,
+                              mode=0664,
                               content = ''
     )
 

Reply via email to