hbase-1825
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@813634 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9bbcc4a06f
commit
91805d7928
|
@ -36,6 +36,7 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-1819 Update to 0.20.1 hadoop and zk 3.2.1
|
||||
HBASE-1820 Update jruby from 1.2 to 1.3.1
|
||||
HBASE-1722 Add support for exporting HBase metrics via JMX
|
||||
HBASE-1825 code cleanup, hmaster split debug logs
|
||||
|
||||
OPTIMIZATIONS
|
||||
HBASE-1765 Delay Result deserialization until asked for and permit
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.hbase.client;
|
||||
|
||||
import java.io.DataInput;
|
||||
|
@ -341,7 +342,7 @@ public class Put implements HeapSize, Writable, Comparable<Put> {
|
|||
int totalLen = in.readInt();
|
||||
byte [] buf = new byte[totalLen];
|
||||
int offset = 0;
|
||||
for(int j=0;j<numKeys;j++) {
|
||||
for (int j = 0; j < numKeys; j++) {
|
||||
int keyLength = in.readInt();
|
||||
in.readFully(buf, offset, keyLength);
|
||||
keys.add(new KeyValue(buf, offset, keyLength));
|
||||
|
|
|
@ -319,9 +319,11 @@ abstract class BaseScanner extends Chore implements HConstants {
|
|||
family.getName());
|
||||
// Look for reference files. Call listStatus with an anonymous
|
||||
// instance of PathFilter.
|
||||
LOG.debug("Looking for reference files in: " + p);
|
||||
FileStatus [] ps = this.master.fs.listStatus(p,
|
||||
new PathFilter () {
|
||||
public boolean accept(Path path) {
|
||||
LOG.debug("isReference: " + path);
|
||||
return StoreFile.isReference(path);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue