Vishal Bhavsar created RANGER-5011:
--------------------------------------

             Summary: The functionality mentioned in RANGER-4660 does not work 
when a service is created with a name that does not contain an underscore.
                 Key: RANGER-5011
                 URL: https://issues.apache.org/jira/browse/RANGER-5011
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Vishal Bhavsar
            Assignee: Mehul Parikh


The functionality mentioned in RANGER-4660 does not work when a service is 
created with a name that does not contain an underscore.

 

The following behaviour has been observed on the *ranger-2.5* branch. Could we 
please have confirmation if these are expected.

Scenario 1:
When creating a service having underscore in its name eg {*}hivetest_srvc{*}, 
then a corresponding tag service with name *hivetest_tag* is created and 
associated with {*}hivetest_srvc{*}. For every service having underscore in its 
name, the corresponding tag service is created by replacing text after the last 
underscore with 'tag'.

Scenario 2:
When creating a service which does not have underscore in its name eg 
{*}testhive{*}, then corresponding tag service having name *tag* is created and 
associated with {*}testhive{*}. For every service which does not have 
underscore in its name, the existing tag service "{*}tag{*}" would be 
associated. Could this be related to RANGER-4663.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to