You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Mark Chu-Carroll (JIRA)" <ji...@apache.org> on 2014/09/03 20:33:52 UTC
[jira] [Commented] (AURORA-666) Aurora job status --write-json does
not convert status values
[ https://issues.apache.org/jira/browse/AURORA-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120222#comment-14120222 ]
Mark Chu-Carroll commented on AURORA-666:
-----------------------------------------
This isn't a bug, this is intended behavior.
The JSON version of the output is geared towards machine processing. They can use the constant declarations from api.thrift.
> Aurora job status --write-json does not convert status values
> -------------------------------------------------------------
>
> Key: AURORA-666
> URL: https://issues.apache.org/jira/browse/AURORA-666
> Project: Aurora
> Issue Type: Bug
> Components: Client
> Reporter: Maxim Khutornenko
> Assignee: Mark Chu-Carroll
>
> When using --write-json with {{aurora job status}} the status fields are not converted to literals:
> {noformat}
> "inactive": [
> {
> "status": 3,
> "assignedTask": {
> "task": {
> "isService": 0,
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)