Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 612151052E for ; Thu, 23 Jan 2014 18:06:51 +0000 (UTC) Received: (qmail 45241 invoked by uid 500); 23 Jan 2014 18:06:45 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 44980 invoked by uid 500); 23 Jan 2014 18:06:42 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 44897 invoked by uid 99); 23 Jan 2014 18:06:41 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 18:06:41 +0000 Date: Thu, 23 Jan 2014 18:06:41 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2234) Cannot run offline mapreduce over non-default instance.dfs.dir value 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-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13880154#comment-13880154 ] ASF subversion and git services commented on ACCUMULO-2234: ----------------------------------------------------------- Commit 9cf94f93685faaccc927e148791d50570bfb2f30 in branch refs/heads/1.6.0-SNAPSHOT from [~elserj] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=9cf94f9 ] ACCUMULO-2234 Fix up formatting for madrob. > Cannot run offline mapreduce over non-default instance.dfs.dir value > -------------------------------------------------------------------- > > Key: ACCUMULO-2234 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2234 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.4.4, 1.5.0 > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Blocker > Fix For: 1.4.5, 1.5.1, 1.6.0 > > > The javadoc for setting up offline scans over RFiles (InputFormatBase.setScanOffline in 1.4 or InputFormatBase.setOfflineTableScan in 1.5) includes a nice little comment to the effect that if a "non-standard" directory is used for Accumulo in HDFS (read as, if the default value for instance.dfs.dir), accumulo-site.xml may need to be on the classpath for the mappers. > Best as I can tell, even if accumulo-site.xml is on the classpath, it makes no difference as InputFormatBase is creating a new ZooKeeperInstance which, in turn, will only ever make a DefaultConfiguration and never try to check if an accumulo-site.xml file is available. This would make it impossible for a non-default value for instance.dfs.dir to ever be used. -- This message was sent by Atlassian JIRA (v6.1.5#6160)