Symptoms
After performing a Datameer upgrade from a version earlier than 4.3.0 to 4.3.0 or newer, the following error message is observed in the conductor log when first starting Datameer:
[anonymous] ERROR [2014-01-01 00:00:00.000] [main] (ContextLoader.java:227) - Context initialization failed org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath:/spring/beanRefFactory.xml], factory key [beanRefFactory]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beanRefFactory' defined in class path resource [spring/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginRegistryInit ializer' defined in URL [jar:file:/opt/datameer/current/webapps/ROOT/WEB-INF/lib/dap-conductor-4.4.1.jar!/datameer/dap/conductor/webapp/PluginRegistryInitializer.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [datameer.dap.conductor.webapp.PluginRegistryInitializer]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: datameer/dap/sdk/widget/RecordCountFilterWidgetType |
The anychart plugin was found to be included in some version of Datameer which were built with libraries for CDH 3u4.
Cause
The cause of this error is that the das.anychart plugin is being loaded by Datameer. Support for this plugin was deprecated starting in Datameer 4.3.
Solution
Please follow these steps to restart Datameer without including the das.anychart plugin.
1. Stop Datameer
2. Delete the following files if they exist in the Datameer installation directory
rm etc/custom-jars/dap-anychart-2.1.1.jar rm job-jar/das-custom-jar-dap-anychart-2.1.1.jar rm webapps/ROOT/WEB-INF/lib/das-custom-jar-dap-anychart-2.1.1.jar |
3. Start Datameer
Comments
0 comments
Please sign in to leave a comment.