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