You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/10/06 19:31:14 UTC

[GitHub] [accumulo-testing] mandarinamdar opened a new issue #114: Incorrect authorizations selected by continous scanners and walkers

mandarinamdar opened a new issue #114: Incorrect authorizations selected by continous scanners and walkers 
URL: https://github.com/apache/accumulo-testing/issues/114
 
 
   Authorizations configured for continous scanners and walkers in accumulo-testing.properties in "test.ci.common.auths" incorrectly interpreted as single character each instead of | delimited. Like if  
   test.ci.common.auths=SYS,HR,ADM|SYS,ADM is defined. Authorizations chosen are S,Y,S,H,R ... and so on instead of "SYS,HR,ADM" , "SYS,ADM" and so on. 
   
   The issue looks to be in  authValue.split("|") call in ContinuousEnv.java. The code is not considering | as  a metacharacter in regex. It will require escape character to define | in the split function call. something like authValue.split("\\|") to handle the desired functionality correctly.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services