ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-8605) Query predicate .matches doesn't work for stacks endpoint with passed logical OR
Date Tue, 09 Dec 2014 14:54:12 GMT
Dmytro Sen created AMBARI-8605:
----------------------------------

             Summary: Query predicate .matches doesn't work for stacks endpoint with passed
logical OR
                 Key: AMBARI-8605
                 URL: https://issues.apache.org/jira/browse/AMBARI-8605
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 1.7.0
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
             Fix For: 2.0.0


Stacks endpoint returns java exception for query predicate which use .matches and logical
OR, for example:
{noformat}
/api/v1/stacks/HDP/versions/2.2/services/HIVE/configurations?fields=*&StackConfigurations/property_type.matches((.*USER.*)|(.*GROUP.*))

/api/v1/stacks/HDP/versions/2.2/services/HIVE/configurations?fields=*&(StackConfigurations/property_type.matches(.*USER.*)|StackConfigurations/property_type.matches(.*GROUP.*))
{noformat} 

Regexp grouping with () doesn't work



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

Mime
View raw message