hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r1099987 - in /hbase/branches/0.90: CHANGES.txt src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
Date Thu, 05 May 2011 22:46:34 GMT
Author: jdcryans
Date: Thu May  5 22:46:33 2011
New Revision: 1099987

URL: http://svn.apache.org/viewvc?rev=1099987&view=rev
Log:
HBASE-3860  HLog shouldn't create a new HBC when rolling

Modified:
    hbase/branches/0.90/CHANGES.txt
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java

Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1099987&r1=1099986&r2=1099987&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Thu May  5 22:46:33 2011
@@ -59,6 +59,7 @@ Release 0.90.3 - Unreleased
                in 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
 
   TASK
    HBASE-3748  Add rolling of thrift/rest daemons to graceful_stop.sh script

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java?rev=1099987&r1=1099986&r2=1099987&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java (original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java Thu
May  5 22:46:33 2011
@@ -482,8 +482,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



Mime
View raw message