Hi Sean,
As one more suggestion, it may be worth reading the tablet server
log on the machine mentioned in the multi-scan exception. In
particular, I'm wondering if there may be a problem constructing a
shared static object.
To find that exception, it may be helpful to read the tablet server
log from the top and note the first exception.
Cheers,
Jim
On 01/22/2015 02:14 PM, Emilio
Lahr-Vivaz wrote:
Hi Sean,
It seems like there is some kind of classpath issue... a couple
quick things to check:
1. In accumulo/lib/ext/ are there any other jars that might be
creating classpath conflicts?
2. Is the geomesa-distributed-runtime jar a 'fat' jar? It should
be on the order of 10's of MB.
Thanks,
Emilio
On 01/22/2015 01:45 PM, Sean Monaghan
wrote:
I'm new to GeoMesa, and am following along with
the QuickStart. When running the quick start, it fails to
return any results from the query. Accumulo logs the warnings
below.
While troubleshooting, I introduced some logging within
AvroSimpleFeatureUtils#generateSchema and I see that it fails
while attempting to generate an AvroRecordBuilder for a
SimpelFeatureType with typeName
"org.locationtech.geomesa.core.iterators.SimpleFeatureFilteringIterator".
jar -tf
$ACCUMULO_HOME/lib/ext/geomesa-distributed-runtime-accumulo1.5-1.0.0-rc.3-SNAPSHOT.jar
reports the presence of SimpleFeatureFilteringIterator.
My current environment is:
Accumulo 1.5.1, Java 1.7.0_51
gemomesa 2d95a7
geomesa-quickstart 4d222b
Thanks for your help!
exception while doing multi-scan
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.avro.SchemaBuilder
at
org.locationtech.geomesa.feature.AvroSimpleFeatureUtils$.generateSchema(AvroSimpleFeatureUtils.scala:55)
at
org.locationtech.geomesa.feature.FeatureSpecificReader.<init>(FeatureSpecificReader.scala:38)
at
org.locationtech.geomesa.feature.ProjectingAvroFeatureDecoder.<init>(SimpleFeatureEncoder.scala:174)
at
org.locationtech.geomesa.feature.AvroFeatureDecoder.<init>(SimpleFeatureEncoder.scala:191)
at
org.locationtech.geomesa.feature.SimpleFeatureDecoder$.apply(SimpleFeatureEncoder.scala:62)
at
org.locationtech.geomesa.feature.SimpleFeatureDecoder$.apply(SimpleFeatureEncoder.scala:75)
at
org.locationtech.geomesa.core.iterators.SimpleFeatureFilteringIterator.init(SimpleFeatureFilteringIterator.scala:90)
at
org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:245)
at
org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:215)
at
org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:193)
at
org.apache.accumulo.server.tabletserver.Tablet$ScanDataSource.createIterator(Tablet.java:2109)
at
org.apache.accumulo.server.tabletserver.Tablet$ScanDataSource.iterator(Tablet.java:2047)
at
org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:163)
at
org.apache.accumulo.server.tabletserver.Tablet.lookup(Tablet.java:1623)
at
org.apache.accumulo.server.tabletserver.Tablet.lookup(Tablet.java:1730)
at
org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler$LookupTask.run(TabletServer.java:1038)
at
org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at
org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
at
org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
at java.lang.Thread.run(Thread.java:744)
Failed to get multiscan result
java.util.concurrent.ExecutionException:
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.avro.SchemaBuilder
at
org.apache.accumulo.server.tabletserver.TabletServer$ScanTask.get(TabletServer.java:700)
at
org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler.continueMultiScan(TabletServer.java:1347)
at
org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler.continueMultiScan(TabletServer.java:1333)
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.accumulo.trace.instrument.thrift.TraceWrap$1.invoke(TraceWrap.java:63)
at com.sun.proxy.$Proxy10.continueMultiScan(Unknown Source)
at
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$continueMultiScan.getResult(TabletClientService.java:2009)
at
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$continueMultiScan.getResult(TabletClientService.java:1993)
at
org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at
org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at
org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:155)
at
org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:478)
at
org.apache.accumulo.server.util.TServerUtils$THsHaServer$Invocation.run(TServerUtils.java:207)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at
org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
at
org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NoClassDefFoundError: Could not
initialize class org.apache.avro.SchemaBuilder
at
org.locationtech.geomesa.feature.AvroSimpleFeatureUtils$.generateSchema(AvroSimpleFeatureUtils.scala:55)
at
org.locationtech.geomesa.feature.FeatureSpecificReader.<init>(FeatureSpecificReader.scala:38)
at
org.locationtech.geomesa.feature.ProjectingAvroFeatureDecoder.<init>(SimpleFeatureEncoder.scala:174)
at
org.locationtech.geomesa.feature.AvroFeatureDecoder.<init>(SimpleFeatureEncoder.scala:191)
at
org.locationtech.geomesa.feature.SimpleFeatureDecoder$.apply(SimpleFeatureEncoder.scala:62)
at
org.locationtech.geomesa.feature.SimpleFeatureDecoder$.apply(SimpleFeatureEncoder.scala:75)
at
org.locationtech.geomesa.core.iterators.SimpleFeatureFilteringIterator.init(SimpleFeatureFilteringIterator.scala:90)
at
org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:245)
at
org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:215)
at
org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:193)
at
org.apache.accumulo.server.tabletserver.Tablet$ScanDataSource.createIterator(Tablet.java:2109)
at
org.apache.accumulo.server.tabletserver.Tablet$ScanDataSource.iterator(Tablet.java:2047)
at
org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:163)
at
org.apache.accumulo.server.tabletserver.Tablet.lookup(Tablet.java:1623)
at
org.apache.accumulo.server.tabletserver.Tablet.lookup(Tablet.java:1730)
at
org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler$LookupTask.run(TabletServer.java:1038)
at
org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
... 5 more
--
Sean
_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://www.locationtech.org/mailman/listinfo/geomesa-users
_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://www.locationtech.org/mailman/listinfo/geomesa-users
|