Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1245

getting A fatal error in bulkinsert mariadb columnstore java api

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.3
    • 1.1.4
    • 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)

      { b.setColumn(c, 0); }

      System.out.println("Writing row: " + i);
      b.writeRow();
      }
      System.out.println("Commiting Now");
      b.commit();
      }
      catch (ColumnStoreException e)

      { b.rollback(); e.printStackTrace(); }

      }
      }

      A fatal error has been detected by the Java Runtime Environment:
      #

      1. SIGSEGV (0xb) at pc=0x00007f73b32a49ea, pid=17005, tid=0x00007f73e20f2700
        #
      2. JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
      3. Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
      4. Problematic frame:
      5. C [libmcsapi.so.1+0xc9ea] mcsapi::ColumnStoreSystemCatalogColumn::ColumnStoreSystemCatalogColumn(mcsapi::ColumnStoreSystemCatalogColumn const&)+0xaa
        #
      6. Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
      7. If you would like to submit a bug report, please visit:
      8. http://bugreport.java.com/bugreport/crash.jsp
      9. The crash happened outside the Java Virtual Machine in native code.
      10. See problematic frame for where to report the bug.

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              eparesh Paresh B
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.