[
https://issues.apache.org/jira/browse/OOZIE-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15534652#comment-15534652
]
Robert Kanter commented on OOZIE-2634:
--------------------------------------
Looks good. One trivial thing:
# Let's change {{if (queueDumpArray.size() == 0)}} to {{if
(queueDumpArray.isEmpty())}}
> Queue dump command message is confusing when the queue is empty
> ---------------------------------------------------------------
>
> Key: OOZIE-2634
> URL: https://issues.apache.org/jira/browse/OOZIE-2634
> Project: Oozie
> Issue Type: Improvement
> Reporter: Robert Kanter
> Assignee: Andras Piros
> Priority: Minor
> Labels: newbie
> Fix For: 4.4.0
>
> Attachments: OOZIE-2634.001.patch, OOZIE-2634.002.patch,
> OOZIE-2634.003.patch
>
>
> If the callable queue is empty, and you run the queue dump command, the
> message says:
> {noformat}
> # oozie admin queuedump
> [Server Queue Dump]:
> Queue dump is null!
> ******************************************
> [Server Uniqueness Map Dump]:
> Uniqueness dump is null!
> {noformat}
> This message makes it sound like a bad thing, especially the exclamation
> mark. We should change the message to something more neutral and helpful,
> like "The queue is empty" or something like that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)