You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yan Fang (JIRA)" <ji...@apache.org> on 2015/02/09 23:27:34 UTC
[jira] [Commented] (SAMZA-511) Integration tests fail on Mac
[ https://issues.apache.org/jira/browse/SAMZA-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313015#comment-14313015 ]
Yan Fang commented on SAMZA-511:
--------------------------------
Just some additional information as a reference. The exception I mentioned in [above comment|https://issues.apache.org/jira/browse/SAMZA-511?focusedCommentId=14278082&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14278082] happens when there are other yarn process and/or zookeeper process running while running the integration test.
> 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
> Assignee: Chris Riccomini
> Fix For: 0.9.0
>
> Attachments: SAMZA-511-0.patch
>
>
> 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)