AnsweredAssumed Answered

Bulk Load with MapR DB JSON tables - not working or not needed?

Question asked by soroka21 on Jun 6, 2017
Latest reply on Jun 16, 2017 by maprcommunity


I'm creating MapR DB JSON table with bulkLoad enabled:

Admin a = MapRDB.newAdmin();
TableDescriptor tableDescriptor = MapRDB.newTableDescriptor("/apps/t2").setBulkLoad(true);



I'm getting exception when trying to insert JSON records into this table:


2017-06-06 21:43:37,9067 ERROR ApiCommon fs/client/fileclient/cc/ Thread: 25825 Error in UpdateAndGetResponse for table /apps/t2, error: Operation not supported(95)
Exception in thread "main" com.mapr.db.exceptions.DBException: checkAndDelete failed with err code = 95,
at com.mapr.db.exceptions.ExceptionHandler.handle(
at com.mapr.db.impl.MapRDBTableImpl._checkAndReplace(
at com.mapr.db.impl.MapRDBTableImpl._insert(
at com.mapr.db.impl.MapRDBTableImpl.insert(
at tst.mdbtest.main(
Caused by: com.mapr.fs.ErrnoException: checkAndReplaceOrDelete() on '/apps/t2' failed with error: Operation not supported (95).
at com.mapr.fs.Inode.checkError(
at com.mapr.fs.Inode.checkError(
at com.mapr.fs.Inode.checkAndReplaceOrDelete(
at com.mapr.fs.MapRHTable.checkAndReplaceOrDelete(
at com.mapr.db.impl.MapRDBTableImpl._checkAndReplace(
... 3 more



Does this mean what BulkLoad is not worked/Not needed for JSON tables?