Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 995 Bytes

FAQ.md

File metadata and controls

27 lines (21 loc) · 995 Bytes

FAQ: Frequently Asked Questions


Q - I get an error like this when first indexing with qbeast following the steps from Quickstart:

java.io.IOException: (null) entry in command string: null chmod 0644

A - You can find the solution here


Q - I run into an "out or memory error" when indexing with qbeast format.

java.lang.OutOfMemoryError
	at sun.misc.Unsafe.allocateMemory(Native Method)
	at java.nio.DirectByteBuffer.(DirectByteBuffer.java:127)
	at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)

A - Since we process the data per partition, large partitions can cause the JVM to run out of memory.

Try to repartition the DataFrame before writing on your Spark Application:

df.repartition(200).write.format("qbeast").option("columnsToIndex", "x,y").save("/tmp/qbeast")