Tristan Stevens created HBASE-21106:
---------------------------------------

             Summary: HBase-Spark BulkLoad does not support deletes
                 Key: HBASE-21106
                 URL: https://issues.apache.org/jira/browse/HBASE-21106
             Project: HBase
          Issue Type: Improvement
          Components: spark
    Affects Versions: 3.0.0
            Reporter: Tristan Stevens


The Spark BulkLoad operations (and BulkLoadThin) only supports upserts, it does 
not support delete operations. To do so, 
https://github.com/apache/hbase/blob/f4f2b68238a094d7b1931dc8b7939742ccbb2b57/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/HBaseContext.scala#L1034
 would need to take the KeyValue.Type argument and be settable to 
KeyValue.Type.Delete.

We'd need to think about how we represented deletes in the input RDD, I guess 
with some container that contains either a Byte[] or a Delete marker. This 
would be a non-backwards compatible change, unless we override the method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to