[
https://issues.apache.org/jira/browse/MAPREDUCE-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757326#action_12757326
]
Hemanth Yamijala commented on MAPREDUCE-1002:
---------------------------------------------
Nigel, we already have a test in MAPREDUCE-862 that validates output of a
command like TestCLI does. The test captures the output and validates what's
expected. However, the writer we use in the test case does not seem to require
a flush to get the data. So, the test passes. However, when we tested on a real
cluster, the flush was required with the System.out stream.
Also, it was not a simple addition to TestCLI. IIRC, we needed to add the queue
command type to the TestCLI class. And that requires a patch to common. I think
that is undesirable. TestCLI should be refactored so projects can add commands
without having to submit patches to common, an effort for which there was no
time close to the feature freeze.
> After MAPREDUCE-862, command line queue-list doesn't print any queues
> ---------------------------------------------------------------------
>
> Key: MAPREDUCE-1002
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1002
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: client
> Reporter: Vinod K V
> Assignee: V.V.Chaitanya Krishna
> Fix For: 0.21.0
>
> Attachments: MAPREDUCE-1002-1.patch, MAPREDUCE-1002.patch
>
>
> Web-ui correctly prints the queues, it is the command line that is not
> showing any queues.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.