[ 
https://issues.apache.org/jira/browse/YARN-7572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352868#comment-16352868
 ] 

Chandni Singh commented on YARN-7572:
-------------------------------------

[~eyang] we do print out pre-formatted JSON currently. 
The current output of service status is 
{code:java}
{

  "uri" : null,

  "name" : "test2",

  "id" : "application_1517426742923_0001",

  "artifact" : null,

  "resource" : null,

  "launch_time" : null,

  "number_of_running_containers" : null,

  "lifetime" : -1,

  "placement_policy" : null,

  "components" : [ {

    "name" : "sleeper",

    "dependencies" : [ ],

    "readiness_check" : null,

    "artifact" : null,

    "launch_command" : "sleep 900000",

    "resource" : {

      "uri" : null,

      "profile" : null,

      "cpus" : 1,

      "memory" : "256",

      "additional" : null

    },

    "number_of_containers" : 2,

    "run_privileged_container" : false,

    "placement_policy" : null,

    "state" : "FLEXING",

    "configuration" : {

      "properties" : { },

      "env" : { },

      "files" : [ ]

    },

    "quicklinks" : [ ],

    "containers" : [ ]

  } ],

  "configuration" : {

    "properties" : { },

    "env" : { },

    "files" : [ ]

  },

  "state" : "STARTED",

  "quicklinks" : { },

  "queue" : null,

  "kerberos_principal" : {

    "principal_name" : null,

    "keytab" : null

  }

}{code}

> Make the service status output more readable 
> ---------------------------------------------
>
>                 Key: YARN-7572
>                 URL: https://issues.apache.org/jira/browse/YARN-7572
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jian He
>            Assignee: Chandni Singh
>            Priority: Major
>             Fix For: yarn-native-services
>
>
> Currently the service status output is just a JSON spec, we can make it more 
> human readable



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to