Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 166F8D188 for ; Tue, 28 May 2013 17:33:26 +0000 (UTC) Received: (qmail 22863 invoked by uid 500); 28 May 2013 17:33:22 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 22678 invoked by uid 500); 28 May 2013 17:33:22 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 22150 invoked by uid 99); 28 May 2013 17:33:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 17:33:21 +0000 Date: Tue, 28 May 2013 17:33:21 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-4184) Add the ability for Client to provide more hint information for DataNode to manage the OS buffer cache more accurate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4184?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon resolved HDFS-4184. ------------------------------- Resolution: Duplicate =20 > Add the ability for Client to provide more hint information for DataNode = to manage the OS buffer cache more accurate > -------------------------------------------------------------------------= ------------------------------------------- > > Key: HDFS-4184 > URL: https://issues.apache.org/jira/browse/HDFS-4184 > Project: Hadoop HDFS > Issue Type: New Feature > Reporter: binlijin > > HDFS now has the ability to use posix_fadvise and sync_data_range syscall= s to manage the OS buffer cache. > {code} > When hbase read hlog the data we can set dfs.datanode.drop.cache.behind.r= eads to true to drop data out of the buffer cache when performing sequentia= l reads. > When hbase write hlog we can set dfs.datanode.drop.cache.behind.writes to= true to drop data out of the buffer cache after writing > When hbase read hfile during compaction we can set dfs.datanode.readahead= .bytes to a non-zero value to trigger readahead for sequential reads=EF=BC= =8C and also set dfs.datanode.drop.cache.behind.reads to true to drop data = out of the buffer cache when performing sequential reads. > and so on...=20 > {code} > Current we can only set these feature global in datanode=EF=BC=8Cwe shoul= d set these feature per session. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira