Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E265717E71 for ; Thu, 15 Jan 2015 11:30:33 +0000 (UTC) Received: (qmail 69370 invoked by uid 500); 15 Jan 2015 11:30:34 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 69254 invoked by uid 500); 15 Jan 2015 11:30:34 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 68942 invoked by uid 99); 15 Jan 2015 11:30:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2015 11:30:34 +0000 Date: Thu, 15 Jan 2015 11:30:34 +0000 (UTC) From: "Vikas Vishwakarma (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-12866) TestHFilePerformance read test fails for HFile with codecName: none cipherName: aes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Vikas Vishwakarma created HBASE-12866: ----------------------------------------- Summary: TestHFilePerformance read test fails for HFile with codecName: none cipherName: aes Key: HBASE-12866 URL: https://issues.apache.org/jira/browse/HBASE-12866 Project: HBase Issue Type: Bug Components: test Affects Versions: 0.98.8 Environment: Command bin/hbase org.apache.hadoop.hbase.io.hfile.TestHFilePerformance Failure observed for test with the following options: Writing HFile with codecName: none cipherName: aes Reporter: Vikas Vishwakarma Priority: Minor Command bin/hbase org.apache.hadoop.hbase.io.hfile.TestHFilePerformance File Type: HFile Writing HFile with codecName: none cipherName: aes 2015-01-15 16:54:51 Started timing. /home/vvishwakarma/vikas/projects/hbase-src-0.98.8/hbase-0.98.8/target/test-data/03d50949-0185-4fac-b072-957d2da6ae0e/TestHFilePerformanceHFile.Performance HFile write method: 2015-01-15 16:54:52 Stopped timing. 2015-01-15 16:54:52 Data written: 2015-01-15 16:54:52 rate = 66MB/s 2015-01-15 16:54:52 total = 52200000B 2015-01-15 16:54:52 File written: 2015-01-15 16:54:52 rate = 66MB/s 2015-01-15 16:54:52 total = 52303530B +++++++ Reading file of type: HFile Input file size: 52303530 2015-01-15 16:54:52 Started timing. 2015-01-15 16:54:52,680 ERROR [main] util.AbstractHBaseTool: Error running command-line tool org.apache.hadoop.hbase.io.hfile.CorruptHFileException: Problem reading HFile Trailer from file /home/vvishwakarma/vikas/projects/hbase-src-0.98.8/hbase-0.98.8/target/test-data/03d50949-0185-4fac-b072-957d2da6ae0e/TestHFilePerformance/HFile.Performance at org.apache.hadoop.hbase.io.hfile.HFile.pickReaderVersion(HFile.java:463) at org.apache.hadoop.hbase.io.hfile.HFile.createReaderFromStream(HFile.java:517) at org.apache.hadoop.hbase.io.hfile.TestHFilePerformance.timeReading(TestHFilePerformance.java:272) at org.apache.hadoop.hbase.io.hfile.TestHFilePerformance.testRunComparisons(TestHFilePerformance.java:390) at org.apache.hadoop.hbase.io.hfile.TestHFilePerformance.doWork(TestHFilePerformance.java:447) at org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:112) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.hbase.io.hfile.TestHFilePerformance.main(TestHFilePerformance.java:452) Caused by: java.io.IOException: Using no compression but onDiskSizeWithoutHeader=134, uncompressedSizeWithoutHeader=113, numChecksumbytes=4 at org.apache.hadoop.hbase.io.hfile.HFileBlock.assumeUncompressed(HFileBlock.java:561) at org.apache.hadoop.hbase.io.hfile.HFileBlock$FSReaderV2.readBlockDataInternal(HFileBlock.java:1589) at org.apache.hadoop.hbase.io.hfile.HFileBlock$FSReaderV2.readBlockData(HFileBlock.java:1408) at org.apache.hadoop.hbase.io.hfile.HFileBlock$AbstractFSReader$1.nextBlock(HFileBlock.java:1248) at org.apache.hadoop.hbase.io.hfile.HFileBlock$AbstractFSReader$1.nextBlockWithBlockType(HFileBlock.java:1256) at org.apache.hadoop.hbase.io.hfile.HFileReaderV2.(HFileReaderV2.java:146) at org.apache.hadoop.hbase.io.hfile.HFile.pickReaderVersion(HFile.java:451) ... 7 more -- This message was sent by Atlassian JIRA (v6.3.4#6332)