hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allan Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17966) Inconsistent logic in Admin.createTable vs Admin.tableExists
Date Thu, 27 Apr 2017 02:21:04 GMT

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

Allan Yang commented on HBASE-17966:
------------------------------------

TableExists  only checks in meta table, but createTable also check the table's znode. Check
znode in tableExists should fix the inconsistency. 

> Inconsistent logic in Admin.createTable vs Admin.tableExists
> ------------------------------------------------------------
>
>                 Key: HBASE-17966
>                 URL: https://issues.apache.org/jira/browse/HBASE-17966
>             Project: HBase
>          Issue Type: Bug
>          Components: Admin
>    Affects Versions: 1.2.2
>            Reporter: Jeff Saremi
>
> tableExists can return false for cases where createTable fails. Obviously the logic implemented
in these two methods are different. 
> This is to make this implementation consistent



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

Mime
View raw message