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

Mehrdad Nurolahzade commented on AURORA-1492:
---------------------------------------------

Running {{aurora job diff}} I get the following output:

{code}
aurora job diff devcluster/www-data/prod/hello 
./aurora/examples/jobs/hello_world.aurora 
This job update will:
remove instances: [1]
update instances: [0]
with diff:

67c67
<           "cpu": 1.1, 
---
>           "cpu": 1.0, 
77c77
<   'numCpus': 1.1,
---
>   'numCpus': 1.0,
83,85c83,85
<   'resources': set([ Resource(ramMb=128, namedPort=None, diskMb=None, 
numCpus=None),
<                      Resource(ramMb=None, namedPort=None, diskMb=128, 
numCpus=None),
<                      Resource(ramMb=None, namedPort=None, diskMb=None, 
numCpus=1.1)]),
---
>   'resources': set([ Resource(ramMb=None, namedPort=None, diskMb=128, 
> numCpus=None),
>                      Resource(ramMb=None, namedPort=None, diskMb=None, 
> numCpus=1.0),
>                      Resource(ramMb=128, namedPort=None, diskMb=None, 
> numCpus=None)]),
{code}

How would suggest that I incorporate that output here?

> Improve "aurora update start" command output
> --------------------------------------------
>
>                 Key: AURORA-1492
>                 URL: https://issues.apache.org/jira/browse/AURORA-1492
>             Project: Aurora
>          Issue Type: Task
>          Components: Scheduler
>            Reporter: Maxim Khutornenko
>            Priority: Minor
>              Labels: newbie
>
> Customer feedback when trying to update a single job instance:
> {quote}
> It would provide peace of mind if somewhere in the output of {{aurora update 
> start}} it said "1 of X instances of <job_key> will be updated" just so that 
> I knew that I didn't mess up the command.
> {quote}
> The diff details are already available in the {{startJobUpdate}} rpc, so 
> reporting the above should be trivial.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to