You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Venkatesh Shukla <ve...@gmail.com> on 2015/10/21 07:50:25 UTC
Oozie jobs returns more results on adding filter
Hello
I have noticed that applying filter to oozie jobs command returns more
result than vanilla oozie jobs invocation.
For instance, when I run
$ oozie jobs -jobtype coordinator | grep RUNNING
0000011-151010082152034-oozie-oozi-C coord_job_1 RUNNING 00 11 * *
*CRON 2015-10-18 10:30 GMT 2015-10-21 11:00 GMT
0000022-151010082152034-oozie-oozi-C coord_job_2 RUNNING 00 * * *
2-6CRON 2015-10-13 00:00 GMT 2015-10-21 06:00 GMT
0000033-151010082152034-oozie-oozi-C coord_job_3 RUNNING 00 11 * *
*CRON 2015-10-18 06:20 GMT 2015-10-21 11:00 GMT
0000044-151010082152034-oozie-oozi-C coord_job_4 RUNNING 00 10 * *
*CRON 2015-10-13 02:30 GMT 2015-10-21 10:00 GMT
0000055-151010082152034-oozie-oozi-C coord_job_5 RUNNING 00 13 * *
*CRON 2015-10-12 02:30 GMT 2015-10-21 13:00 GMT
But on adding user filter, I get this
$ oozie jobs -jobtype coordinator -filter user=venkatesh | grep RUNNING
0000011-151010082152034-oozie-oozi-C coord_job_1 RUNNING 00 11 * *
*CRON 2015-10-18 10:30 GMT 2015-10-21 11:00 GMT
0000022-151010082152034-oozie-oozi-C coord_job_2 RUNNING 00 * * *
2-6CRON 2015-10-13 00:00 GMT 2015-10-21 06:00 GMT
0000033-151010082152034-oozie-oozi-C coord_job_3 RUNNING 00 11 * *
*CRON 2015-10-18 06:20 GMT 2015-10-21 11:00 GMT
0000044-151010082152034-oozie-oozi-C coord_job_4 RUNNING 00 10 * *
*CRON 2015-10-13 02:30 GMT 2015-10-21 10:00 GMT
0000055-151010082152034-oozie-oozi-C coord_job_8 RUNNING 00 13 * *
*CRON 2015-10-12 02:30 GMT 2015-10-21 13:00 GMT
0000111-151010082152034-oozie-oozi-C coord_job_98 RUNNING 00 11 * *
*CRON 2015-10-18 10:30 GMT 2015-10-21 11:00 GMT
0000020-151010082152034-oozie-oozi-C coord_job_23 RUNNING 00 * * *
2-6CRON 2015-10-13 00:00 GMT 2015-10-21 06:00 GM
0000045-151010082152034-oozie-oozi-C coord_job_52 RUNNING 00 13 * *
*CRON 2015-10-12 02:30 GMT 2015-10-21 13:00 GMT
This has confused me a bit. What jobs are these which I get on adding the
user filter?
Sincerely
Venkatesh Shukla
Re: Oozie jobs returns more results on adding filter
Posted by Venkatesh Shukla <ve...@gmail.com>.
On Wed, Oct 21, 2015 at 12:03 PM, Jaydeep Vishwakarma <
jaydeep.vishwakarma@inmobi.com> wrote:
> Venkatesh,
>
> This behaviour is happening due to default length is set to 50.
> you can use -len option to list more coords.
>
Thank you Jaydeep. I got it working with -len option.
In that case, the documentation should be updated at
https://oozie.apache.org/docs/4.1.0/DG_CommandLineTool.html
>
> Regards,
> Jaydeep
>
> On Wed, Oct 21, 2015 at 11:20 AM, Venkatesh Shukla <
> venkateshukla@gmail.com>
> wrote:
>
> > Hello
> >
> > I have noticed that applying filter to oozie jobs command returns more
> > result than vanilla oozie jobs invocation.
> >
> > For instance, when I run
> >
> > $ oozie jobs -jobtype coordinator | grep RUNNING
> > 0000011-151010082152034-oozie-oozi-C coord_job_1 RUNNING 00 11 * *
> > *CRON 2015-10-18 10:30 GMT 2015-10-21 11:00 GMT
> > 0000022-151010082152034-oozie-oozi-C coord_job_2 RUNNING 00 * * *
> > 2-6CRON 2015-10-13 00:00 GMT 2015-10-21 06:00 GMT
> > 0000033-151010082152034-oozie-oozi-C coord_job_3 RUNNING 00 11 * *
> > *CRON 2015-10-18 06:20 GMT 2015-10-21 11:00 GMT
> > 0000044-151010082152034-oozie-oozi-C coord_job_4 RUNNING 00 10 * *
> > *CRON 2015-10-13 02:30 GMT 2015-10-21 10:00 GMT
> > 0000055-151010082152034-oozie-oozi-C coord_job_5 RUNNING 00 13 * *
> > *CRON 2015-10-12 02:30 GMT 2015-10-21 13:00 GMT
> >
> > But on adding user filter, I get this
> >
> > $ oozie jobs -jobtype coordinator -filter user=venkatesh | grep RUNNING
> > 0000011-151010082152034-oozie-oozi-C coord_job_1 RUNNING 00 11 * *
> > *CRON 2015-10-18 10:30 GMT 2015-10-21 11:00 GMT
> > 0000022-151010082152034-oozie-oozi-C coord_job_2 RUNNING 00 * * *
> > 2-6CRON 2015-10-13 00:00 GMT 2015-10-21 06:00 GMT
> > 0000033-151010082152034-oozie-oozi-C coord_job_3 RUNNING 00 11 * *
> > *CRON 2015-10-18 06:20 GMT 2015-10-21 11:00 GMT
> > 0000044-151010082152034-oozie-oozi-C coord_job_4 RUNNING 00 10 * *
> > *CRON 2015-10-13 02:30 GMT 2015-10-21 10:00 GMT
> > 0000055-151010082152034-oozie-oozi-C coord_job_8 RUNNING 00 13 * *
> > *CRON 2015-10-12 02:30 GMT 2015-10-21 13:00 GMT
> > 0000111-151010082152034-oozie-oozi-C coord_job_98 RUNNING 00 11 * *
> > *CRON 2015-10-18 10:30 GMT 2015-10-21 11:00 GMT
> > 0000020-151010082152034-oozie-oozi-C coord_job_23 RUNNING 00 * * *
> > 2-6CRON 2015-10-13 00:00 GMT 2015-10-21 06:00 GM
> > 0000045-151010082152034-oozie-oozi-C coord_job_52 RUNNING 00 13 * *
> > *CRON 2015-10-12 02:30 GMT 2015-10-21 13:00 GMT
> >
> > This has confused me a bit. What jobs are these which I get on adding the
> > user filter?
> >
> > Sincerely
> >
> > Venkatesh Shukla
> >
>
> --
> _____________________________________________________________
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it. It may contain confidential or legally privileged
> information. If you are not the intended recipient you are hereby notified
> that any disclosure, copying, distribution or taking any action in reliance
> on the contents of this information is strictly prohibited and may be
> unlawful. If you have received this communication in error, please notify
> us immediately by responding to this email and then delete it from your
> system. The firm is neither liable for the proper and complete transmission
> of the information contained in this communication nor for any delay in its
> receipt.
>
Re: Oozie jobs returns more results on adding filter
Posted by Jaydeep Vishwakarma <ja...@inmobi.com>.
Venkatesh,
This behaviour is happening due to default length is set to 50.
you can use -len option to list more coords.
Regards,
Jaydeep
On Wed, Oct 21, 2015 at 11:20 AM, Venkatesh Shukla <ve...@gmail.com>
wrote:
> Hello
>
> I have noticed that applying filter to oozie jobs command returns more
> result than vanilla oozie jobs invocation.
>
> For instance, when I run
>
> $ oozie jobs -jobtype coordinator | grep RUNNING
> 0000011-151010082152034-oozie-oozi-C coord_job_1 RUNNING 00 11 * *
> *CRON 2015-10-18 10:30 GMT 2015-10-21 11:00 GMT
> 0000022-151010082152034-oozie-oozi-C coord_job_2 RUNNING 00 * * *
> 2-6CRON 2015-10-13 00:00 GMT 2015-10-21 06:00 GMT
> 0000033-151010082152034-oozie-oozi-C coord_job_3 RUNNING 00 11 * *
> *CRON 2015-10-18 06:20 GMT 2015-10-21 11:00 GMT
> 0000044-151010082152034-oozie-oozi-C coord_job_4 RUNNING 00 10 * *
> *CRON 2015-10-13 02:30 GMT 2015-10-21 10:00 GMT
> 0000055-151010082152034-oozie-oozi-C coord_job_5 RUNNING 00 13 * *
> *CRON 2015-10-12 02:30 GMT 2015-10-21 13:00 GMT
>
> But on adding user filter, I get this
>
> $ oozie jobs -jobtype coordinator -filter user=venkatesh | grep RUNNING
> 0000011-151010082152034-oozie-oozi-C coord_job_1 RUNNING 00 11 * *
> *CRON 2015-10-18 10:30 GMT 2015-10-21 11:00 GMT
> 0000022-151010082152034-oozie-oozi-C coord_job_2 RUNNING 00 * * *
> 2-6CRON 2015-10-13 00:00 GMT 2015-10-21 06:00 GMT
> 0000033-151010082152034-oozie-oozi-C coord_job_3 RUNNING 00 11 * *
> *CRON 2015-10-18 06:20 GMT 2015-10-21 11:00 GMT
> 0000044-151010082152034-oozie-oozi-C coord_job_4 RUNNING 00 10 * *
> *CRON 2015-10-13 02:30 GMT 2015-10-21 10:00 GMT
> 0000055-151010082152034-oozie-oozi-C coord_job_8 RUNNING 00 13 * *
> *CRON 2015-10-12 02:30 GMT 2015-10-21 13:00 GMT
> 0000111-151010082152034-oozie-oozi-C coord_job_98 RUNNING 00 11 * *
> *CRON 2015-10-18 10:30 GMT 2015-10-21 11:00 GMT
> 0000020-151010082152034-oozie-oozi-C coord_job_23 RUNNING 00 * * *
> 2-6CRON 2015-10-13 00:00 GMT 2015-10-21 06:00 GM
> 0000045-151010082152034-oozie-oozi-C coord_job_52 RUNNING 00 13 * *
> *CRON 2015-10-12 02:30 GMT 2015-10-21 13:00 GMT
>
> This has confused me a bit. What jobs are these which I get on adding the
> user filter?
>
> Sincerely
>
> Venkatesh Shukla
>
--
_____________________________________________________________
The information contained in this communication is intended solely for the
use of the individual or entity to whom it is addressed and others
authorized to receive it. It may contain confidential or legally privileged
information. If you are not the intended recipient you are hereby notified
that any disclosure, copying, distribution or taking any action in reliance
on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please notify
us immediately by responding to this email and then delete it from your
system. The firm is neither liable for the proper and complete transmission
of the information contained in this communication nor for any delay in its
receipt.