accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3930) FormatterCommandTest pulls from installed accumulo-site.xml
Date Thu, 02 Jul 2015 16:56:05 GMT
Josh Elser created ACCUMULO-3930:
------------------------------------

             Summary: FormatterCommandTest pulls from installed accumulo-site.xml
                 Key: ACCUMULO-3930
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3930
             Project: Accumulo
          Issue Type: Bug
          Components: test
            Reporter: Josh Elser
            Assignee: Josh Elser
            Priority: Minor
             Fix For: 1.6.4, 1.7.1, 1.8.0


Noticed that FormatterCommandTest started hanging for me trying to run other tests:

{noformat}
"main" prio=5 tid=0x00007f8b33801800 nid=0x1303 in Object.wait() [0x000000010e984000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000007ee3f1658> (a org.apache.hadoop.ipc.Client$Call)
	at java.lang.Object.wait(Object.java:503)
	at org.apache.hadoop.ipc.Client.call(Client.java:1333)
	- locked <0x00000007ee3f1658> (a org.apache.hadoop.ipc.Client$Call)
	at org.apache.hadoop.ipc.Client.call(Client.java:1300)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
	at com.sun.proxy.$Proxy15.getFileInfo(Unknown Source)
	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.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)
	at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
	at com.sun.proxy.$Proxy15.getFileInfo(Unknown Source)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:651)
	at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1679)
	at org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1106)
	at org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1102)
	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
	at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1102)
	at org.apache.accumulo.start.classloader.vfs.providers.HdfsFileObject.doAttach(HdfsFileObject.java:74)
	at org.apache.accumulo.start.classloader.vfs.providers.HdfsFileObject.exists(HdfsFileObject.java:226)
	at org.apache.commons.vfs2.impl.VFSClassLoader.loadResource(VFSClassLoader.java:410)
	at org.apache.commons.vfs2.impl.VFSClassLoader.findClass(VFSClassLoader.java:172)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	- locked <0x00000007ecf280f8> (a org.apache.commons.vfs2.impl.VFSClassLoader)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
	- locked <0x00000007ed990150> (a org.apache.commons.vfs2.impl.VFSClassLoader)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at org.apache.accumulo.shell.commands.ShellPluginConfigurationCommand.getPluginClass(ShellPluginConfigurationCommand.java:114)
	at org.apache.accumulo.shell.commands.FormatterCommand.getCurrentFormatter(FormatterCommand.java:42)
	at org.apache.accumulo.shell.Shell.getFormatter(Shell.java:1224)
	at org.apache.accumulo.shell.commands.ScanCommand.getFormatter(ScanCommand.java:201)
	at org.apache.accumulo.shell.commands.ScanCommand.execute(ScanCommand.java:65)
	at org.apache.accumulo.shell.Shell.execCommand(Shell.java:799)
	at org.apache.accumulo.shell.mock.MockShell.start(MockShell.java:110)
	at org.apache.accumulo.shell.commands.FormatterCommandTest.test(FormatterCommandTest.java:70)
{noformat}

My local accumulo-site.xml was still configured to look in HDFS, I'm guessing that the test
somehow puled in this file and loaded the VFS classloader.



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

Mime
View raw message