[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17437003#comment-17437003 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- Done! > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Affects Versions: 3.0.0, 2.2.0 >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > Fix For: 3.0.0, 2.2.0 > > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17436226#comment-17436226 ] Abhishek Kumar commented on RANGER-3245: Hi [~mgrigorov], Could you please close the review: [https://reviews.apache.org/r/73283/] Thanks! > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Affects Versions: 3.0.0, 2.2.0 >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > Fix For: 3.0.0, 2.2.0 > > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420970#comment-17420970 ] Ramesh Mani commented on RANGER-3245: - [~mgrigorov] This has been commit. Thank you https://gitbox.apache.org/repos/asf?p=ranger.git;a=commit;h=7b55dfd36a912e82f3c6a2eae651362affed59d8 > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Affects Versions: 3.0.0, 2.2.0 >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > Fix For: 3.0.0, 2.2.0 > > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420530#comment-17420530 ] Ramesh Mani commented on RANGER-3245: - [~mgrigorov] Thank you! > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Affects Versions: 3.0.0, 2.2.0 >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > Fix For: 3.0.0, 2.2.0 > > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420509#comment-17420509 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- The build at TravisCI is green for JDK 1.8 on Linux AMD64, and JDK 11 on Linux AMD64 and ARM64: [https://app.travis-ci.com/github/apache/ranger/builds/238525090!] I've updated [https://reviews.apache.org/r/73283/] ! > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Affects Versions: 3.0.0, 2.2.0 >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > Fix For: 3.0.0 > > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420490#comment-17420490 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- I see the change to Atlas 2.2.0 has been made: https://github.com/apache/ranger/commit/dd283ef856f97d85162b3470ab85de9364d1af63 The new build for this issue is: https://app.travis-ci.com/github/apache/ranger/builds/238523196 > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Affects Versions: 3.0.0, 2.2.0 >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > Fix For: 3.0.0 > > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420076#comment-17420076 ] Madhan Neethiraj commented on RANGER-3245: -- [~rmani] - yes. Ranger should be updated to reference Atlas 2.2.0 version. Can you please update pom.xml in both master and ranger-2.2 branches? > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Affects Versions: 3.0.0, 2.2.0 >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > Fix For: 3.0.0 > > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420068#comment-17420068 ] Ramesh Mani commented on RANGER-3245: - [~mgrigorov] I think that atlas version should 2.2.0 as there is a release done last month. [~mad...@apache.org] [~vel] Could you please provide your opinion on this? > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419707#comment-17419707 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- The new build is here: https://app.travis-ci.com/github/apache/ranger/builds/238415435 > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419702#comment-17419702 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- It seems the build has been executed after all! But the jobs failed while fetching -SNAPSHOTs of Apache Atlas artifacts. I will try again! > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419595#comment-17419595 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- It seems it won't be executed. ASF is out of credits at TravisCI: [https://the-asf.slack.com/archives/CBX4TSBQ8/p1632464616022300] This is a chat between me and Gavin from Apache Infra: {code:java} mgrigorov 9:23 AM Hi! What is the status of Apache @ TravisCI today ? Out of credits ? Gavin McDonald 9:24 AM Yup Gavin McDonald 9:24 AM We wont be getting any more mgrigorov 9:24 AM ouch! Gavin McDonald 9:24 AM Will have to diagnose who is using what and reign in some projects usage 9:24 I’ll post to the builds@ list 9:25 Basically a couple of projects used up our 4 minutes we get a month, within 3 days mgrigorov 9:26 AM I guess most will move to GitHub Actions. Too bad they still don't support Linux ARM64 9:27 Let's see how many of the projects I am interested in will agree to move to CircleCI ! Gavin McDonald 9:27 AM We should also investigate if some project wants to trial building in Azure and/or Artifactory (edited) {code} > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419587#comment-17419587 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- I've rebased the PR an hour ago. The Travis job is scheduled but still not executed: https://app.travis-ci.com/github/apache/ranger/builds/238400141 > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419584#comment-17419584 ] Ramesh Mani commented on RANGER-3245: - [~mgrigorov] could you please share the test result for this patch? > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417969#comment-17417969 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- Updated the PR to latest master. > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342398#comment-17342398 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- Hello Ranger devs, do you have any feedback on the proposed improvements ? > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there. > Manually install OpenJDK from Ubuntu repositories (i.e. apt install > openjdk-11-jdk) because the pre-installed one from TravisCI is too old, e.g. > JDK 11.0.2 instead of 11.0.10. > Add a job to build and test on ARM64 - a more complete version of > https://github.com/apache/ranger/pull/91. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17323793#comment-17323793 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- I even tried with JDK 16 but there are tests failures: {code:java} [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.apache.ranger.plugin.policyengine.TestRangerAuthContext [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestPolicyEngine.testPolicyEngine_geo:318->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668 isAllowed mismatched! - DENY 'read /finance/restricted/sales.db' for g=finance; invalid clientIPAddress expected: but was: [ERROR] TestPolicyEngine.testPolicyEngine_hdfs:193->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668 isAllowed mismatched! - DENY 'read /finance/restricted/sales.db' for g=finance; invalid clientIPAddress expected: but was: [ERROR] TestPolicyEngine.testPolicyEngine_hdfs_allaudit:200->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668 isAllowed mismatched! - DENY 'read /finance/restricted/sales.db' for g=finance; invalid clientIPAddress expected: but was: [ERROR] TestPolicyEngine.testPolicyEngine_hdfs_noaudit:207->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668 isAllowed mismatched! - DENY 'read /finance/restricted/sales.db' for g=finance; invalid clientIPAddress expected: but was: [ERROR] TestPolicyEngine.testPolicyEngine_hiveForTag:269->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668 isAllowed mismatched! - ALLOW 'select ssn from employee.personal;' for user1 using EXPIRES_ON tag expected: but was: [ERROR] TestPolicyEngine.testPolicyEngine_hiveForTag_filebased:325->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668 isAllowed mismatched! - ALLOW 'select ssn from employee.personal;' for user1 using EXPIRES_ON tag expected: but was: [INFO] [ERROR] Tests run: 207, Failures: 6, Errors: 0, Skipped: 0 {code} Please let me know if you want me to add JDK16 to the matrix! This way these test failures will be addressed sooner! > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-3245) Use OpenJDK in TravisCI config instead of OracleJDK
[ https://issues.apache.org/jira/browse/RANGER-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17323786#comment-17323786 ] Martin Tzvetanov Grigorov commented on RANGER-3245: --- https://reviews.apache.org/r/73283/ > Use OpenJDK in TravisCI config instead of OracleJDK > --- > > Key: RANGER-3245 > URL: https://issues.apache.org/jira/browse/RANGER-3245 > Project: Ranger > Issue Type: Task > Components: build-infra >Reporter: Martin Tzvetanov Grigorov >Priority: Minor > > OpenJDK is recommended at TravisCI these days. > OracleJDK 8 is no more available for any version of Ubuntu there -- This message was sent by Atlassian Jira (v8.3.4#803005)