Repository: incubator-samza
Updated Branches:
  refs/heads/master 6bbbaa597 -> 56fc502aa


SAMZA-511; integration tests fail on mac


Project: http://git-wip-us.apache.org/repos/asf/incubator-samza/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-samza/commit/56fc502a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-samza/tree/56fc502a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-samza/diff/56fc502a

Branch: refs/heads/master
Commit: 56fc502aac9e947b04eb58b383bb3adea1a07ef9
Parents: 6bbbaa5
Author: Chris Riccomini <cricc...@criccomi-mn.linkedin.biz>
Authored: Thu Jan 15 09:09:54 2015 -0800
Committer: Chris Riccomini <cricc...@criccomi-mn.linkedin.biz>
Committed: Thu Jan 15 09:09:54 2015 -0800

----------------------------------------------------------------------
 samza-test/src/main/python/configs/yarn.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/56fc502a/samza-test/src/main/python/configs/yarn.json
----------------------------------------------------------------------
diff --git a/samza-test/src/main/python/configs/yarn.json 
b/samza-test/src/main/python/configs/yarn.json
index dc9a58e..9b0143d 100644
--- a/samza-test/src/main/python/configs/yarn.json
+++ b/samza-test/src/main/python/configs/yarn.json
@@ -7,7 +7,7 @@
   "yarn_rm_stop_cmd": "hadoop-2.4.0/sbin/yarn-daemon.sh stop resourcemanager",
   "yarn_rm_install_path": "deploy/yarn_rm",
   "yarn_rm_post_install_cmds": [
-    "sed -i.bak '/<configuration>/a 
<property><name>yarn.nodemanager.vmem-pmem-ratio</name><value>10</value></property>'
 hadoop-2.4.0/etc/hadoop/yarn-site.xml",
+    "sed -i.bak 
's/<configuration>/<configuration><property><name>yarn.nodemanager.vmem-pmem-ratio<\\/name><value>10<\\/value><\\/property>/'
 hadoop-2.4.0/etc/hadoop/yarn-site.xml",
     "mkdir -p hadoop-2.4.0/conf",
     "chmod 755 hadoop-2.4.0/conf",
     "cp hadoop-2.4.0/etc/hadoop/yarn-site.xml hadoop-2.4.0/conf/yarn-site.xml"
@@ -23,7 +23,7 @@
   "yarn_nm_stop_cmd": "hadoop-2.4.0/sbin/yarn-daemon.sh stop nodemanager",
   "yarn_nm_install_path": "deploy/yarn_nm",
   "yarn_nm_post_install_cmds": [
-    "sed -i.bak '/<configuration>/a 
<property><name>yarn.nodemanager.vmem-pmem-ratio</name><value>10</value></property>'
 hadoop-2.4.0/etc/hadoop/yarn-site.xml",
+    "sed -i.bak 
's/<configuration>/<configuration><property><name>yarn.nodemanager.vmem-pmem-ratio<\\/name><value>10<\\/value><\\/property>/'
 hadoop-2.4.0/etc/hadoop/yarn-site.xml",
     "mkdir -p hadoop-2.4.0/conf",
     "chmod 755 hadoop-2.4.0/conf",
     "cp hadoop-2.4.0/etc/hadoop/yarn-site.xml hadoop-2.4.0/conf/yarn-site.xml"

Reply via email to