You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/04/11 22:47:41 UTC

[jira] [Commented] (HBASE-17905) [hbase-spark] bulkload does not work when table not exist

    [ https://issues.apache.org/jira/browse/HBASE-17905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965073#comment-15965073 ] 

Ted Yu commented on HBASE-17905:
--------------------------------

{code}
626	      throw new FileAlreadyExistsException("Path " + stagingDir + " already exist")
{code}
exist -> exists

For BulkLoadPartitioner#getPartition(), why is 0 returned in the following case ?
{code}
+    if (partition < 0)
+      partition = 0
{code}

> [hbase-spark]  bulkload does not work when table not exist
> ----------------------------------------------------------
>
>                 Key: HBASE-17905
>                 URL: https://issues.apache.org/jira/browse/HBASE-17905
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Yi Liang
>            Assignee: Yi Liang
>         Attachments: HBASE-17905-V1.patch
>
>
> when using HBase-Spark bulkload api, an argument of tablename is needed, the bulkload can run successfully only if  table exist in HBase.  If table not exist, the bulkload can not run successfully and it even do not report any errors or throw exception. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)