tarekabouzeid commented on PR #291:
URL: https://github.com/apache/ranger/pull/291#issuecomment-1925902577

   Hi @nil1729 
   Thank you for sharing, I guess its related to different JDK versions between 
Trino and Ranger, which version have you used to build ranger and which one you 
are using to run Trino ?
   
   For me, I build ranger using : maven:3.8.5-openjdk-17-slim, it was built 
fine but ES was not working in Trino.
   When I tried to build ranger using : maven:3.9.6-eclipse-temurin-17-focal, 
built failed
   
   I got this error while building,
   ```bash
   #7 191.6 [ERROR] 
/opt/ranger/embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/ElasticSearchIndexBootStrapper.java:[53,36]
 error: cannot find symbol
   #7 191.6 [ERROR]   symbol:   class TimeValue
   #7 191.6 [ERROR]   location: package org.elasticsearch.common.unit
   #7 191.6 [ERROR] 
/opt/ranger/embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/ElasticSearchIndexBootStrapper.java:[54,40]
 error: cannot find symbol
   #7 191.6 [ERROR]   symbol:   class XContentType
   #7 191.6 [ERROR]   location: package org.elasticsearch.common.xcontent
   #7 191.6 [ERROR] 
/opt/ranger/embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/ElasticSearchIndexBootStrapper.java:[253,49]
 error: cannot find symbol
   ```


-- 
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-unsubscr...@ranger.apache.org

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

Reply via email to