[ 
https://issues.apache.org/jira/browse/OOZIE-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Kanter updated OOZIE-1350:
---------------------------------

    Attachment: OOZIE-1350.patch

No tests because its a CLI thing, but I did verify that it works by trying out 
a lot of the CLI commands.  

Here's some example output:
{noformat}
$ oozie job -config examples/apps/map-reduce/job.properties -run
POST http://localhost:11000/oozie/v1/jobs?action=start
<?xml version="1.0" encoding="UTF-8" standalone="no"?><configuration>
<property><name>user.name</name><value>rkanter</value></property>
<property><name>outputDir</name><value>map-reduce</value></property>
<property><name>oozie.wf.application.path</name><value>${nameNode}/user/${user.name}/${examplesRoot}/apps/map-reduce</value></property>
<property><name>queueName</name><value>default</value></property>
<property><name>nameNode</name><value>hdfs://localhost:8020</value></property>
<property><name>jobTracker</name><value>localhost:8021</value></property>
<property><name>examplesRoot</name><value>examples</value></property>
</configuration>
job: 0000001-130426181044829-oozie-rkan-W
{noformat}

{noformat}
$ oozie jobs
GET http://localhost:11000/oozie/v1/jobs?jobtype=wf&offset=0&len=0
Job ID                                   App Name     Status    User      Group 
    Started                 Ended                   
------------------------------------------------------------------------------------------------------------------------------------
0000001-130426181044829-oozie-rkan-W     map-reduce-wfSUCCEEDED rkanter   -     
    2013-04-27 01:11 GMT    2013-04-27 01:11 GMT    
------------------------------------------------------------------------------------------------------------------------------------
0000000-130426181044829-oozie-rkan-W     map-reduce-wfSUCCEEDED rkanter   -     
    2013-04-27 01:11 GMT    2013-04-27 01:11 GMT    
------------------------------------------------------------------------------------------------------------------------------------
{noformat}
                
> Improve client debug output information
> ---------------------------------------
>
>                 Key: OOZIE-1350
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1350
>             Project: Oozie
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>             Fix For: trunk
>
>         Attachments: OOZIE-1350.patch
>
>
> If you {{export OOZIE_DEBUG=1}} in your env (which I'm not sure is documented 
> anywhere), the oozie client will print out the connection URL it uses when 
> making any request to the oozie server.  
> This would be more useful if it could also print out the request type (i.e. 
> GET, POST, PUT) and any additional content that isn't part of the URL string 
> (e.g. when submitting a job using POST, there's a bunch of XML that's not 
> part of the URL string).  
> (This would have been really helpful for OOZIE-1183)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to