Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6B31C200C35 for ; Sun, 26 Feb 2017 03:40:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 69C0C160B7B; Sun, 26 Feb 2017 02:40:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B4AAC160B5D for ; Sun, 26 Feb 2017 03:40:53 +0100 (CET) Received: (qmail 30227 invoked by uid 500); 26 Feb 2017 02:40:51 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 30216 invoked by uid 99); 26 Feb 2017 02:40:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2017 02:40:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 8BE86C0370 for ; Sun, 26 Feb 2017 02:40:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Dp81Phi7yU0Z for ; Sun, 26 Feb 2017 02:40:49 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 29FB95F24C for ; Sun, 26 Feb 2017 02:40:49 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B51D8E05B1 for ; Sun, 26 Feb 2017 02:40:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id DB9132412B for ; Sun, 26 Feb 2017 02:40:44 +0000 (UTC) Date: Sun, 26 Feb 2017 02:40:44 +0000 (UTC) From: "chunhui shen (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15314) Allow more than one backing file in bucketcache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 26 Feb 2017 02:40:54 -0000 [ https://issues.apache.org/jira/browse/HBASE-15314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884497#comment-15884497 ] chunhui shen commented on HBASE-15314: -------------------------------------- {quote} Shouldn't sizePerFile be adjusted since total space is lower than sizePerFile ? When total space is lower than sizePerFile, the above would raise exception, right ? {quote} Yes, if the space is less than sizePerFile, FileIOEngine will throw exception when initializing, it's unnecessary to adjust the sizePerFile. {quote} For getFileNum(long offset), RuntimeException may be thrown. Should it declare to throw IOE ? {quote} It won't be thrown as expected, RuntimeException seems ok. {quote} + * Get the absolute offset in given file with the relative global offset. What does "relative global" mean ? {quote} The FileIOEngine provide a logic contiguous storage with several physical files, the global offset is oriented to the logic storage. Thanks Ted, Other comments are applied in patch-v5. Move to RB https://reviews.apache.org/r/57068/ for more review. > Allow more than one backing file in bucketcache > ----------------------------------------------- > > Key: HBASE-15314 > URL: https://issues.apache.org/jira/browse/HBASE-15314 > Project: HBase > Issue Type: Sub-task > Components: BucketCache > Reporter: stack > Assignee: Aaron Tokhy > Attachments: FileIOEngine.java, HBASE-15314.master.001.patch, HBASE-15314.master.001.patch, HBASE-15314.patch, HBASE-15314-v2.patch, HBASE-15314-v3.patch, HBASE-15314-v4.patch, HBASE-15314-v5.patch > > > Allow bucketcache use more than just one backing file: e.g. chassis has more than one SSD in it. -- This message was sent by Atlassian JIRA (v6.3.15#6346)