Skip to content

Commit ed7f624

Browse files
committed
[SPARK-29924][DOCS] Add Apache Arrow requirement in Java 11
1 parent ed44926 commit ed7f624

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ For the Scala API, Spark {{site.SPARK_VERSION}}
5252
uses Scala {{site.SCALA_BINARY_VERSION}}. You will need to use a compatible Scala version
5353
({{site.SCALA_BINARY_VERSION}}.x).
5454

55+
For Java 11, `-Dio.netty.tryReflectionSetAccessible=true` is required additionally for Apache Arrow library. This prevents `java.lang.UnsupportedOperationException: sun.misc.Unsafe or java.nio.DirectByteBuffer.(long, int) not available` when Apache Arrow uses Netty internally.
56+
5557
# Running the Examples and Shell
5658

5759
Spark comes with several sample programs. Scala, Java, Python and R examples are in the

0 commit comments

Comments
 (0)