[
https://issues.apache.org/jira/browse/HBASE-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623445#action_12623445
]
Izaak Rubin commented on HBASE-828:
-----------------------------------
Hi Ryan,
Actually the code snippet I put in my first comment was wrong, in testing I had
passed an HTableDescriptor to createTable(), not a byte[] (bad type-o on my
part). I did try running the code from your most recent comment, and that
worked fine. Was that the code you were having trouble with? Maybe try it out
again on your machine and see if it's still a problem. Let me know if there's
anything else I should try.
> HBaseAdmin.tableExists(new Text("TestTable5")) returns false when table
> actually exists.
> ----------------------------------------------------------------------------------------
>
> Key: HBASE-828
> URL: https://issues.apache.org/jira/browse/HBASE-828
> Project: Hadoop HBase
> Issue Type: Bug
> Components: util
> Affects Versions: 0.2.0
> Reporter: Ryan Smith
> Priority: Minor
> Fix For: 0.3.0
>
>
> Process:
> One the 1st MR job, i use tableExists( new Text("TestTable5")) & tableCreate
> to create the table.
> On the 2nd MR job, I call tableExists(new Text("TestTable5")), which returns
> false, then i call disableTable, deleteTable, and finally createTable.
> Workaround for now is to avoid using Text. tableExists(byte[]) works when i
> tested it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.