Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-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 33C5AC2AD for ; Mon, 21 May 2012 11:30:48 +0000 (UTC) Received: (qmail 6572 invoked by uid 500); 21 May 2012 11:30:48 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 6367 invoked by uid 500); 21 May 2012 11:30:44 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 6312 invoked by uid 99); 21 May 2012 11:30:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2012 11:30:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 32FC2141822 for ; Mon, 21 May 2012 11:30:42 +0000 (UTC) Date: Mon, 21 May 2012 11:30:40 +0000 (UTC) From: "Eric Newton (JIRA)" To: dev@accumulo.apache.org Message-ID: <280085248.2934.1337599842213.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1543049907.34511.1336402130493.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (ACCUMULO-578) consider using hdfs for the walog MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280091#comment-13280091 ] Eric Newton commented on ACCUMULO-578: -------------------------------------- The loggers implemented another feature I forgot about which was to atomically determine which logs were not open, and therefore available for collection. We need a new way to determine this. h3. One approach: # write references to the log into the !METADATA table, along with a tserver id # open the file and begin using it # when the tablet server closes the log, it removes the tserver id # gc doesn't collect files with good tserver ids or METADATA table references h3. Bonus points: # move the majority of log file collection to the tablet servers: they know when their tablets have lost references to the log # master/tservers can sort the logs during recovery, and delete the unsorted copy # tablet servers can gc the recovery log, after a check of the METADATA table #* Need to avoid problems like ACCUMULO-598 > consider using hdfs for the walog > --------------------------------- > > Key: ACCUMULO-578 > URL: https://issues.apache.org/jira/browse/ACCUMULO-578 > Project: Accumulo > Issue Type: Improvement > Components: logger, tserver > Affects Versions: 1.5.0-SNAPSHOT > Reporter: Eric Newton > Assignee: Eric Newton > > Using HDFS for walogs would fix: > * ACCUMULO-84: any node can read the replicated files > * ACCUMULO-558: wouldn't need to monitor loggers > * ACCUMULO-544: log references wouldn't include hostnames > * ACCUMULO-423: wouldn't need to monitor loggers > * ACCUMULO-258: hdfs has load balancing already > To implement it, we would need the ability to distribute log sorts. > Continuing to use loggers helps us avoid: > * hdfs pipeline strategy > * we don't have fine-grained insight when a single node makes dfs slow > * additional namenode pressure > * flexibility: for example, we can add fadvise() calls to the logger before HDFS supports it -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira