[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [geomesa-users] GeoMesa points not displayed on GeoServer... | 
Luca,
Sorry for the trouble.  Generally, whenever we see an 
AccumuloServerException, we have to go to the tablet server and check 
the tserver logs for more details.  Occasionally, the Accumulo monitor 
web ui will have sufficient details.
If you can pass along a stack trace from there, it will likely help 
quite a bit.
There is a big difference between a WFS/GeoJSON request and a WMS 
request: the former returns all the data while the latter asks for a 
projection of it.  WMS only needs the geometry, and that transformation 
is handled server-side.  With the logs, we'll be able to figure out if 
the problem is a known one addressed in the last two release candidates 
or if it still affects rc.7.
Other than that, it looks like you are running Accumulo as a stand-alone 
node.  One gotcha I have hit with that is not changing the machine names 
in the Accumulo config from 'localhost' to the something which will 
resolve via DNS for the client connecting to Accumulo.
Cheers,
Jim
On 05/28/2015 02:40 AM, Luca Morandini wrote:
...although I can download them with a WFS call.
I was able to load data into Accumulo, download them (including 
geometries) as GeoJSON, but not display them using WMS (as in the 
GeoServer OpenLayers preview).
Similar issues have been raised before, but I was not able to find a 
solution that fit my case.
These are the relevant JARs in GeoServer
hadoop-hdfs-2.6.0.jar
hadoop-mapreduce-client-shuffle-2.6.0.jar
hadoop-mapreduce-client-jobclient-2.6.0.jar
hadoop-mapreduce-client-core-2.6.0.jar
hadoop-mapreduce-client-common-2.6.0.jar
hadoop-mapreduce-client-app-2.6.0.jar
libthrift-0.9.1.jar
accumulo-trace-1.5.1.jar
geomesa-quickstart-1.0-SNAPSHOT.jar.disabled
commons-configuration-1.6.jar
accumulo-fate-1.5.1.jar
accumulo-core-1.5.1.jar
zookeeper-3.4.6.jar
hadoop-annotations-2.6.0.jar
hadoop-auth-2.6.0.jar
hadoop-nfs-2.6.0.jar
hadoop-common-2.6.0.jar
geomesa-plugin-accumulo1.5-1.0.0-rc.5-SNAPSHOT-geoserver-plugin.jar
My rig is: Java 8 + Hadoop 2.6 + Spark 1.3.0 + Accumulo 1.5.1 + 
GeoMesa rc5 +
GeoServer 2.5.2
This is the relevant GeoServer log:
28 May 16:11:25 DEBUG [geotools.rendering] - Querying layer 
http://aurin.org.au:atraffic with bbox: 
ReferencedEnvelope[138.565883916015 : 138.628495083985, 
-34.958251578125 : -34.882711421875]
28 May 16:11:25 WARN [impl.TabletServerBatchReaderIterator] - Error on 
server 127.0.0.1:9997
org.apache.accumulo.core.client.impl.AccumuloServerException: Error on 
server 127.0.0.1:9997
        at 
org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:712)
        at 
org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator$QueryTask.run(TabletServerBatchReaderIterator.java:369)
        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:745)
Caused by: org.apache.thrift.TApplicationException: Internal error 
processing startMultiScan
        at 
org.apache.thrift.TApplicationException.read(TApplicationException.java:111)
        at 
org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:71)
        at 
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.recv_startMultiScan(TabletClientService.java:294)
        at 
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.startMultiScan(TabletClientService.java:274)
        at 
org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:652)
        ... 7 more
Regards,
Luca Morandini
Data Architect - AURIN project
Melbourne eResearch Group
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini
_______________________________________________
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