HBASE-3860 HLog shouldn't create a new HBC when rolling
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1099988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dcdeee6ca0
commit
d60cceaff3
|
@ -289,6 +289,7 @@ Release 0.90.3 - Unreleased
|
|||
Meta and provide better error reporting (Marc Limotte)
|
||||
HBASE-3813 Change RPC callQueue size from 'handlerCount *
|
||||
MAX_QUEUE_SIZE_PER_HANDLER;'
|
||||
HBASE-3860 HLog shouldn't create a new HBC when rolling
|
||||
|
||||
TASKS
|
||||
HBASE-3748 Add rolling of thrift/rest daemons to graceful_stop.sh script
|
||||
|
|
|
@ -481,8 +481,7 @@ public class HLog implements Syncable {
|
|||
long currentFilenum = this.filenum;
|
||||
this.filenum = System.currentTimeMillis();
|
||||
Path newPath = computeFilename();
|
||||
HLog.Writer nextWriter = this.createWriterInstance(fs, newPath,
|
||||
HBaseConfiguration.create(conf));
|
||||
HLog.Writer nextWriter = this.createWriterInstance(fs, newPath, conf);
|
||||
int nextInitialReplication = fs.getFileStatus(newPath).getReplication();
|
||||
// Can we get at the dfsclient outputstream? If an instance of
|
||||
// SFLW, it'll have done the necessary reflection to get at the
|
||||
|
|
Loading…
Reference in New Issue