[jira] [Commented] (YARN-5577) [Atsv2] Document object passing in infofilters with an example
[ https://issues.apache.org/jira/browse/YARN-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16147167#comment-16147167 ] Varun Saxena commented on YARN-5577: Backported to YARN-5355_branch2 as well > [Atsv2] Document object passing in infofilters with an example > -- > > Key: YARN-5577 > URL: https://issues.apache.org/jira/browse/YARN-5577 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader, timelineserver >Reporter: Rohith Sharma K S >Assignee: Rohith Sharma K S > Labels: documentation > Fix For: 3.0.0-alpha2, YARN-5355_branch2 > > Attachments: YARN-5577.patch > > > In HierarchicalTimelineEntity, setparent/addChild allows to set parent/child > entities at INFO level. The key is an string and value as an object. > Like below, for YARN_CONTAINER entity parent entity set for application. > {code} > "SYSTEM_INFO_PARENT_ENTITY": { >"type": "YARN_APPLICATION", >"id": "application_1471931266232_0024" > } > {code} > But to use infofilter on entity type YARN_CONTAINER for an specific > applicationId, IIUC there is no way to pass object as value in infofilter. > To make easier retrieval either > # publish parent/child entity id and type as string rather that object like > below > {code} > "SYSTEM_INFO_PARENT_ENTITY_TYPE": "YARN_APPLICATION" > "SYSTEM_INFO_PARENT_ENTITY_ID":"application_1471931266232_0024" > {code} > OR > # Add ability to provide object as filter with below format like > {{infofilters=SYSTEM_INFO_PARENT_ENTITY eq ((type eq YARN_APPLICATION) AND > (id eq application_1471931266232_0024))}} > I believe 2nd approach will be well applicable for any entities. But I am not > sure does HBase supports such a custom filters while scanning a table. > 1st approaches will be much easier to change. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-5577) [Atsv2] Document object passing in infofilters with an example
[ https://issues.apache.org/jira/browse/YARN-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502945#comment-15502945 ] Hudson commented on YARN-5577: -- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10459 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10459/]) YARN-5577. [Atsv2] Document object passing in infofilters with an (varunsaxena: rev ea29e3bc27f15516f4346d1312eef703bcd3d032) * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md > [Atsv2] Document object passing in infofilters with an example > -- > > Key: YARN-5577 > URL: https://issues.apache.org/jira/browse/YARN-5577 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader, timelineserver >Reporter: Rohith Sharma K S >Assignee: Rohith Sharma K S > Labels: documentation > Fix For: 3.0.0-alpha2 > > Attachments: YARN-5577.patch > > > In HierarchicalTimelineEntity, setparent/addChild allows to set parent/child > entities at INFO level. The key is an string and value as an object. > Like below, for YARN_CONTAINER entity parent entity set for application. > {code} > "SYSTEM_INFO_PARENT_ENTITY": { >"type": "YARN_APPLICATION", >"id": "application_1471931266232_0024" > } > {code} > But to use infofilter on entity type YARN_CONTAINER for an specific > applicationId, IIUC there is no way to pass object as value in infofilter. > To make easier retrieval either > # publish parent/child entity id and type as string rather that object like > below > {code} > "SYSTEM_INFO_PARENT_ENTITY_TYPE": "YARN_APPLICATION" > "SYSTEM_INFO_PARENT_ENTITY_ID":"application_1471931266232_0024" > {code} > OR > # Add ability to provide object as filter with below format like > {{infofilters=SYSTEM_INFO_PARENT_ENTITY eq ((type eq YARN_APPLICATION) AND > (id eq application_1471931266232_0024))}} > I believe 2nd approach will be well applicable for any entities. But I am not > sure does HBase supports such a custom filters while scanning a table. > 1st approaches will be much easier to change. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-5577) [Atsv2] Document object passing in infofilters with an example
[ https://issues.apache.org/jira/browse/YARN-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502784#comment-15502784 ] Varun Saxena commented on YARN-5577: Sorry [~rohithsharma], I was on leave so didn't commit it. Will do so shortly. I will commit it to trunk as its documentation related change. Will be brought in ATSv2 branch when we do trunk rebase. > [Atsv2] Document object passing in infofilters with an example > -- > > Key: YARN-5577 > URL: https://issues.apache.org/jira/browse/YARN-5577 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader, timelineserver >Reporter: Rohith Sharma K S >Assignee: Rohith Sharma K S > Labels: documentation > Attachments: YARN-5577.patch > > > In HierarchicalTimelineEntity, setparent/addChild allows to set parent/child > entities at INFO level. The key is an string and value as an object. > Like below, for YARN_CONTAINER entity parent entity set for application. > {code} > "SYSTEM_INFO_PARENT_ENTITY": { >"type": "YARN_APPLICATION", >"id": "application_1471931266232_0024" > } > {code} > But to use infofilter on entity type YARN_CONTAINER for an specific > applicationId, IIUC there is no way to pass object as value in infofilter. > To make easier retrieval either > # publish parent/child entity id and type as string rather that object like > below > {code} > "SYSTEM_INFO_PARENT_ENTITY_TYPE": "YARN_APPLICATION" > "SYSTEM_INFO_PARENT_ENTITY_ID":"application_1471931266232_0024" > {code} > OR > # Add ability to provide object as filter with below format like > {{infofilters=SYSTEM_INFO_PARENT_ENTITY eq ((type eq YARN_APPLICATION) AND > (id eq application_1471931266232_0024))}} > I believe 2nd approach will be well applicable for any entities. But I am not > sure does HBase supports such a custom filters while scanning a table. > 1st approaches will be much easier to change. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-5577) [Atsv2] Document object passing in infofilters with an example
[ https://issues.apache.org/jira/browse/YARN-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15493714#comment-15493714 ] Rohith Sharma K S commented on YARN-5577: - ping [~varun_saxena]!! > [Atsv2] Document object passing in infofilters with an example > -- > > Key: YARN-5577 > URL: https://issues.apache.org/jira/browse/YARN-5577 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader, timelineserver >Reporter: Rohith Sharma K S >Assignee: Rohith Sharma K S > Labels: documentation > Attachments: YARN-5577.patch > > > In HierarchicalTimelineEntity, setparent/addChild allows to set parent/child > entities at INFO level. The key is an string and value as an object. > Like below, for YARN_CONTAINER entity parent entity set for application. > {code} > "SYSTEM_INFO_PARENT_ENTITY": { >"type": "YARN_APPLICATION", >"id": "application_1471931266232_0024" > } > {code} > But to use infofilter on entity type YARN_CONTAINER for an specific > applicationId, IIUC there is no way to pass object as value in infofilter. > To make easier retrieval either > # publish parent/child entity id and type as string rather that object like > below > {code} > "SYSTEM_INFO_PARENT_ENTITY_TYPE": "YARN_APPLICATION" > "SYSTEM_INFO_PARENT_ENTITY_ID":"application_1471931266232_0024" > {code} > OR > # Add ability to provide object as filter with below format like > {{infofilters=SYSTEM_INFO_PARENT_ENTITY eq ((type eq YARN_APPLICATION) AND > (id eq application_1471931266232_0024))}} > I believe 2nd approach will be well applicable for any entities. But I am not > sure does HBase supports such a custom filters while scanning a table. > 1st approaches will be much easier to change. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-5577) [Atsv2] Document object passing in infofilters with an example
[ https://issues.apache.org/jira/browse/YARN-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15453118#comment-15453118 ] Varun Saxena commented on YARN-5577: Sorry I missed this one. Will commit it tomorrow. > [Atsv2] Document object passing in infofilters with an example > -- > > Key: YARN-5577 > URL: https://issues.apache.org/jira/browse/YARN-5577 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader, timelineserver >Reporter: Rohith Sharma K S >Assignee: Rohith Sharma K S > Labels: documentation > Attachments: YARN-5577.patch > > > In HierarchicalTimelineEntity, setparent/addChild allows to set parent/child > entities at INFO level. The key is an string and value as an object. > Like below, for YARN_CONTAINER entity parent entity set for application. > {code} > "SYSTEM_INFO_PARENT_ENTITY": { >"type": "YARN_APPLICATION", >"id": "application_1471931266232_0024" > } > {code} > But to use infofilter on entity type YARN_CONTAINER for an specific > applicationId, IIUC there is no way to pass object as value in infofilter. > To make easier retrieval either > # publish parent/child entity id and type as string rather that object like > below > {code} > "SYSTEM_INFO_PARENT_ENTITY_TYPE": "YARN_APPLICATION" > "SYSTEM_INFO_PARENT_ENTITY_ID":"application_1471931266232_0024" > {code} > OR > # Add ability to provide object as filter with below format like > {{infofilters=SYSTEM_INFO_PARENT_ENTITY eq ((type eq YARN_APPLICATION) AND > (id eq application_1471931266232_0024))}} > I believe 2nd approach will be well applicable for any entities. But I am not > sure does HBase supports such a custom filters while scanning a table. > 1st approaches will be much easier to change. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-5577) [Atsv2] Document object passing in infofilters with an example
[ https://issues.apache.org/jira/browse/YARN-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15452001#comment-15452001 ] Rohith Sharma K S commented on YARN-5577: - [~varun_saxena] If patch is fine, do you mind committing it? > [Atsv2] Document object passing in infofilters with an example > -- > > Key: YARN-5577 > URL: https://issues.apache.org/jira/browse/YARN-5577 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader, timelineserver >Reporter: Rohith Sharma K S >Assignee: Rohith Sharma K S > Labels: documentation > Attachments: YARN-5577.patch > > > In HierarchicalTimelineEntity, setparent/addChild allows to set parent/child > entities at INFO level. The key is an string and value as an object. > Like below, for YARN_CONTAINER entity parent entity set for application. > {code} > "SYSTEM_INFO_PARENT_ENTITY": { >"type": "YARN_APPLICATION", >"id": "application_1471931266232_0024" > } > {code} > But to use infofilter on entity type YARN_CONTAINER for an specific > applicationId, IIUC there is no way to pass object as value in infofilter. > To make easier retrieval either > # publish parent/child entity id and type as string rather that object like > below > {code} > "SYSTEM_INFO_PARENT_ENTITY_TYPE": "YARN_APPLICATION" > "SYSTEM_INFO_PARENT_ENTITY_ID":"application_1471931266232_0024" > {code} > OR > # Add ability to provide object as filter with below format like > {{infofilters=SYSTEM_INFO_PARENT_ENTITY eq ((type eq YARN_APPLICATION) AND > (id eq application_1471931266232_0024))}} > I believe 2nd approach will be well applicable for any entities. But I am not > sure does HBase supports such a custom filters while scanning a table. > 1st approaches will be much easier to change. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-5577) [Atsv2] Document object passing in infofilters with an example
[ https://issues.apache.org/jira/browse/YARN-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15445898#comment-15445898 ] Hadoop QA commented on YARN-5577: - | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 19s {color} | {color:blue} Docker mode activated. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s {color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 7s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 14s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 11s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s {color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 16s {color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 8m 23s {color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Image:yetus/hadoop:9560f25 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12825993/YARN-5577.patch | | JIRA Issue | YARN-5577 | | Optional Tests | asflicense mvnsite | | uname | Linux e94aae3c5765 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh | | git revision | trunk / c258171 | | modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/12925/console | | Powered by | Apache Yetus 0.3.0 http://yetus.apache.org | This message was automatically generated. > [Atsv2] Document object passing in infofilters with an example > -- > > Key: YARN-5577 > URL: https://issues.apache.org/jira/browse/YARN-5577 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader, timelineserver >Reporter: Rohith Sharma K S >Assignee: Rohith Sharma K S > Labels: documentation > Attachments: YARN-5577.patch > > > In HierarchicalTimelineEntity, setparent/addChild allows to set parent/child > entities at INFO level. The key is an string and value as an object. > Like below, for YARN_CONTAINER entity parent entity set for application. > {code} > "SYSTEM_INFO_PARENT_ENTITY": { >"type": "YARN_APPLICATION", >"id": "application_1471931266232_0024" > } > {code} > But to use infofilter on entity type YARN_CONTAINER for an specific > applicationId, IIUC there is no way to pass object as value in infofilter. > To make easier retrieval either > # publish parent/child entity id and type as string rather that object like > below > {code} > "SYSTEM_INFO_PARENT_ENTITY_TYPE": "YARN_APPLICATION" > "SYSTEM_INFO_PARENT_ENTITY_ID":"application_1471931266232_0024" > {code} > OR > # Add ability to provide object as filter with below format like > {{infofilters=SYSTEM_INFO_PARENT_ENTITY eq ((type eq YARN_APPLICATION) AND > (id eq application_1471931266232_0024))}} > I believe 2nd approach will be well applicable for any entities. But I am not > sure does HBase supports such a custom filters while scanning a table. > 1st approaches will be much easier to change. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-5577) [Atsv2] Document object passing in infofilters with an example
[ https://issues.apache.org/jira/browse/YARN-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15445699#comment-15445699 ] Varun Saxena commented on YARN-5577: Updating documentation should be fine. Objects should be represented as JSON. This was missed in documentation. Looks fine to me > [Atsv2] Document object passing in infofilters with an example > -- > > Key: YARN-5577 > URL: https://issues.apache.org/jira/browse/YARN-5577 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader, timelineserver >Reporter: Rohith Sharma K S >Assignee: Rohith Sharma K S > Labels: documentation > Attachments: YARN-5577.patch > > > In HierarchicalTimelineEntity, setparent/addChild allows to set parent/child > entities at INFO level. The key is an string and value as an object. > Like below, for YARN_CONTAINER entity parent entity set for application. > {code} > "SYSTEM_INFO_PARENT_ENTITY": { >"type": "YARN_APPLICATION", >"id": "application_1471931266232_0024" > } > {code} > But to use infofilter on entity type YARN_CONTAINER for an specific > applicationId, IIUC there is no way to pass object as value in infofilter. > To make easier retrieval either > # publish parent/child entity id and type as string rather that object like > below > {code} > "SYSTEM_INFO_PARENT_ENTITY_TYPE": "YARN_APPLICATION" > "SYSTEM_INFO_PARENT_ENTITY_ID":"application_1471931266232_0024" > {code} > OR > # Add ability to provide object as filter with below format like > {{infofilters=SYSTEM_INFO_PARENT_ENTITY eq ((type eq YARN_APPLICATION) AND > (id eq application_1471931266232_0024))}} > I believe 2nd approach will be well applicable for any entities. But I am not > sure does HBase supports such a custom filters while scanning a table. > 1st approaches will be much easier to change. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-5577) [Atsv2] Document object passing in infofilters with an example
[ https://issues.apache.org/jira/browse/YARN-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15445634#comment-15445634 ] Rohith Sharma K S commented on YARN-5577: - Summary also updated as per the patch provided. > [Atsv2] Document object passing in infofilters with an example > -- > > Key: YARN-5577 > URL: https://issues.apache.org/jira/browse/YARN-5577 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader, timelineserver >Reporter: Rohith Sharma K S >Assignee: Rohith Sharma K S > Labels: documentation > Attachments: YARN-5577.patch > > > In HierarchicalTimelineEntity, setparent/addChild allows to set parent/child > entities at INFO level. The key is an string and value as an object. > Like below, for YARN_CONTAINER entity parent entity set for application. > {code} > "SYSTEM_INFO_PARENT_ENTITY": { >"type": "YARN_APPLICATION", >"id": "application_1471931266232_0024" > } > {code} > But to use infofilter on entity type YARN_CONTAINER for an specific > applicationId, IIUC there is no way to pass object as value in infofilter. > To make easier retrieval either > # publish parent/child entity id and type as string rather that object like > below > {code} > "SYSTEM_INFO_PARENT_ENTITY_TYPE": "YARN_APPLICATION" > "SYSTEM_INFO_PARENT_ENTITY_ID":"application_1471931266232_0024" > {code} > OR > # Add ability to provide object as filter with below format like > {{infofilters=SYSTEM_INFO_PARENT_ENTITY eq ((type eq YARN_APPLICATION) AND > (id eq application_1471931266232_0024))}} > I believe 2nd approach will be well applicable for any entities. But I am not > sure does HBase supports such a custom filters while scanning a table. > 1st approaches will be much easier to change. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org