You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Andras Gyori (Jira)" <ji...@apache.org> on 2020/09/01 12:55:00 UTC

[jira] [Commented] (YARN-10031) Create a general purpose log request with additional query parameters

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

Andras Gyori commented on YARN-10031:
-------------------------------------

A new patch has been uploaded, where the new query is implemented for IFile format as well. Also added support of comparison between two values as the following:
{noformat}
userlogs?file_size=<1500&file_size=>0{noformat}

> Create a general purpose log request with additional query parameters
> ---------------------------------------------------------------------
>
>                 Key: YARN-10031
>                 URL: https://issues.apache.org/jira/browse/YARN-10031
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Adam Antal
>            Assignee: Andras Gyori
>            Priority: Major
>         Attachments: YARN-10031-WIP.001.patch, YARN-10031.001.patch
>
>
> The current endpoints are robust but not very flexible with regards to filtering options. I suggest to add an endpoint which provides filtering options.
> E.g.:
> In ATS we have multiple endpoints:
> /containers/{containerid}/logs/{filename}
> /containerlogs/{containerid}/{filename}
> We could add @QueryParams parameters to the REST endpoints like this:
> /containers/{containerid}/logs?fileName=stderr&containerState=FAILED&nodeId=nm45



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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