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)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Julien Vaudour
Votes: 0
Watchers: 1

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

Problem in HTable management

Created: 09/Nov/11 12:12 PM   Updated: 09/Dec/11 03:14 PM   Resolved: 09/Nov/11 07:29 PM
Component/s: None
Affects Version/s: 3.0.2
Fix Version/s: 3.0.3

File Attachments: 1. File patch.diff (0.7 kB)

Datastore: HBase
Severity: Production

 Description  « Hide
when doing sequential insertion on the same table in the same thread, we get a "java.util.concurrent.RejectedExecutionException".
In fact it seems that after the first persist, the HTable.close method is invoked, but as we keep the reference in HBaseManagedConnection, we try to reuse it for the second call of persist.


Julien Vaudour added a comment - 09/Nov/11 12:13 PM
This patch corrects the problem

Julien Vaudour made changes - 09/Nov/11 12:13 PM
Field Original Value New Value
Attachment patch.diff [ 11523 ]
Andy Jefferson added a comment - 09/Nov/11 07:29 PM
SVN trunk has your patch. Thx

Andy Jefferson made changes - 09/Nov/11 07:29 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0.3 [ 11371 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 09/Dec/11 03:14 PM
Status Resolved [ 5 ] Closed [ 6 ]