accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-4373) Commons config method not found
Date Tue, 12 Jul 2016 19:15:21 GMT
Keith Turner created ACCUMULO-4373:
--------------------------------------

             Summary: Commons config method not found
                 Key: ACCUMULO-4373
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4373
             Project: Accumulo
          Issue Type: Bug
            Reporter: Keith Turner
             Fix For: 1.8.0


I am seeting the following when trying to run 1.8.0-SNAPSHOT.  This is caused by Accumulo
compiling against commons config 1.10 and using common config 1.6 from Hadoop at runtime.
  I think 1.10 has a more specific method that 1.6 does not have.   In 1.6 can pass Properties
as a Map, in 1.10 there is a method that takes Properties.

{noformat}
2016-07-12 15:07:22,124 [start.Main] ERROR: Uncaught exception
java.util.ServiceConfigurationError: org.apache.accumulo.start.spi.KeywordExecutable: Provider
org.apache.accumulo.server.init.Initialize could not be instantiated
	at java.util.ServiceLoader.fail(ServiceLoader.java:232)
	at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
	at org.apache.accumulo.start.Main.checkDuplicates(Main.java:223)
	at org.apache.accumulo.start.Main.getExecutables(Main.java:215)
	at org.apache.accumulo.start.Main.main(Main.java:78)
Caused by: java.lang.NoSuchMethodError: org.apache.commons.configuration.MapConfiguration.<init>(Ljava/util/Properties;)V
	at org.apache.accumulo.core.conf.Property.getDefaultValue(Property.java:645)
	at org.apache.accumulo.core.conf.DefaultConfiguration.<clinit>(DefaultConfiguration.java:35)
	at org.apache.accumulo.core.conf.SiteConfiguration.getInstance(SiteConfiguration.java:73)
	at org.apache.accumulo.server.zookeeper.ZooReaderWriter.getInstance(ZooReaderWriter.java:36)
	at org.apache.accumulo.server.init.Initialize.<clinit>(Initialize.java:131)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
	at java.lang.Class.newInstance(Class.java:442)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
	... 5 more

{noformat}



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

Mime
View raw message