You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2015/01/26 23:59:49 UTC
[jira] [Updated] (AURORA-939) Executor crashes when it receives an
invalid task config
[ https://issues.apache.org/jira/browse/AURORA-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxim Khutornenko updated AURORA-939:
-------------------------------------
Fix Version/s: 0.7.0
> Executor crashes when it receives an invalid task config
> --------------------------------------------------------
>
> Key: AURORA-939
> URL: https://issues.apache.org/jira/browse/AURORA-939
> Project: Aurora
> Issue Type: Bug
> Components: Executor
> Reporter: Kevin Sweeney
> Assignee: Zameer Manji
> Fix For: 0.7.0
>
>
> Stacktrace:
> {noformat}
> Uncaught exception:
> Traceback (most recent call last):
> File "/root/.pex/install/twitter.common.exceptions-0.3.0-py2.7.egg.cf67f7016992e92b38deaf83dac4bb90d8677050/twitter.common.exceptions-0.3.0-py2.7.egg/twitter/common/exceptions/__init__.py", line 126, in _excepting_run
> self.__real_run(*args, **kw)
> File "/root/.pex/install/twitter.common.concurrent-0.3.0-py2.7.egg.1f2389f41eaa34088db63ee54687f5429b09403c/twitter.common.concurrent-0.3.0-py2.7.egg/twitter/common/concurrent/deferred.py", line 43, in run
> self._closure()
> File "/root/.pex/install/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg.eeaf32f22c2835b79901cfa268aed2775d327177/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg/apache/aurora/executor/aurora_executor.py", line 262, in
> defer(lambda: self._run(driver, assigned_task))
> File "/root/.pex/install/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg.eeaf32f22c2835b79901cfa268aed2775d327177/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg/apache/aurora/executor/aurora_executor.py", line 100, in _run
> if not self._initialize_sandbox(driver, assigned_task):
> File "/root/.pex/install/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg.eeaf32f22c2835b79901cfa268aed2775d327177/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg/apache/aurora/executor/aurora_executor.py", line 128, in _initialize_sandbox
> self._sandbox = self._sandbox_provider.from_assigned_task(assigned_task)
> File "/var/lib/mesos/slaves/20141110-182528-1715086346-5050-57898-529/frameworks/201104070004-0000002563-0000/executors/thermos-1416416412289-mst-devel-xfactor-model-3-ba927208-f5a4-4dd1-9d6c-82bdd742a524/runs/0985cabb-5cb8-4ef0-8920-ba3c151ceb2b/thermos_executor/twitter/aurora/executor/bin_internal/thermos_executor_main.py", line 36, in from_assigned_task
> File "/root/.pex/install/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg.eeaf32f22c2835b79901cfa268aed2775d327177/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg/apache/aurora/executor/common/task_info.py", line 88, in mesos_task_instance_from_assigned_task
> raise ValueError('Unexpected unbound refs: %s' % ' '.join(map(str, refs)))
> ValueError: Unexpected unbound refs: {{dateRanges[3][1]}} {{thermos.ports[http]}} {{dateRanges[3][0]}}
> {noformat}
> This should instead cause a TASK_FAILED with a helpful version of this message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)