[ https://issues.apache.org/jira/browse/OOZIE-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Kanter updated OOZIE-2174: --------------------------------- Attachment: OOZIE-2174.patch The new patch updates the tests that were just checking for a 0 exit code; they now also check for some output. I also updated the other tests in {{TestOozieCLI}} that were doing that too. It works by redirecting stdout or stderr to a String that we can check. While doing this, I also figured out, and fixed, that long-standing issue where the sharelib update command prints "null". > Add missing admin commands to OozieClient and OozieCLI > ------------------------------------------------------ > > Key: OOZIE-2174 > URL: https://issues.apache.org/jira/browse/OOZIE-2174 > Project: Oozie > Issue Type: Improvement > Components: client > Affects Versions: trunk > Reporter: Robert Kanter > Assignee: Robert Kanter > Attachments: OOZIE-2174.patch, OOZIE-2174.patch, OOZIE-2174.patch > > > {{OozieClient}} and {{OozieCLI}} are missing some of the admin commands that > have been available over the REST API for a long time. We should add them: > - Get Configuration > - Get OS Env > - Get Java System Properties > - Get Instrumentation/Metrics > -- For this one, we can either make them separate commands or one command > that tries one endpoint then the other. I'll see what works best. -- This message was sent by Atlassian JIRA (v6.3.4#6332)