Bruno Dumon created PHOENIX-5: --------------------------------- Summary: HRegion.put() on Phoenix table from within endpoint coprocessor fails with NPE Key: PHOENIX-5 URL: https://issues.apache.org/jira/browse/PHOENIX-5 Project: Phoenix Issue Type: Improvement Affects Versions: 2.2 Reporter: Bruno Dumon
See also mailing list: http://mail-archives.apache.org/mod_mbox/incubator-phoenix-user/201401.mbox/%3CCAAF1JdirF75oVNDEA9THt2DCZ0f0YOeo%3DRB3ARhQE_iG4fF6bQ%40mail.gmail.com%3E I have an HBase table created by Phoenix, onto which I added another CF which is unknown to Phoenix. I also have a custom endpoint coprocessor, which does puts on this table in the CF which is unknown by Phoenix. However, this doesn't work, it throws an NPE because the WALEdit contains a KeyValue with null bytes, which I found is the BATCH_MARKER added by Indexer.prePut. (I'm not using indexes) I don't have this problem if I do the put via an HTable, it is only when doing the put directly from the coprocessor via HRegion.put(). *Workaround*: disabling the Indexer coprocessor avoids the issue. I will attach a testcase. -- This message was sent by Atlassian JIRA (v6.1.5#6160)