AnsweredAssumed Answered

REST API filtering: job table

Question asked by gunnar_tapper on Jul 12, 2013
Latest reply on Jul 17, 2013 by santosh
I am trying to filter the result from job-table API with no success. I've tried:

curl -k -u user:user https://node.my.com:8443/rest/job/table?columns=jid,jn,ju&filter=[ju==mapr]
curl -k -u user:user https://node.my.com:8443/rest/job/table?columns=jid,jn,ju&filter=[ju=="mapr"]
curl -k -u user:user https://node.my.com:8443/rest/job/table?columns=jid,jn,ju&filter="[ju==mapr]"

The output is always the same:

{"total":4,"status":"OK","data":[["job_201307032036_0005","hadoop-0.20.2-dev-test.jar","user"],["job_201307032036_0004","word count","mapr"],["job_201307032036_0003","word count","mapr"],["job_201307032036_0001","word count","mapr"]],"columns":["jid","jn","ju"]}

What am I missing?

Outcomes