You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Balazs Meszaros (Jira)" <ji...@apache.org> on 2019/11/29 14:16:00 UTC
[jira] [Resolved] (HBASE-23348) Spark's createTable method throws
an exception while the table is being split
[ https://issues.apache.org/jira/browse/HBASE-23348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Balazs Meszaros resolved HBASE-23348.
-------------------------------------
Fix Version/s: connector-1.0.1
Resolution: Fixed
Thanks [~rabikumar.kc]!
> 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
> Assignee: Rabi Kumar K C
> Priority: Major
> Labels: beginner
> Fix For: connector-1.0.1
>
>
> {{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)