falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1052) pipeline feature is not able to group by through CLI
Date Fri, 27 Feb 2015 11:41:06 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340040#comment-14340040
] 

Pallavi Rao commented on FALCON-1052:
-------------------------------------

This can be fixed by changing the name of the fields such that the REST API returns as below:
<?xml version="1.0" encoding="UTF-8"?>
<entities>
  ....
   <entity>
      <type>PROCESS</type>
      <name>oozie-mr-process-2</name>
      <tags>
         <tag>category=test</tag>
      </tags>
      <pipelines>
         <pipeline>test_1</pipeline>
         <pipeline>test</pipeline>
      </pipelines>
   </entity>
</entities>

If this is fixed, the result schema will not be backward compatible.

> pipeline feature is not able to group by through CLI
> ----------------------------------------------------
>
>                 Key: FALCON-1052
>                 URL: https://issues.apache.org/jira/browse/FALCON-1052
>             Project: Falcon
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 0.7
>         Environment: QA
>            Reporter: Pragya Mittal
>            Assignee: Pallavi Rao
>
> While hitting ui using pipeline tag it gives the following output :
> {code}
>  Request Url: http://192.168.138.200:16000/api/entities/list/process?fields=pipelines&numResults=2147483647&user.name=pragyamittal
> 2015-02-25 18:49:41,518 INFO  - [main:] ~ The web service response is:
> <?xml version="1.0" encoding="UTF-8"?><entities>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838</name>
>     <list/>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-7</name>
>     <list>
>       <pipelines>pipeline4</pipelines>
>     </list>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-8</name>
>     <list>
>       <pipelines>pipeline1</pipelines>
>       <pipelines>pipeline2</pipelines>
>       <pipelines>pipeline3</pipelines>
>     </list>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-0</name>
>     <list>
>       <pipelines>pipeline4</pipelines>
>     </list>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-5</name>
>     <list>
>       <pipelines>pipeline2</pipelines>
>     </list>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-6</name>
>     <list>
>       <pipelines>pipeline3</pipelines>
>     </list>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-3</name>
>     <list>
>       <pipelines>pipeline2</pipelines>
>     </list>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-9</name>
>     <list>
>       <pipelines>pipeline2</pipelines>
>       <pipelines>pipeline3</pipelines>
>     </list>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-1</name>
>     <list>
>       <pipelines>pipeline4</pipelines>
>     </list>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-4</name>
>     <list>
>       <pipelines>pipeline4</pipelines>
>     </list>
>   </entity>
>   <entity>
>     <type>PROCESS</type>
>     <name>EntitiesTest--agregator-coord16-b408e838-2</name>
>     <list>
>       <pipelines>pipeline2</pipelines>
>       <pipelines>pipeline3</pipelines>
>     </list>
>   </entity>
> </entities>
> {code}
> But while using cli, it is not able to retrieve pipeline information:
> {code}
> dataqa@ip-192-168-138-200:~$ falcon entity -list -type process -fields pipelines
> (PROCESS) EntitiesTest--agregator-coord16-b408e838
> (PROCESS) EntitiesTest--agregator-coord16-b408e838-7
> (PROCESS) EntitiesTest--agregator-coord16-b408e838-8
> (PROCESS) EntitiesTest--agregator-coord16-b408e838-0
> (PROCESS) EntitiesTest--agregator-coord16-b408e838-5
> (PROCESS) EntitiesTest--agregator-coord16-b408e838-6
> (PROCESS) EntitiesTest--agregator-coord16-b408e838-3
> (PROCESS) EntitiesTest--agregator-coord16-b408e838-9
> (PROCESS) EntitiesTest--agregator-coord16-b408e838-1
> (PROCESS) EntitiesTest--agregator-coord16-b408e838-4
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message