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 {
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) {

View File

@ -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>