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

Josh Elser commented on ACCUMULO-3587:
--------------------------------------

So, this isn't as trivial of a change as I had thought:

{noformat}
2015-03-03 16:29:54,765 [start.Main] ERROR: Thread 
'org.apache.accumulo.examples.simple.mapreduce.TeraSortIngest' died.
java.io.IOException: Cannot initialize Cluster. Please check your configuration 
for mapreduce.framework.name and the correspond server addresses.
        at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:120)
        at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:82)
        at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:75)
        at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1238)
        at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1234)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
        at org.apache.hadoop.mapreduce.Job.connect(Job.java:1233)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1262)
        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1286)
        at 
org.apache.accumulo.examples.simple.mapreduce.TeraSortIngest.run(TeraSortIngest.java:398)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at 
org.apache.accumulo.examples.simple.mapreduce.TeraSortIngest.main(TeraSortIngest.java:349)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.accumulo.start.Main$2.run(Main.java:129)
{noformat}

I'm not sure why it's complaining like this after changing the filesystem impl. 
I tried to set {{mapreduce.framework.name=local}} in the configuration, but 
that doesn't seem to have made a difference. I'll need to trace through the 
code to figure out why this isn't just working in local mode with 
RawLocalFileSystem as it does with ChecksumFileSystem

> ExamplesIT doesn't set RawLocalFileSystem
> -----------------------------------------
>
>                 Key: ACCUMULO-3587
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3587
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.7.0, 1.6.3
>
>
> Saw a failure on checksum trying to do log recovery because of our good 
> friend: ChecksumFIlesystem.
> Need to use RawLocalFileSystem instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to