jerryleooo commented on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-940805017


   Hi @aakashnand thanks for the reply, the issues we encountered are resolved, 
it is not related to this PR so I deleted my comment. 
   
   And now we got another issue, in Presto log we see:
   ```
   2021-10-12T16:47:28.821+0800    WARN    
PolicyRefresher(serviceName=prestodev)-259      
org.apache.ranger.admin.client.RangerAdminRESTClient    Error getting Roles. 
secureMode=false, user=root (auth:SIMPLE), 
response={"httpStatusCode":401,"statusCode":401,"msgDesc":"Authentication 
Failed"}, serviceName=prestodev
   2021-10-12T16:47:58.821+0800    WARN    
PolicyRefresher(serviceName=prestodev)-259      
org.apache.ranger.admin.client.RangerAdminRESTClient    Error getting Roles. 
secureMode=false, user=root (auth:SIMPLE), 
response={"httpStatusCode":401,"statusCode":401,"msgDesc":"Authentication 
Failed"}, serviceName=prestodev
   2021-10-12T16:48:23.509+0800    INFO    HttpServerScheduler     
org.eclipse.jetty.util.ssl.SslContextFactory    
x509=X509@3eac10e4(1,h=[hadoop02-10-165-48-97],w=[]) for 
Server@c55b55[provider=null,keyStore=file:///etc/presto/presto.hadoop02-10-165-48-97.keystore.jks,trustStore=null]
   2021-10-12T16:48:28.821+0800    WARN    
PolicyRefresher(serviceName=prestodev)-259      
org.apache.ranger.admin.client.RangerAdminRESTClient    Error getting Roles. 
secureMode=false, user=root (auth:SIMPLE), 
response={"httpStatusCode":401,"statusCode":401,"msgDesc":"Authentication 
Failed"}, serviceName=prestodev
   2021-10-12T16:48:58.821+0800    WARN    
PolicyRefresher(serviceName=prestodev)-259      
org.apache.ranger.admin.client.RangerAdminRESTClient    Error getting Roles. 
secureMode=false, user=root (auth:SIMPLE), 
response={"httpStatusCode":401,"statusCode":401,"msgDesc":"Authentication 
Failed"}, serviceName=prestodev
   ```
   
   And I guess this is related to the usersync, maybe we missed providing the 
credentials? If you happen to know what would be the cause can let me know, 
thanks!


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to