Fixing hudson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@831480 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d493073e54
commit
a9680f4e8b
|
@ -816,11 +816,11 @@ public class HLog implements HConstants, Syncable {
|
|||
*/
|
||||
protected void hflush() throws IOException {
|
||||
synchronized (this.updateLock) {
|
||||
if (this.closed)
|
||||
if (this.closed) {
|
||||
return;
|
||||
|
||||
}
|
||||
if (this.forceSync ||
|
||||
this.unflushedEntries.get() > this.flushlogentries) {
|
||||
this.unflushedEntries.get() >= this.flushlogentries) {
|
||||
try {
|
||||
this.writer.sync();
|
||||
if (this.writer_out != null) {
|
||||
|
|
|
@ -134,11 +134,4 @@
|
|||
The port at which the clients will connect.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.regionserver.flushlogentries</name>
|
||||
<value>1</value>
|
||||
<description>Sync the HLog to the HDFS when it has accumulated this many
|
||||
entries. Default 100. Value is checked on every HLog.append
|
||||
</description>
|
||||
</property>
|
||||
</configuration>
|
||||
|
|
Loading…
Reference in New Issue