DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCHBASE-16
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Erik Bengtson
Reporter: Kelly Cheng
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store HBase

Hbase Put Always Deletes Record

Created: 04/Feb/10 02:51 AM   Updated: 27/Jan/11 07:54 PM   Resolved: 04/Feb/10 06:39 PM
Component/s: None
Affects Version/s: 1.0.3, 1.0.4
Fix Version/s: 1.0.5

Environment:
OS: windows 7
Jetty Client using datanucleus-hbase-1.0.4
HBase-0.20.2 server
zookeeper 3.2.2

Forum Thread URL: http://old.nabble.com/Data-Nucleus-and-HBase---Problems-during-Update-td27348051.html#a27445970
Datastore: Other


 Description  « Hide
Updates issued for persistent objects issues a delete and removes the record.

more details are here:
http://www.jpox.org/servlet/forum/viewthread_thread,5939
http://old.nabble.com/Data-Nucleus-and-HBase---Problems-during-Update-td27348051.html#a27445970

From inspecting the source and from help from Tatsuya, it looks like the issue has been present since 1.0.3:

             if( !put.isEmpty() )
             {
                 table.put(put);
             }
             if( !put.isEmpty() )
             {
                 table.delete(delete);
             }
             table.close();


Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.