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 {
|
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) {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue