You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by GitBox <gi...@apache.org> on 2021/10/11 04:29:48 UTC

[GitHub] [ranger] aakashnand opened a new pull request #120: RANGER-3182: Rename Prestosql to Trino

aakashnand opened a new pull request #120:
URL: https://github.com/apache/ranger/pull/120


   Refactored prestosql plugin code to work with newly rebranded trino and
   fixed missing jars from classpath which are required to work with Trino
   version 361


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] jerryleooo edited a comment on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
jerryleooo edited a comment on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-939916405


   Thanks for the work. 
   
   We encountered following error when restarting Trino:
   
   ![image](https://user-images.githubusercontent.com/3231765/136778824-11465a8c-f12d-4b54-a7f9-4a53a808225a.png)
   


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] jerryleooo commented on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] jerryleooo removed a comment on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
jerryleooo removed a comment on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-939916405


   Thanks for the work. 
   
   We encountered following error when restarting Trino(356):
   
   ![image](https://user-images.githubusercontent.com/3231765/136778824-11465a8c-f12d-4b54-a7f9-4a53a808225a.png)
   


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] aakashnand closed pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
aakashnand closed pull request #120:
URL: https://github.com/apache/ranger/pull/120


   


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] jerryleooo edited a comment on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
jerryleooo edited a comment on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-939916405


   Thanks for the work. 
   
   We encountered following error when restarting Trino(356):
   
   ![image](https://user-images.githubusercontent.com/3231765/136778824-11465a8c-f12d-4b54-a7f9-4a53a808225a.png)
   


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] aakashnand edited a comment on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
aakashnand edited a comment on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-939674179


    Could anyone please review this? I have migrated the existing presto plugin to the trino plugin and also have fixed some classpath errors. This works with the latest Trino version 361


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] aakashnand commented on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
aakashnand commented on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-939674179


   @rameeshm Could you please review this? I have migrated the existing presto plugin to the trino plugin and also have fixed some classpath errors. This works with the latest Trino version 361


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] aakashnand commented on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
aakashnand commented on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-940106140


   I am not able to trigger Travis CI build, can anyone please help me with it?
   


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] jerryleooo commented on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
jerryleooo commented on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-939916405


   Thanks for the work. 
   
   We encountered following error:
   ![image](https://user-images.githubusercontent.com/3231765/136778824-11465a8c-f12d-4b54-a7f9-4a53a808225a.png)
   


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] jerryleooo commented on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
jerryleooo commented on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-940869475


   Thanks @aakashnand , the Ranger version we are using is 2.0


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] aakashnand commented on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
aakashnand commented on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-940867393


   @jerryleooo You will see this warning `WARN` entry in your trino server.log if you are using Ranger version 1.2.0. If your policies are working fine, you can safely ignore this by adding `org.apache.ranger.admin.client.RangerAdminRESTClient=ERROR` in `log.properties` in trino configurations. 
   because the roles feature was added to Ranger in version 2.1.0 onwards. 
   
   


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] aakashnand edited a comment on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
aakashnand edited a comment on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-939674179


    Could you please review this? I have migrated the existing presto plugin to the trino plugin and also have fixed some classpath errors. This works with the latest Trino version 361


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] aakashnand commented on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
aakashnand commented on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-939984696


   @jerryleooo I will need more information to help you. If you have not joined Trino Community Slack I recommend you to join us there and I can help you in slack. 
   Recently I also have published a tutorial on how to integrate Ranger and Trino, please check that as well
   
   Integrating Apache Ranger and Trino: https://towardsdatascience.com/integrating-trino-and-apache-ranger-b808f6b96ad8
   Trino Slack: https://trino.io/slack.html


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ranger] woowahan-jaehoon commented on pull request #120: RANGER-3182: Rename Prestosql to Trino

Posted by GitBox <gi...@apache.org>.
woowahan-jaehoon commented on pull request #120:
URL: https://github.com/apache/ranger/pull/120#issuecomment-1012222348


   I think that adding trino plugin like #106 is best because prestosql cluster cannot be upgraded even if ranger was upgraded.


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org