HBASE-1791 Timeout in IndexRecordWriter
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@807752 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
08c60dc517
commit
6599d13108
|
@ -3,6 +3,8 @@ Release 0.21.0 - Unreleased
|
|||
INCOMPATIBLE CHANGES
|
||||
|
||||
BUG FIXES
|
||||
HBASE-1791 Timeout in IndexRecordWriter (Bradford Stephens via Andrew
|
||||
Purtell)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -136,9 +136,14 @@ extends RecordWriter<ImmutableBytesWritable, LuceneDocumentWrapper> {
|
|||
*/
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
context.setStatus("Closing");
|
||||
} catch (IOException e) {
|
||||
return;
|
||||
}
|
||||
while (!closed) {
|
||||
try {
|
||||
context.setStatus("closing");
|
||||
context.progress();
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue