AnsweredAssumed Answered

Mapr M7 hbase writes issues

Question asked by vinuj on Feb 8, 2014
Latest reply on Jun 11, 2015 by hhmapr
While writing to Mapr m7 (3.0) hbase using mapr hbase client itself, i am facing some issues.
I am inserting just one record (with multiple columns), the client throws no error or nothing is visible in debug too.

While hbase client shows no errors or logs, i can;t see the record inside hbase when i check using hbase shell (scan/get/count). The table has no records..

The table is created as -
<code>

create '/tables/user', {NAME => 'pr', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', VERSIONS => '3', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => '2147483647', KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', IN_MEMORY => 'false', ENCODE_ON_DISK => 'true', BLOCKCACHE => 'true'}, {NAME => 'ug', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', VERSIONS => '3', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => '2147483647', KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', IN_MEMORY => 'false', ENCODE_ON_DISK => 'true', BLOCKCACHE => 'true'}
</code>

In a another issue, i got following error and no records are inserted, this is sort of error thrown in a another case by the hbase client in a another case.

    Caused by: java.io.IOException: Error: Input/output error(5)
        at com.mapr.fs.Inode.syncPut(Inode.java:1177)
        at com.mapr.fs.MapRHTable.syncPut(MapRHTable.java:99)
        at com.mapr.fs.MapRHTable.syncPut(MapRHTable.java:95)
        at com.mapr.fs.HTableImpl.put(HTableImpl.java:183)
        at com.mapr.fs.HTableImpl.batch(HTableImpl.java:118)
        at com.mapr.fs.HTableImpl.batch(HTableImpl.java:140)
        at org.apache.hadoop.hbase.client.HTable.batch(HTable.java:865)
        at

Outcomes