[Bug]: LocalBulkWriter error #34077
Labels
kind/bug
Issues or changes related a bug
stale
indicates no udpates for 30 days
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Is there an existing issue for this?
Environment
Current Behavior
when I use LocalBulkWriter to write PARQUET file and I see the error message attached below :
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/software/maven/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.1/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/software/maven/repository/org/slf4j/slf4j-reload4j/1.7.36/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
2024-06-22 17:50:06 io.milvus.bulkwriter.LocalBulkWriter createDirIfNotExist
INFO: Data path created: /opt/software/milvus/data
2024-06-22 17:50:06 io.milvus.bulkwriter.LocalBulkWriter createDirIfNotExist
INFO: Data path created: /opt/software/milvus/data/1f2e92f2-f75b-4d70-988c-6ae31a601118
2024-06-22 17:50:08 io.milvus.bulkwriter.LocalBulkWriter commit
INFO: Prepare to flush buffer, row_count: 10000, size: 31080000
2024-06-22 17:50:08 io.milvus.bulkwriter.LocalBulkWriter commit
INFO: Flush thread begin, name: Thread-1
2024-06-22 17:50:08 io.milvus.bulkwriter.LocalBulkWriter commit
INFO: Wait flush to finish
2024-06-22 17:50:12 org.apache.hadoop.util.NativeCodeLoader
WARN: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "Thread-1" java.lang.NullPointerException
at io.milvus.bulkwriter.Buffer.appendGroup(Buffer.java:197)
at io.milvus.bulkwriter.Buffer.persistParquet(Buffer.java:182)
at io.milvus.bulkwriter.Buffer.persist(Buffer.java:132)
at io.milvus.bulkwriter.LocalBulkWriter.flush(LocalBulkWriter.java:120)
at io.milvus.bulkwriter.LocalBulkWriter.lambda$commit$0(LocalBulkWriter.java:97)
at java.lang.Thread.run(Thread.java:748)
2024-06-22 17:50:14 io.milvus.bulkwriter.LocalBulkWriter commit
INFO: Commit done with async=false
Process finished with exit code 0
Expected Behavior
No response
Steps To Reproduce
Milvus Log
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/software/maven/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.1/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/software/maven/repository/org/slf4j/slf4j-reload4j/1.7.36/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
2024-06-22 17:50:06 io.milvus.bulkwriter.LocalBulkWriter createDirIfNotExist
INFO: Data path created: /opt/software/milvus/data
2024-06-22 17:50:06 io.milvus.bulkwriter.LocalBulkWriter createDirIfNotExist
INFO: Data path created: /opt/software/milvus/data/1f2e92f2-f75b-4d70-988c-6ae31a601118
2024-06-22 17:50:08 io.milvus.bulkwriter.LocalBulkWriter commit
INFO: Prepare to flush buffer, row_count: 10000, size: 31080000
2024-06-22 17:50:08 io.milvus.bulkwriter.LocalBulkWriter commit
INFO: Flush thread begin, name: Thread-1
2024-06-22 17:50:08 io.milvus.bulkwriter.LocalBulkWriter commit
INFO: Wait flush to finish
2024-06-22 17:50:12 org.apache.hadoop.util.NativeCodeLoader
WARN: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "Thread-1" java.lang.NullPointerException
at io.milvus.bulkwriter.Buffer.appendGroup(Buffer.java:197)
at io.milvus.bulkwriter.Buffer.persistParquet(Buffer.java:182)
at io.milvus.bulkwriter.Buffer.persist(Buffer.java:132)
at io.milvus.bulkwriter.LocalBulkWriter.flush(LocalBulkWriter.java:120)
at io.milvus.bulkwriter.LocalBulkWriter.lambda$commit$0(LocalBulkWriter.java:97)
at java.lang.Thread.run(Thread.java:748)
2024-06-22 17:50:14 io.milvus.bulkwriter.LocalBulkWriter commit
INFO: Commit done with async=false
Process finished with exit code 0
Anything else?
No response
The text was updated successfully, but these errors were encountered: