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 2014/06/04 20:39:01 UTC
[jira] [Commented] (AURORA-301) aurora_admin query is broken
[ https://issues.apache.org/jira/browse/AURORA-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017983#comment-14017983 ]
Maxim Khutornenko commented on AURORA-301:
------------------------------------------
https://reviews.apache.org/r/22242/
> aurora_admin query is broken
> ----------------------------
>
> Key: AURORA-301
> URL: https://issues.apache.org/jira/browse/AURORA-301
> Project: Aurora
> Issue Type: Bug
> Components: Client
> Reporter: Bill Farner
>
> When trying to query tasks to collect some information, i ran into this:
> {noformat}
> $ aurora_admin query --force <cluster> --states=PENDING -l '%taskId%'
> Traceback (most recent call last):
> File "/Users/bill/.tools-cache/home/mesos/tools/admin/bin/aurora_admin/twitter/common/app/application.py", line 738, in _wrap_method
> return_code = method()
> File "/Users/bill/.tools-cache/home/mesos/tools/admin/bin/aurora_admin/twitter/common/app/application.py", line 760, in <lambda>
> main = lambda: main_method(*args, **kwargs)
> File "/Users/bill/.tools-cache/home/mesos/tools/admin/bin/aurora_admin/.deps/apache.aurora.client-0.5.0_DEV1395166800-py2.6.egg/apache/aurora/client/commands/admin.py", line 144, in query
> tasks = query_info.result.scheduleStatusResult.tasks
> AttributeError: 'NoneType' object has no attribute 'scheduleStatusResult'
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)