File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 6767 <!-- aws-java-sdk-bundle version should align with hadoop-aws version -->
6868 <!-- aws-java-sdk-bundle.version>1.12.367</aws-java-sdk-bundle.version -->
6969 <!-- Set java compile level via argument, ex: 1.8 1.9 10 11-->
70- <java .level>11 </java .level>
70+ <java .level>17 </java .level>
7171 <java .version>{java.level}</java .version>
7272 <!-- >Testing settings<!-->
7373 <maven .test.skip>false</maven .test.skip>
8282 <automatedtestbase .outputbuffering>false</automatedtestbase .outputbuffering>
8383 <argLine >-Xms3000m -Xmx3000m -Xmn300m</argLine >
8484 <enableStats >false</enableStats >
85+
86+ <!-- Dependent on Spark open to access deprecated api components from <= Java 11. Should be removed once Spark updates fully to Java 17 -->
87+ <jvm .addopens>
88+ --add-opens=java.base/java.nio=ALL-UNNAMED
89+ --add-opens=java.base/java.io=ALL-UNNAMED
90+ --add-opens=java.base/java.util=ALL-UNNAMED
91+ --add-opens=java.base/java.lang=ALL-UNNAMED
92+ --add-opens=java.base/java.lang.ref=ALL-UNNAMED
93+ --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
94+ --add-opens=java.base/sun.nio.ch=ALL-UNNAMED
95+ </jvm .addopens>
8596 </properties >
8697
8798 <repositories >
368379 <systemPropertyVariables >
369380 <log4j .configurationFile>file:src/test/resources/log4j.properties</log4j .configurationFile>
370381 </systemPropertyVariables >
382+ <argLine >
383+ ${jvm.addopens}
384+ </argLine >
371385 </configuration >
372386 </plugin >
373387
You can’t perform that action at this time.
0 commit comments