aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Adams <j...@gmail.com>
Subject Re: "Could not deserialize AssignedTask" error
Date Wed, 13 Aug 2014 20:58:10 GMT
Created - thanks! https://issues.apache.org/jira/browse/AURORA-654

Josh

On Tue, Aug 12, 2014 at 6:46 PM, Brian Wickman <wickman@apache.org> wrote:
> That's a new one!
>
> What do your 'constraints' look like on your Job?  It's possible Aurora is
> not doing doing proper input validation somewhere.  Could be related to
> this: https://issues.apache.org/jira/browse/THRIFT-162
>
>
> On Tue, Aug 12, 2014 at 6:04 PM, Josh Adams <josh@gmail.com> wrote:
>
>> We're trying to upgrade to Mesos 0.19.1 to use Aurora with the new
>> Announcer impl and we're running into this error on
>> thermos_executor.pex when trying to run any Task. Anyone seen anything
>> like it before?
>>
>> Cheers,
>> Josh
>>
>> WARNING: Logging before InitGoogleLogging() is written to STDERR
>> I0813 00:57:40.229567 10732 exec.cpp:131] Version: 0.19.1
>> I0813 00:57:40.231796 10761 exec.cpp:205] Executor registered on slave
>> 20140812-235601-84869386-5050-469-0
>> FATAL] Could not deserialize AssignedTask
>> FATAL] Traceback (most recent call last):
>>   File "apache/aurora/executor/aurora_executor.py", line 234, in
>> validate_task
>>     assigned_task = assigned_task_from_mesos_task(task)
>>   File "apache/aurora/executor/common/task_info.py", line 32, in
>> assigned_task_from_mesos_task
>>     assigned_task = thrift_deserialize(AssignedTask(), task.data)
>>   File
>> "/root/.pex/install/thrift-0.9.1-cp27-none-linux_x86_64.whl.5554a00a49bd3c9d0ed12679fbf9a9810c343ed1/thrift-0.9.1-cp27-none-linux_x86_64.whl/thrift/TSerialization.py",
>> line 37, in deserialize
>>     base.read(protocol)
>>   File "gen/apache/aurora/api/ttypes.py", line 2841, in read
>>     self.task.read(iprot)
>>   File "gen/apache/aurora/api/ttypes.py", line 1678, in read
>>     self.constraints.add(_elem26)
>> TypeError: unhashable instance
>>

Mime
View raw message