Thanks. That fixed the logging warnings. Now I am getting an AccumuloServerException:
Creating feature-type (schema): QuickStart
Creating new features
Inserting new features
Submitting query
0 [batch scanner 1- 2 looking up 1 ranges at 10.10.1.23:9997] WARN org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator - Error on server 10.10.1.23:9997
org.apache.accumulo.core.client.impl.AccumuloServerException: Error on server 10.10.1.23: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:108)
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
When I check the logs on the tablet server I find:
2014-10-22 14:50:24,203 [thrift.ProcessFunction] ERROR: Internal error processing startMultiScan
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: java.lang.ClassNotFoundException: org.locationtech.geomesa.core.iterators.SpatioTemporalIntersectingIterator
at org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler.continueMultiScan(TabletServer.java:1373)
at org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler.startMultiScan(TabletServer.java:1325)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
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.$Proxy15.startMultiScan(Unknown Source)
at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$startMultiScan.getResult(TabletClientService.java:1985)
at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$startMultiScangetResult(TabletClientService.java:1969)
at org.apache.thriftProcessFunction.process(ProcessFunction.java:39)
at org.apachethrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:151)
at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:478)
at org.apache.accumulo.server.util.TServerUtils$THsHaServer$Invocation.run(TServerUtils.java:202)
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: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: java.lang.ClassNotFoundException: org.locationtech.geomesa.core.iterators.SpatioTemporalIntersectingIterator
at org.apache.accumulo.server.tabletserver.TabletServer$ScanTask.get(TabletServer.java:713)
at org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler.continueMultiScan(TabletServer.java:1360)
... 18 more
Caused by: java.lang.RuntimeException: java.io.IOException: java.lang.ClassNotFoundException: org.locationtech.geomesa.core.iterators.SpatioTemporalIntersectingIterator
at org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler$LookupTask.run(TabletServer.java:1062)
at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
... 5 more
Caused by: java.io.IOException: java.lang.ClassNotFoundException: org.locationtech.geomesa.core.iterators.SpatioTemporalIntersectingIterator
at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:254)
at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:219)
at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:197)
at org.apache.accumulo.server.tabletserver.Tablet$ScanDataSource.createIterator(Tablet.java:2104)
at org.apache.accumulo.server.tabletserver.Tablet$ScanDataSource.iterator(Tablet.java:2042)
at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:165)
at org.apache.accumulo.server.tabletserver.Tablet.lookup(Tablet.java:1618)
at org.apache.accumulo.server.tabletserver.Tablet.lookup(Tablet.java:1725)
at org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler$LookupTask.run(TabletServer.java:1051)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.locationtech.geomesa.core.iterators.SpatioTemporalIntersectingIterator
at org.apache.commons.vfs2.impl.VFSClassLoader.findClass(VFSClassLoader.java:175)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.accumulo.start.classloader.vfs.AccumuloVFSClassLoader.loadClass(AccumuloVFSClassLoader.java:103)
at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtiljava:238)
... 14 more
I have built the latest geomesa from github. Any idea why I would be getting this error?
Thanks!
--
Stephen Kahmann
Software Engineer
iNovex Information Systems, Inc.
stephen.kahmann@xxxxxxxxxxxxxx
-----Original Message-----
From: geomesa-users-bounces@xxxxxxxxxxxxxxxx [mailto:geomesa-users-bounces@xxxxxxxxxxxxxxxx] On Behalf Of
geomesa-users-request@xxxxxxxxxxxxxxxx
Sent: Wednesday, October 22, 2014 12:00 PM
To: geomesa-users@xxxxxxxxxxxxxxxx
Subject: geomesa-users Digest, Vol 8, Issue 1
Send geomesa-users mailing list submissions to
geomesa-users@xxxxxxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://www.locationtech.org/mailman/listinfo/geomesa-users
or, via email, send a message with subject or body 'help' to
geomesa-users-request@xxxxxxxxxxxxxxxx
You can reach the person managing the list at
geomesa-users-owner@xxxxxxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific than "Re: Contents of geomesa-users digest..."
Today's Topics:
1. Issue with QuickStart Tutorial (Stephen Kahmann)
2. Re: Issue with QuickStart Tutorial (Chris Eichelberger)
3. Re: Issue with QuickStart Tutorial (Connor Manning)
----------------------------------------------------------------------
Message: 1
Date: Tue, 21 Oct 2014 17:12:05 +0000
From: Stephen Kahmann <stephen.kahmann@xxxxxxxxxxxxxx>
To: "geomesa-users@xxxxxxxxxxxxxxxx" <geomesa-users@xxxxxxxxxxxxxxxx>
Cc: Samuel Chance <samuel.chance@xxxxxxxxxxxxxx>
Subject: [geomesa-users] Issue with QuickStart Tutorial
Message-ID:
<4dccd4a6aa04434bb57b5f6bff1d98d4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I am trying to run the QuickStart tutorial against Accumulo 1.6 (which may well be the issue), and it looks like I am having problems getting results from the query.
I upgraded the Accumulo dependencies in the pom.xml like so:
<dependency>
<groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-core</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-start</artifactId>
<version>1.6.0</version>
</dependency>
And ran the QuickStart application with the following command:
java -cp ./target/geomesa-quickstart-1.0-SNAPSHOT.jar org.geomesa.QuickStart -instanceId accumulo -zookeepers "<IP>:2181" -user root -password <pwd> -tableName geomesa_quickstart
And here's the output:
log4j:WARN No appenders could be found for logger (org.apache.accumulo.fate.zookeeper.ZooSession).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Creating feature-type (schema): QuickStart Creating new features Inserting new features Submitting query
I put a debug statement to see if the "featureItr" object has next and it returns false. When I look in the Accumulo table (geomesa_quickstart_records) I get the output:
QuickStart~Observation.0 SFT: [] \x04\x1AObservation.0\x00\x0CAddams\x00\x00\x00\x80\xCC\xE7\xE8\x86R\x00*\x00\x00\x00\x00\x01\xC0S\x03\xB1\xD6N4\xB6\xC0B\xCE\xD8n\x884\xE0\x02
QuickStart~Observation.1 SFT: [] \x04\x1AObservation.1\x00\x0CBierce\x00\x02\x00\xE0\x9E\xD7\xF2\xADQ\x00*\x00\x00\x00\x00\x01\xC0S_\x053\xD3\x90%\xC0Co\xE8 Z\xB1>\x02
QuickStart~Observation.10 SFT: [] \x04\x1CObservation.10\x00\x0CBierce\x00\x14\x00\x90\x8C\xEF\xB6\xF9P\x00*\x00\x00\x00\x00\x01\xC0SY\xDB\xAE|\xEB(\xC0CV\x83\xCE)\xEB\xC0\x02...
So it is definitely creating data.
Any help would be appreciated Thank you!
-- Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.locationtech.org/mhonarc/lists/geomesa-users/attachments/20141021/df1be00a/attachmenthtml>
------------------------------
Message: 2
Date: Tue, 21 Oct 2014 13:16:26 -0400
From: Chris Eichelberger <cne1x@xxxxxxxx>
To: Geomesa User discussions <geomesa-users@xxxxxxxxxxxxxxxx>
Cc: Samuel Chance <samuel.chance@xxxxxxxxxxxxxx>
Subject: Re: [geomesa-users] Issue with QuickStart Tutorial
Message-ID: <1413911786.27394.83.camel@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="UTF-8"
Stephen,
We will look into this issue, and be back in touch shortly.
Thanks!
Sincerely,
-- Chris
On Tue, 2014-10-21 at 17:12 +0000, Stephen Kahmann wrote:
> Hi,
>
>
>
> I am trying to run the QuickStart tutorial against Accumulo 1.6 (which
> may well be the issue), and it looks like I am having problems getting
> results from the query. I upgraded the Accumulo dependencies in the
> pom.xml like so:
>
>
>
> <dependency>
>
> <groupId>org.apache.accumulo</groupId>
>
> <artifactId>accumulo-core</artifactId>
>
> <version>1.6.0</version>
>
> </dependency>
>
> <dependency>
>
> <groupId>org.apache.accumulo</groupId>
>
> <artifactId>accumulo-start</artifactId>
>
> <version>1.6.0</version>
>
> </dependency>
>
>
>
> And ran the QuickStart application with the following command:
>
>
>
> java -cp ./target/geomesa-quickstart-1.0-SNAPSHOT.jar
> org.geomesa.QuickStart -instanceId accumulo -zookeepers "<IP>:2181"
> -user root -password <pwd> -tableName geomesa_quickstart
>
>
>
> And here?s the output:
>
>
>
> log4j:WARN No appenders could be found for logger
> (org.apache.accumulo.fate.zookeeper.ZooSession).
>
> log4j:WARN Please initialize the log4j system properly.
>
> log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig
> for more info.
>
> Creating feature-type (schema): QuickStart
>
> Creating new features
>
> Inserting new features
>
> Submitting query
>
>
>
> I put a debug statement to see if the ?featureItr? object has next and
> it returns false. When I look in the Accumulo table
> (geomesa_quickstart_records) I get the output:
>
>
>
> QuickStart~Observation.0 SFT: [] \x04\x1AObservation.0\x00
> \x0CAddams\x00\x00\x00\x80\xCC\xE7\xE8\x86R\x00*\x00\x00\x00\x00\x01
> \xC0S\x03\xB1\xD6N4\xB6\xC0B\xCE\xD8n\x884\xE0\x02
>
> QuickStart~Observation.1 SFT: [] \x04\x1AObservation.1\x00
> \x0CBierce\x00\x02\x00\xE0\x9E\xD7\xF2\xADQ\x00*\x00\x00\x00\x00\x01
> \xC0S_\x053\xD3\x90%\xC0Co\xE8 Z\xB1>\x02
>
> QuickStart~Observation.10 SFT: [] \x04\x1CObservation.10\x00
> \x0CBierce\x00\x14\x00\x90\x8C\xEF\xB6\xF9P\x00*\x00\x00\x00\x00\x01
> \xC0SY\xDB\xAE|\xEB(\xC0CV\x83\xCE)\xEB\xC0\x02?
>
>
>
> So it is definitely creating data.
>
>
>
> Any help would be appreciated. Thank you!
>
>
>
> -- Stephen
>
>
>
>
> _______________________________________________
> 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
------------------------------
Message: 3
Date: Tue, 21 Oct 2014 12:25:11 -0500
From: Connor Manning <connor@xxxxxxx>
To: Geomesa User discussions <geomesa-users@xxxxxxxxxxxxxxxx>
Cc: Samuel Chance <samuel.chance@xxxxxxxxxxxxxx>
Subject: Re: [geomesa-users] Issue with QuickStart Tutorial
Message-ID:
<CAO=FyjLLr-g=JOn9W8P00NQfD5KDo9BMt7PZXbcmacpfOd+PzQ@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"
We had log4j issues when we were getting stuff up and running a few months ago, too. We had to add something like this to get it to work:
https://github.com/connormanning/GeoToolsProxy/blob/master/server/java/src/main/java/gtpServer/GtpServer.java#L52-L53
- Connor
On Tue, Oct 21, 2014 at 12:16 PM, Chris Eichelberger <cne1x@xxxxxxxx> wrote:
> Stephen,
>
> We will look into this issue, and be back in touch shortly
>
> Thanks!
>
> Sincerely,
> -- Chris
>
>
> On Tue, 2014-10-21 at 17:12 +0000, Stephen Kahmann wrote:
> > Hi,
> >
> >
> >
> > I am trying to run the QuickStart tutorial against Accumulo 1.6
> > (which may well be the issue), and it looks like I am having
> > problems getting results from the query. I upgraded the Accumulo
> > dependencies in the pom.xml like so:
> >
> >
> >
> > <dependency>
> >
> > <groupId>org.apache.accumulo</groupId>
> >
> > <artifactId>accumulo-core</artifactId>
> >
> > <version>1.6.0</version>
> >
> > </dependency>
> >
> > <dependency>
> >
> > <groupId>org.apache.accumulo</groupId>
> >
> > <artifactId>accumulo-start</artifactId>
> >
> > <version>1.6.0</version>
> >
> > </dependency>
> >
> >
> >
> > And ran the QuickStart application with the following command:
> >
> >
> >
> > java -cp ./target/geomesa-quickstart-1.0-SNAPSHOT.jar
> > org.geomesa.QuickStart -instanceId accumulo -zookeepers "<IP>:2181"
> > -user root -password <pwd> -tableName geomesa_quickstart
> >
> >
> >
> > And here?s the output:
> >
> >
> >
> > log4j:WARN No appenders could be found for logger
> > (org.apache.accumulo.fate.zookeeper.ZooSession).
> >
> > log4j:WARN Please initialize the log4j system properly.
> >
> > log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig
> > for more info.
> >
> > Creating feature-type (schema): QuickStart
> >
> > Creating new features
> >
> > Inserting new features
> >
> > Submitting query
> >
> >
> >
> > I put a debug statement to see if the ?featureItr? object has next
> > and it returns false. When I look in the Accumulo table
> > (geomesa_quickstart_records) I get the output:
> >
> >
> >
> > QuickStart~Observation.0 SFT: [] \x04\x1AObservation.0\x00
> > \x0CAddams\x00\x00\x00\x80\xCC\xE7\xE8\x86R\x00*\x00\x00\x00\x00\x01
> > \xC0S\x03\xB1\xD6N4\xB6\xC0B\xCE\xD8n\x884\xE0\x02
> >
> > QuickStart~Observation.1 SFT: [] \x04\x1AObservation.1\x00
> > \x0CBierce\x00\x02\x00\xE0\x9E\xD7\xF2\xADQ\x00*\x00\x00\x00\x00\x01
> > \xC0S_\x053\xD3\x90%\xC0Co\xE8 Z\xB1>\x02
> >
> > QuickStart~Observation.10 SFT: [] \x04\x1CObservation.10\x00
> > \x0CBierce\x00\x14\x00\x90\x8C\xEF\xB6\xF9P\x00*\x00\x00\x00\x00\x01
> > \xC0SY\xDB\xAE|\xEB(\xC0CV\x83\xCE)\xEB\xC0\x02?
> >
> >
> >
> > So it is definitely creating data.
> >
> >
> >
> > Any help would be appreciated. Thank you!
> >
> >
> >
> > -- Stephen
> >
> >
> >
> >
> > _______________________________________________
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://wwwlocationtech.org/mhonarc/lists/geomesa-users/attachments/20141021/6f069e87/attachment.html>
------------------------------
_______________________________________________
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
End of geomesa-users Digest, Vol 8, Issue 1
*******************************************