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:
Jean-Daniel Cryans 2009-10-30 22:41:45 +00:00
parent d493073e54
commit a9680f4e8b
2 changed files with 3 additions and 10 deletions

View File

@ -816,11 +816,11 @@ public class HLog implements HConstants, Syncable {
*/ */
protected void hflush() throws IOException { protected void hflush() throws IOException {
synchronized (this.updateLock) { synchronized (this.updateLock) {
if (this.closed) if (this.closed) {
return; return;
}
if (this.forceSync || if (this.forceSync ||
this.unflushedEntries.get() > this.flushlogentries) { this.unflushedEntries.get() >= this.flushlogentries) {
try { try {
this.writer.sync(); this.writer.sync();
if (this.writer_out != null) { if (this.writer_out != null) {

View File

@ -134,11 +134,4 @@
The port at which the clients will connect. The port at which the clients will connect.
</description> </description>
</property> </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> </configuration>