[
https://issues.apache.org/jira/browse/ACCUMULO-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852517#comment-13852517
]
Josh Elser commented on ACCUMULO-2050:
--------------------------------------
Gotcha, I misinterpreted what you initially said.
Copying off of IRC, I suggested that we could, as a workaround, make the
assumption that was have a file:// or hdfs:// filesystem underneath viewfs.
That seems to be a reasonable and straightforward assumption we could make to
still get this in 1.6.
> log recovery fails when using two namenodes and viewfs://
> ---------------------------------------------------------
>
> Key: ACCUMULO-2050
> URL: https://issues.apache.org/jira/browse/ACCUMULO-2050
> Project: Accumulo
> Issue Type: Sub-task
> Reporter: Keith Turner
> Fix For: 1.6.0
>
>
> See parent ticket for env info. Saw the following error in log recovery.
> {noformat}
> Failed to initiate log sort
> viewfs:/nn2/accumulo/wal/ip-10-1-3-25+9997/777b3e10-da00-47d2-819b-24464997d784
> java.lang.IllegalStateException: Don't know how to recover a lease for
> org.apache.accumulo.server.fs.VolumeManagerImpl
> at
> org.apache.accumulo.server.master.recovery.HadoopLogCloser.close(HadoopLogCloser.java:56)
> at
> org.apache.accumulo.master.recovery.RecoveryManager$LogSortTask.run(RecoveryManager.java:89)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at
> org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
> at
> org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
> at java.lang.Thread.run(Thread.java:744)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)