[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] java.lang.ClassNotFoundException: org.locationtech.geomesa.accumulo.data.stats.StatsCombiner

Hi David,

Did you ensure that your tables are created in the same namespace that is configured for GeoMesa?

In the accumulo shell, you can check the configurations. You should see something like this (assuming you used the namespace 'geomesa'):

root@mycloud> config -f context.classpath
-----------+---------------------------------------------------------+----------------------------------------------------------------------
SCOPE      | NAME                                                    | VALUE
-----------+---------------------------------------------------------+----------------------------------------------------------------------
site       | general.vfs.context.classpath.geomesa ..................... |
system     |    @override .......................................... | hdfs://mycloud:54310/accumulo/classpath/geomesa/.*.jar

root@mycloud> config -ns geomesa -f classpath
-----------+---------------------------------------------------------+----------------------------------------------------------------------
SCOPE      | NAME                                                    | VALUE
-----------+---------------------------------------------------------+----------------------------------------------------------------------
default    | table.classpath.context ............................... |
namespace  |    @override .......................................... | geomesa
-----------+---------------------------------------------------------+----------------------------------------------------------------------

If the script isn't working quite right, you can also follow the manual steps for configuring the classpath as outlined in the docs:

http://www.geomesa.org/documentation/user/accumulo/install.html#manual-install

or

http://www.geomesa.org/documentation/user/accumulo/install.html#namespace-install

Thanks,

Emilio

On 03/10/2017 07:56 PM, David Boyd wrote:

All:

   All under accumulo 1.7.2 I have installed geomesa 1.3.1 using the setnamespace.sh script onto
hdfs.
I have upgraded the commons-vfs2 to version 2.1 on all nodes (the documentation said 1.7.2 should ship with 2.1 but it does not).
In addition to the below I am getting a lot of warnings about compactions and assignments running a long time.


   Getting the following error:

java.lang.ClassNotFoundException: org.locationtech.geomesa.accumulo.data.stats.StatsCombiner
	java.io.IOException: java.lang.ClassNotFoundException: org.locationtech.geomesa.accumulo.data.stats.StatsCombiner
		at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:273)
		at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:237)
		at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:218)
		at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:199)
		at org.apache.accumulo.tserver.tablet.Compactor.compactLocalityGroup(Compactor.java:345)
		at org.apache.accumulo.tserver.tablet.Compactor.call(Compactor.java:217)
		at org.apache.accumulo.tserver.tablet.MinorCompactor.call(MinorCompactor.java:98)
		at org.apache.accumulo.tserver.tablet.Tablet.minorCompact(Tablet.java:968)
		at org.apache.accumulo.tserver.tablet.MinorCompactionTask.run(MinorCompactionTask.java:84)
		at org.apache.accumulo.tserver.tablet.Tablet.minorCompactNow(Tablet.java:1097)
		at org.apache.accumulo.tserver.TabletServer$AssignmentHandler.run(TabletServer.java:2156)
		at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
		at org.apache.accumulo.tserver.ActiveAssignmentRunnable.run(ActiveAssignmentRunnable.java:61)
		at org.apache.htrace.wrappers.TraceRunnable.run(TraceRunnable.java:57)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
		at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
		at java.lang.Thread.run(Thread.java:745)
	Caused by: java.lang.ClassNotFoundException: org.locationtech.geomesa.accumulo.data.stats.StatsCombiner
		at org.apache.commons.vfs2.impl.VFSClassLoader.findClass(VFSClassLoader.java:178)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
		at org.apache.accumulo.start.classloader.vfs.AccumuloVFSClassLoader.loadClass(AccumuloVFSClassLoader.java:110)
		at org.apache.accumulo.core.iterators.IteratorUtil.loadClass(IteratorUtil.java:293)
		at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:258)
		... 17 more



-- 
========= mailto:dboyd@xxxxxxxxxxxxxxxxx ============
David W. Boyd                     
VP,  Data Solutions       
10432 Balls Ford, Suite 240  
Manassas, VA 20109         
office:   +1-703-552-2862        
cell:     +1-703-402-7908
============== http://www.incadencecorp.com/ ============
ISO/IEC JTC1 WG9, editor ISO/IEC 20547 Big Data Reference Architecture
Chair ANSI/INCITS TC Big Data
Co-chair NIST Big Data Public Working Group Reference Architecture
First Robotic Mentor - FRC, FTC - www.iliterobotics.org
Board Member- USSTEM Foundation - www.usstem.org

The information contained in this message may be privileged 
and/or confidential and protected from disclosure.  
If the reader of this message is not the intended recipient 
or an employee or agent responsible for delivering this message 
to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication 
is strictly prohibited.  If you have received this communication 
in error, please notify the sender immediately by replying to 
this message and deleting the material from any computer.

 


_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users