Chris Riccomini created SAMZA-511:
-------------------------------------
Summary: Integration tests fail on Mac
Key: SAMZA-511
URL: https://issues.apache.org/jira/browse/SAMZA-511
Project: Samza
Issue Type: Bug
Components: test
Affects Versions: 0.9.0
Reporter: Chris Riccomini
Fix For: 0.9.0
It looks like the {{sed}} call that we use to manipulate configuration works on
Linux, but not Mac. Running on Mac gives:
{noformat}
2015-01-14 09:48:49,899 zopkio.remote_host_helper [ERROR] sed: 1:
"/<configuration>/a <pro ...": command a expects \ followed by text
2015-01-14 09:48:49,908 zopkio.test_runner [ERROR] Aborting smoke-tests due to
setup_suite failure:
Traceback (most recent call last):
File
"/tmp/samza-tests/samza-integration-tests/lib/python2.7/site-packages/zopkio/test_runner.py",
line 107, in run
self.deployment_module.setup_suite()
File "/tmp/samza-tests/scripts/deployment.py", line 76, in setup_suite
'hostname': host
File
"/tmp/samza-tests/samza-integration-tests/lib/python2.7/site-packages/zopkio/deployer.py",
line 77, in deploy
self.install(unique_id, configs)
File
"/tmp/samza-tests/samza-integration-tests/lib/python2.7/site-packages/zopkio/adhoc_deployer.py",
line 158, in install
msg="Failed to execute post install command: {0}".format(relative_cmd),
env=env))
File
"/tmp/samza-tests/samza-integration-tests/lib/python2.7/site-packages/zopkio/remote_host_helper.py",
line 86, in exec_with_env
return better_exec_command(ssh, new_command, msg)
File
"/tmp/samza-tests/samza-integration-tests/lib/python2.7/site-packages/zopkio/remote_host_helper.py",
line 115, in better_exec_command
raise ParamikoError(msg, err_msg)
ParamikoError: Failed to execute post install command: cd
/tmp/samza-tests/deploy/yarn_rm; 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: 1: "/<configuration>/a <pro ...": command a expects \ followed by text
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)