[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16647712#comment-16647712 ] Mate Juhasz commented on OOZIE-3355: [~andras.piros], these are the available filter parameters from the ambari wfm: * name * id (oozie job id) * user (job submitter user) * status (SUCCEEDED, RUNNING, FAILED, KILLED, SUSPENDED) * jobtype (wf, coord, bundles) * startCreatedTime * endCreatedTime The offset and len parameters are used for paginating the results. * len - always 20 * offset - always (page number - 1) * len The filter parameter is filled with each of the user defined conditions, but these seem to be in OR relation instead of AND: _filter=status=SUCCEEDED;name=mr-wf_ Another observation about time filtering, that the wfm shows the local time, but the filtering has to be done in GMT as oozie works. > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16641495#comment-16641495 ] Andras Piros commented on OOZIE-3355: - Thanks for the pointer [~matijhs]! Can you please give more examples on the parameters Ambari's [{{OozieDelegate#readFromOozie()}}|https://github.com/apache/ambari/blob/trunk/contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/OozieDelegate.java#L138-L153] is called? I'm mostly interested in how Oozie's {{V1JobsServlet#getJobs()}} gets to be called by Ambari - how values of the request parameters {{filter}}, {{offset}}, and {{len}} are filled. > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639866#comment-16639866 ] Mate Juhasz commented on OOZIE-3355: As I see, the wfm executes a request like this for getting the jobs in _org/apache/oozie/ambari/view/OozieDelegate.java#readFromOozie_: {code:java} Proxy request for url: [GET] http://ctr-e138-1518143905142-496852-01-03.hwx.site:11000/oozie/v2/jobs?filter=name=sparkcompare=1=1=wf {code} Then Oozie handles it in _org/apache/oozie/servlet/V0JobsServlet.java#getJobs,_ and the actual query is done in _org/apache/oozie/executor/jpa/WorkflowsJobGetJPAExecutor.java#execute_ WorkflowsJobGetJPAExecutor is a bit heavy, but if we can agree on a solution I am happy to do it. > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16639515#comment-16639515 ] Denes Bodo commented on OOZIE-3355: --- [~andras.piros] I have never seen Workflow Manager code, but with [~matijhs] we will take a look what can be done. > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16638145#comment-16638145 ] Denes Bodo commented on OOZIE-3355: --- As I understand Ambari's Workflow Manager uses Oozie REST API as is. I am not sure if this issue can be solved efficiently without Oozie's support; querying all the job names from Oozie means no impact on Oozie but generating heavy DB queries and great volume of data transmission over REST. However, that would be a great feature in Oozie, too, if it supported some wildcard-like search, for example regex, or simply use the SQL's "%" and "_" characters. In the latter case, it would have only impact on Oozie but not on Ambari. > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16638166#comment-16638166 ] Andras Piros commented on OOZIE-3355: - [~dionusos] as you seem to be more familiar to Ambari's Workflow Manager than I am, can you please point to some of the code Ambari integrates w/ Oozie given Oozie REST services? I'm thinking of supporting for some of the filter field names a couple of SQL compatible wildcards, like the ones provided for [SLA REST endpoint|https://github.com/apache/oozie/blob/master/docs/src/site/markdown/DG_SLAMonitoring.md] via OOZIE-3229. > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16633692#comment-16633692 ] Andras Piros commented on OOZIE-3355: - [~Krishna93] as I'm not familiar w/ Ambari, neither can I tell what kind of Oozie REST endpoint (and w/ which parameters) is called by it, nor can I tell how to extend the Oozie changes to Ambari view. Anyone who's familiar w/ Ambari could possibly help. [~dionusos] [~matijhs] any ideas? > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16632962#comment-16632962 ] Krishnadevan Purushothaman commented on OOZIE-3355: --- [~andras.piros] I have also raised a similar improvement Jira for Ambari and this is the Jira id - https://issues.apache.org/jira/browse/AMBARI-24710 Correct me if I am wrong, you will be building the actual search business logic in oozie and you will be extending it to the Ambari-view, am I rite? > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16632959#comment-16632959 ] Krishnadevan Purushothaman commented on OOZIE-3355: --- [~andras.piros] Thanks for the quick response, really appreciated !!! This requirement is actually via Ambari view in the WFM view. I researched on Regex based search option in Java and below are the links that I came across from which you will get a better insight on designing search options for wfm. [https://www.oreilly.com/library/view/java-cookbook-3rd/9781449338794/ch04.html] [https://dzone.com/articles/java-regex-simple-patterns] This search feature should be enabled across the workflow, coordinator, and bundle. > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OOZIE-3355) Regex based search option for searching workflows in the WFM-View of Ambari
[ https://issues.apache.org/jira/browse/OOZIE-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16631879#comment-16631879 ] Andras Piros commented on OOZIE-3355: - Sounds like a fine improvement [~Krishna93]! As I'm not familiar with Ambari, can you please tell what are the Oozie [REST|https://github.com/apache/oozie/blob/master/docs/src/site/markdown/WebServicesAPI.md] / [CLI|https://github.com/apache/oozie/blob/master/docs/src/site/markdown/DG_CommandLineTool.md] calls you want to extend? Can you please also tell typical input / output examples you want Oozie to support? Thanks! > Regex based search option for searching workflows in the WFM-View of Ambari > --- > > Key: OOZIE-3355 > URL: https://issues.apache.org/jira/browse/OOZIE-3355 > Project: Oozie > Issue Type: New Feature > Components: bundle, coordinator, core, tools, ui, workflow >Affects Versions: 4.2.0 >Reporter: Krishnadevan Purushothaman >Priority: Critical > > *Challenge faced :* > _{color:#d04437}In the WFM view of ambari, there is no Filter option > available to search for the Workflows. In order to search for the desired > workflow, one has to type the full name of workflow,coordinator,bundles else > it does not return anything which becomes a time-consuming job.{color}_ > *Feature description:* > _{color:#14892c}There is a need for Regex based filter option in order to > search the workflows without the need of entering the complete name of the > workflow,coordinator,bundles rather by just typing the first three letters of > the work post which it should populate suggestions based on the first three > letters of the workflow,coordinator,bundles through which we can refine and > optimize the searching mechanism.{color}_ -- This message was sent by Atlassian JIRA (v7.6.3#76005)