Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.3
-
None
-
OS:Red Hat Enterprise Linux Server release 7.4 (Maipo)
-
2018-06
Description
I am trying to use MariaDB ColumnStore Bulk Write SDK in Java to bulk insert 10 rows in a table with 50 columns(data type int) but it never finished had to kill the process in 10 -15 tried couple times but same results and now I am getting following error.
this is the code sample from their doc https://mariadb.com/kb/en/library/columnstore-bulk-write-sdk/#rhel-centos-7
import com.mariadb.columnstore.api.*;
public class MCSAPITest {
public static void main(String[] args) {
ColumnStoreDriver d = new ColumnStoreDriver();
ColumnStoreBulkInsert b = d.createBulkInsert("test", "t1", (short)0, 0);
try {
int rows = 10;
int columns = 50;
for (int i = 0; i < rows; ++i) {
for (int c = 0; c < columns; ++c)
System.out.println("Writing row: " + i);
b.writeRow();
}
System.out.println("Commiting Now");
b.commit();
}
catch (ColumnStoreException e)
}
}
A fatal error has been detected by the Java Runtime Environment:
#
- SIGSEGV (0xb) at pc=0x00007f73b32a49ea, pid=17005, tid=0x00007f73e20f2700
# - JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
- Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
- Problematic frame:
- C [libmcsapi.so.1+0xc9ea] mcsapi::ColumnStoreSystemCatalogColumn::ColumnStoreSystemCatalogColumn(mcsapi::ColumnStoreSystemCatalogColumn const&)+0xaa
# - Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
# - If you would like to submit a bug report, please visit:
- http://bugreport.java.com/bugreport/crash.jsp
- The crash happened outside the Java Virtual Machine in native code.
- See problematic frame for where to report the bug.
Attachments
Issue Links
- is duplicated by
-
MCOL-1295 Python bulk load API encounters error: "Compressed data corruption"
- Closed