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 06C761014D for ; Fri, 20 Dec 2013 04:17:17 +0000 (UTC) Received: (qmail 96933 invoked by uid 500); 20 Dec 2013 04:17:09 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 96855 invoked by uid 500); 20 Dec 2013 04:17:08 -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 96839 invoked by uid 99); 20 Dec 2013 04:17:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Dec 2013 04:17:07 +0000 Date: Fri, 20 Dec 2013 04:17:07 +0000 (UTC) From: "Keith Turner (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ACCUMULO-2051) Can't write to accumulo when using viewfs:// 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-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Keith Turner resolved ACCUMULO-2051. ------------------------------------ Resolution: Fixed > Can't write to accumulo when using viewfs:// > -------------------------------------------- > > Key: ACCUMULO-2051 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2051 > Project: Accumulo > Issue Type: Sub-task > Reporter: Keith Turner > Assignee: Keith Turner > Fix For: 1.6.0 > > > See parent ticket for env info. Seeing the following error which prevents writing from the walog. Its easy to work around by changing the call from FileSystem.getDefaultReplication() to FileSystem.getDefaultReplication(Path path). However this easy work around will probably break Hadoop 1.0 support. > {noformat} > 2013-12-18 04:03:25,120 [log.DfsLogger] DEBUG: DfsLogger.open() begin > 2013-12-18 04:03:25,125 [log.TabletServerLogger] ERROR: Unexpected error writing to log, retrying attempt 1 > java.lang.RuntimeException: java.io.IOException: org.apache.hadoop.fs.viewfs.NotInMountpointException: getDefaultReplication on empty path is invalid > at org.apache.accumulo.tserver.log.TabletServerLogger.createLoggers(TabletServerLogger.java:191) > at org.apache.accumulo.tserver.log.TabletServerLogger.access$300(TabletServerLogger.java:53) > at org.apache.accumulo.tserver.log.TabletServerLogger$1.withWriteLock(TabletServerLogger.java:149) > at org.apache.accumulo.tserver.log.TabletServerLogger.testLockAndRun(TabletServerLogger.java:116) > at org.apache.accumulo.tserver.log.TabletServerLogger.initializeLoggers(TabletServerLogger.java:138) > at org.apache.accumulo.tserver.log.TabletServerLogger.write(TabletServerLogger.java:246) > at org.apache.accumulo.tserver.log.TabletServerLogger.logManyTablets(TabletServerLogger.java:364) > at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.flush(TabletServer.java:1623) > at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.closeUpdate(TabletServer.java:1710) > 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.trace.instrument.thrift.TraceWrap$1.invoke(TraceWrap.java:63) > at com.sun.proxy.$Proxy15.closeUpdate(Unknown Source) > at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$closeUpdate.getResult(TabletClientService.java:2368) > at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$closeUpdate.getResult(TabletClientService.java:2352) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:171) > at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:478) > at org.apache.accumulo.server.util.TServerUtils$THsHaServer$Invocation.run(TServerUtils.java:231) > 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) > Caused by: java.io.IOException: org.apache.hadoop.fs.viewfs.NotInMountpointException: getDefaultReplication on empty path is invalid > at org.apache.accumulo.tserver.log.DfsLogger.open(DfsLogger.java:400) > at org.apache.accumulo.tserver.log.TabletServerLogger.createLoggers(TabletServerLogger.java:186) > ... 26 more > Caused by: org.apache.hadoop.fs.viewfs.NotInMountpointException: getDefaultReplication on empty path is invalid > at org.apache.hadoop.fs.viewfs.ViewFileSystem.getDefaultReplication(ViewFileSystem.java:492) > at org.apache.accumulo.server.fs.VolumeManagerImpl.getDefaultReplication(VolumeManagerImpl.java:329) > at org.apache.accumulo.tserver.log.DfsLogger.open(DfsLogger.java:333) > ... 27 more > {noformat} -- This message was sent by Atlassian JIRA (v6.1.4#6159)