[ 
https://issues.apache.org/jira/browse/ACCUMULO-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13879258#comment-13879258
 ] 

ASF subversion and git services commented on ACCUMULO-2234:
-----------------------------------------------------------

Commit 57f9b6cfd30b1b2505efbacd2a5ce391dbcd1e0c in branch 
refs/heads/1.5.1-SNAPSHOT from [~elserj]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=57f9b6c ]

ACCUMULO-2234 Provide accumulo-site.xml to Mapper classpath and ensure is used 
by concrete Instance.


> 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
>
>
> 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)

Reply via email to