anmolanmol1234 commented on code in PR #8611:
URL: https://github.com/apache/hadoop/pull/8611#discussion_r3657107904


##########
hadoop-tools/hadoop-azure/pom.xml:
##########
@@ -47,6 +47,16 @@
     
<fs.azure.scale.test.list.performance.files>1000</fs.azure.scale.test.list.performance.files>
     <!-- http connection pool size; passed down as a system property -->
     <http.maxConnections>100</http.maxConnections>
+    <!-- Apache Arrow version used for Photon (Arrow-based ListBlob) parsing. 
-->
+    <arrow.version>15.0.2</arrow.version>
+    <!--
+      Apache Arrow's off-heap allocator (io.netty.util.internal / MemoryUtil)
+      reflectively accesses java.nio internals, which requires opening the
+      java.base/java.nio package on Java 9+. The parent extraJavaTestArgs opens
+      several java.base packages but not java.nio, so append it here to ensure
+      the default (no-profile) `mvn test` run can execute Arrow-based tests.
+    -->
+    <maven-surefire-plugin.argLine>-Xmx4096m -Xss4m 
-XX:+HeapDumpOnOutOfMemoryError ${extraJavaTestArgs} 
--add-opens=java.base/java.nio=ALL-UNNAMED</maven-surefire-plugin.argLine>

Review Comment:
   The --add-opens flag here only applies when running tests. Real clusters 
(Spark, Hive) won't have it, so Arrow will fail to initialise on Java 17 and 
listings will break — even though CI passes. Can we document the flag in 
blobEndpoint.md and fall back to XML if Arrow can't start?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to