accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <>
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
             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.

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.access$100(
	at java.util.ServiceLoader$LazyIterator.nextService(
	at java.util.ServiceLoader$
	at java.util.ServiceLoader$
	at org.apache.accumulo.start.Main.checkDuplicates(
	at org.apache.accumulo.start.Main.getExecutables(
	at org.apache.accumulo.start.Main.main(
Caused by: java.lang.NoSuchMethodError: org.apache.commons.configuration.MapConfiguration.<init>(Ljava/util/Properties;)V
	at org.apache.accumulo.core.conf.Property.getDefaultValue(
	at org.apache.accumulo.core.conf.DefaultConfiguration.<clinit>(
	at org.apache.accumulo.core.conf.SiteConfiguration.getInstance(
	at org.apache.accumulo.server.zookeeper.ZooReaderWriter.getInstance(
	at org.apache.accumulo.server.init.Initialize.<clinit>(
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
	at java.lang.reflect.Constructor.newInstance(
	at java.lang.Class.newInstance(
	at java.util.ServiceLoader$LazyIterator.nextService(
	... 5 more


This message was sent by Atlassian JIRA

View raw message