Repository: ambari
Updated Branches:
  refs/heads/trunk e497f5581 -> e2b274128


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/e2b27412
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e2b27412
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e2b27412

Branch: refs/heads/trunk
Commit: e2b274128258c2567f2ae969b2e601928765a4aa
Parents: e497f55
Author: oleewere <[email protected]>
Authored: Sun Jun 26 14:39:17 2016 +0200
Committer: oleewere <[email protected]>
Committed: Sun Jun 26 14:46:51 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/e2b27412/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/e2b27412/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/e2b27412/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