Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Issue with QuickStart Tutorial

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


Back to the top