If you do not specify any jobtype, the default will show 'workflows'. To be specific, the jobtype value is "wf" and not workflow. But because of default behavior, you should not have to worry. -- Mona Chitnis
On 10/19/12 5:08 PM, "Jess Sheneberger" <[email protected]> wrote: >The web services api at >http://oozie.apache.org/docs/3.2.0-incubating/WebServicesAPI.html >describes an operation to list jobs like this: > >http://server:11000/oozie/v1/jobs?jobtype=workflow >http://server:11000/oozie/v1/jobs?jobtype=coordinator >http://server:11000/oozie/v1/jobs?jobtype=bundle > >The last two work fine for me, the first throws the following exception. >If I pass some invalid value in jobtype, I get a similar nullref. > >java.lang.NullPointerException > >org.apache.oozie.servlet.JsonRestServlet.sendJsonResponse(JsonRestServlet. >java:392) > >org.apache.oozie.servlet.BaseJobsServlet.doGet(BaseJobsServlet.java:118) > javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > >org.apache.oozie.servlet.JsonRestServlet.service(JsonRestServlet.java:286) > javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > >org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:126) > >org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFi >lter(AuthenticationFilter.java:384) > org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:131) > >org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:67) > >Looks like a bug to me. Anyone see anything obvious I'm doing wrong?
