You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by bi...@apache.org on 2015/03/13 21:29:32 UTC

incubator-slider git commit: SLIDER-801 fix newline bug in config copy in accumulo client script

Repository: incubator-slider
Updated Branches:
  refs/heads/develop 833c2bb7d -> 3fbfca9e6


SLIDER-801 fix newline bug in config copy in accumulo client script


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/3fbfca9e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/3fbfca9e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/3fbfca9e

Branch: refs/heads/develop
Commit: 3fbfca9e629bd2252a4c8736c97b701e3d5313df
Parents: 833c2bb
Author: Billie Rinaldi <bi...@gmail.com>
Authored: Fri Mar 13 13:29:35 2015 -0700
Committer: Billie Rinaldi <bi...@gmail.com>
Committed: Fri Mar 13 13:29:35 2015 -0700

----------------------------------------------------------------------
 app-packages/accumulo/package/scripts/accumulo_client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/3fbfca9e/app-packages/accumulo/package/scripts/accumulo_client.py
----------------------------------------------------------------------
diff --git a/app-packages/accumulo/package/scripts/accumulo_client.py b/app-packages/accumulo/package/scripts/accumulo_client.py
index 31ef684..cd11269 100644
--- a/app-packages/accumulo/package/scripts/accumulo_client.py
+++ b/app-packages/accumulo/package/scripts/accumulo_client.py
@@ -62,7 +62,7 @@ class AccumuloClient(Script):
         for line in content:
           index = line.find("=")
           if index > 0:
-            configs[line[0:index]] = line[index+1:]
+            configs[line[0:index]] = line[index+1:].rstrip()
       if 'instance.rpc.ssl.enabled' in configs and configs['instance.rpc.ssl.enabled']=='true':
         Logger.info("Configuring client SSL")
         self.check_provider_contains(client_params.credential_provider,