Balazs Meszaros created HBASE-23348:
---------------------------------------

             Summary: Spark's createTable method throws an exception while the 
table is being split
                 Key: HBASE-23348
                 URL: https://issues.apache.org/jira/browse/HBASE-23348
             Project: HBase
          Issue Type: Bug
          Components: hbase-connectors
    Affects Versions: connector-1.0.0
            Reporter: Balazs Meszaros


{{HBaseRelation.createTable}} checks table existence with 
{{HBaseAdmin.isTableAvailable}} method 
[here|https://github.com/apache/hbase-connectors/blob/master/spark/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/DefaultSource.scala#L167].
 This is unfortunate, because it can return {{false}} while splitting, so 
{{createTable}} will fail. It should use {{tableExists}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to