incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-1341) Add Hosts: update the API call for new operator precedence
Date Mon, 04 Feb 2013 18:22:12 GMT

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

Yusaku Sako updated AMBARI-1341:
--------------------------------

    Attachment: AMBARI-1341.patch
    
> Add Hosts: update the API call for new operator precedence
> ----------------------------------------------------------
>
>                 Key: AMBARI-1341
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1341
>             Project: Ambari
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.2.1
>            Reporter: Yusaku Sako
>            Assignee: Yusaku Sako
>             Fix For: 1.3.0
>
>         Attachments: AMBARI-1341.patch
>
>
> Ambari API has implemented operator precedence for predicates.
> Previously, a=1|a=2|a=3&b=1 was interpreted as (a==1||a==2||a==3)&&(b==1).
> With the addition of operator precedence, it would be interpreted as a==1||a==2||(a==3&&b==1).
> In step9_controller, UI makes a call to App.apiPrefix + '/clusters/' + clusterName +
'/host_components?HostRoles/component_name=GANGLIA_MONITOR|HostRoles/component_name=HBASE_REGIONSERVER|HostRoles/component_name=DATANODE|HostRoles/component_name=TASKTRACKER&HostRoles/state=INSTALLED'.
> This is for starting service components that have been installed during Add Host Wizard.
> This should be changed to App.apiPrefix + '/clusters/' + clusterName + '/host_components?(HostRoles/component_name=GANGLIA_MONITOR|HostRoles/component_name=HBASE_REGIONSERVER|HostRoles/component_name=DATANODE|HostRoles/component_name=TASKTRACKER)&HostRoles/state=INSTALLED'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message