You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Sreenath Somarajapuram (JIRA)" <ji...@apache.org> on 2016/10/31 12:07:58 UTC

[jira] [Updated] (TEZ-3502) Tez UI: Search in All DAGs page doesn't work with numeric values

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

Sreenath Somarajapuram updated TEZ-3502:
----------------------------------------
    Description: 
Timeline server documentation says the following. 
{code}
Note that the value of the key/value pair for primaryFilter and secondaryFilters parameters can be of different data types, and matching is data type sensitive. Users need to format the value properly. For example, 123 and "123" means an integer and a string respectively. If the entity has a string "123" for primaryFilter, but the parameter is set to the integer 123, the entity will not be matched. Similarly, true means a boolean while "true" means a string. In general, the value will be casted as a certain Java type in consistent with jackson library parsing a JSON clip.
{code}

In essence, as data to be filtered is string we need to send all the filter values enclosed in double quotes.

Timeline doc can be found @ https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/TimelineServer.html

  was:
Timeline server documentation says the following. So basically we need to send all the filter values enclosed in double quotes.
{code}
Note that the value of the key/value pair for primaryFilter and secondaryFilters parameters can be of different data types, and matching is data type sensitive. Users need to format the value properly. For example, 123 and "123" means an integer and a string respectively. If the entity has a string "123" for primaryFilter, but the parameter is set to the integer 123, the entity will not be matched. Similarly, true means a boolean while "true" means a string. In general, the value will be casted as a certain Java type in consistent with jackson library parsing a JSON clip.
{code}

Timeline doc can be found @ https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/TimelineServer.html


> Tez UI: Search in All DAGs page doesn't work with numeric values
> ----------------------------------------------------------------
>
>                 Key: TEZ-3502
>                 URL: https://issues.apache.org/jira/browse/TEZ-3502
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Sreenath Somarajapuram
>            Assignee: Sreenath Somarajapuram
>
> Timeline server documentation says the following. 
> {code}
> Note that the value of the key/value pair for primaryFilter and secondaryFilters parameters can be of different data types, and matching is data type sensitive. Users need to format the value properly. For example, 123 and "123" means an integer and a string respectively. If the entity has a string "123" for primaryFilter, but the parameter is set to the integer 123, the entity will not be matched. Similarly, true means a boolean while "true" means a string. In general, the value will be casted as a certain Java type in consistent with jackson library parsing a JSON clip.
> {code}
> In essence, as data to be filtered is string we need to send all the filter values enclosed in double quotes.
> Timeline doc can be found @ https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/TimelineServer.html



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