hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith Sharma K S (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-6027) Support fromid(offset) filter for /flows API
Date Mon, 27 Feb 2017 08:37:45 GMT

     [ https://issues.apache.org/jira/browse/YARN-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Rohith Sharma K S updated YARN-6027:
    Attachment: YARN-6027-YARN-5355.0005.patch

updating the patch with following interface changes. Most other implementation remain same
as previous patch. 
# Created new interface RowKey. This can be used by all the table classes to implement getRowKey
and getRowKeyAsString.
# Created new interface RowKeyConvertor that inherit the method from KeyConvertor. I purposely
created this interface to avoid changes in KeyConvertor which are used for rows as well as
columns. And key convertor is too generic which already many classes are implementing such
as StringKeyconvertor, LongKeyConvertor and other stuffs. So, I separated out these 2 interfaces.
RowKeyconvertor interface be used by all key convertor classes. 

> Support fromid(offset) filter for /flows API
> --------------------------------------------
>                 Key: YARN-6027
>                 URL: https://issues.apache.org/jira/browse/YARN-6027
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>              Labels: yarn-5355-merge-blocker
>         Attachments: YARN-6027-YARN-5355.0001.patch, YARN-6027-YARN-5355.0002.patch,
YARN-6027-YARN-5355.0003.patch, YARN-6027-YARN-5355.0004.patch, YARN-6027-YARN-5355.0005.patch
> In YARN-5585 , fromId is supported for retrieving entities. We need similar filter for
flows/flowRun apps and flow run and flow as well. 
> Along with supporting fromId, this JIRA should also discuss following points
> * Should we throw an exception for entities/entity retrieval if duplicates found?
> * TimelieEntity :
> ** Should equals method also check for idPrefix?
> ** Does idPrefix is part of identifiers?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message