[ 
https://issues.apache.org/jira/browse/HBASE-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Smith updated HBASE-828:
-----------------------------

    Description: 
Process:

One the 1st run of the application, i use tableExists( new Text("TestTable5")) 
& tableCreate to create the table.

On the 2nd run, 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.

To test this, you have to run the program 2 times.  Once to create the table 
that doesnt exist, then the 2nd time to see the error.


  was:
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.




> 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
>            Assignee: Izaak Rubin
>            Priority: Minor
>             Fix For: 0.19.0
>
>
> Process:
> One the 1st run of the application, i use tableExists( new 
> Text("TestTable5")) & tableCreate to create the table.
> On the 2nd run, 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.
> To test this, you have to run the program 2 times.  Once to create the table 
> that doesnt exist, then the 2nd time to see the error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to