hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Sampathkumar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1948) updates to existing tables do not get reflected after a complete HBase + Hadoop + Zookeeper restart
Date Mon, 02 Nov 2009 22:18:59 GMT

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

Gautam Sampathkumar updated HBASE-1948:
---------------------------------------


There are no replicas. I'm using HDFS with one datanode.  It doesnt seem to me that it's opened
hbase clients because hbase is started up after hadoop. Here's the series of steps that might
help replicate this situation.

1. start hadoop
2. start hbase
3. start thrift
4. load data into table
5. stop thrift(normal shutdown)
6. stop hbase (normal shutdown)
7. stop hadoop(normal shutdown)
8. edit some of the existing row(s) and/or column(s) in the database through thrift PHP client
or C++ client
9. lookup the data using hbase shell
10. the updated data does not show up.
11. disable the table and then enable it using hbase shell
12. the updated data shows up now 

Sometimes I see some really wierd behavor though, wherein initially every alternate value
is updated and the others are not, say columns 1,3,5,7,9 show updated values and 2,4,5,8,10
show old values. Then after I disable and enable the table columns 1,3,5,7,9 now show the
old values and columns 2,4,6,8,10 show the new updated values!


             

> updates to existing tables do not get reflected after a complete HBase + Hadoop + Zookeeper
restart
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1948
>                 URL: https://issues.apache.org/jira/browse/HBASE-1948
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.20.1
>         Environment: ubuntu 9.04
> hadoop 0.20.1 (single machine mode)
> hbase 0.20.0 (pseudo-distributed mode i.e. using HDFS on a single machine)
> zookeeper 3.2.1
>            Reporter: Gautam Sampathkumar
>         Attachments: hbase-site.xml, hdfs-site.xml
>
>
> I have an existing hbase table with data in it. When I restart hadoop, hbase and zookeeper,
I am able to read all of the data that existed in the table prior to the restart. However
when I write data to the table, it does not get reflected. 
> When I do a disable <table> and then an enable <table> on an hbase shell.
The data that was written to the table now appears and the table is up to date. However, even
after this my thrift client still sees the old data and not the updated values.

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


Mime
View raw message