You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Balazs Meszaros (Jira)" <ji...@apache.org> on 2019/11/28 09:55:00 UTC
[jira] [Created] (HBASE-23348) Spark's createTable method throws an
exception while the table is being split
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)