I am receiving the following error when I try to do a describe-schema or stats-count from the command line tools.
A previous question was asked and answered here
https://github.com/geomesa/geomesa-tutorials/issues/51, but I have confirmed that my versions are consistent.
I am using 2.11-2.0.1 version of geomesa-accumulo and have confirmed that this is the version of the distributed runtime jar installed on the master and tablet servers. Are there other places I need to check for version consistency? These
are images within the geodocker project.
These records were inserted using the Java API libraries, which are at the same version, as shown here in the snippet from my POM file:
<properties>
<geomesa.version>2.0.1</geomesa.version>
<scala.abi.version>2.11</scala.abi.version>
</properties>
<dependency>
<groupId>org.locationtech.geomesa</groupId>
<artifactId>geomesa-utils_${scala.abi.version}</artifactId>
<version>${geomesa.version}</version>
</dependency>
<dependency>
<groupId>org.locationtech.geomesa</groupId>
<artifactId>geomesa-index-api_${scala.abi.version}</artifactId>
<version>${geomesa.version}</version>
</dependency>
<dependency>
<groupId>org.locationtech.geomesa</groupId>
<artifactId>geomesa-feature-avro_${scala.abi.version}</artifactId>
<version>${geomesa.version}</version>
</dependency>
<dependency>
<groupId>org.locationtech.geomesa</groupId>
<artifactId>geomesa-accumulo-datastore_${scala.abi.version}</artifactId>
<version>${geomesa.version}</version>
</dependency>
<dependency>
<groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-core</artifactId>
<version>1.9.0</version>
</dependency>
<dependency>
<groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-start</artifactId>
<version>1.9.0</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.4.12</version>
</dependency>
================================
ERROR:
ERROR Unable to find required metadata property for <MY_FEATURE_TYPE_NAME>:version
java.lang.RuntimeException: Unable to find required metadata property for TrackMessagePoint:version
at org.locationtech.geomesa.index.metadata.GeoMesaMetadata$$anonfun$readRequired$1.apply(GeoMesaMetadata.scala:70)
at org.locationtech.geomesa.index.metadata.GeoMesaMetadata$$anonfun$readRequired$1.apply(GeoMesaMetadata.scala:70)
at scala.Option.getOrElse(Option.scala:121)
at org.locationtech.geomesa.index.metadata.GeoMesaMetadata$class.readRequired(GeoMesaMetadata.scala:69)
at org.locationtech.geomesa.accumulo.data.AccumuloBackedMetadata.readRequired(AccumuloBackedMetadata.scala:22)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore.getSchema(AccumuloDataStore.scala:244)
at org.locationtech.geomesa.index.geotools.GeoMesaDataStore.getAllIndexTableNames(GeoMesaDataStore.scala:101)
at org.locationtech.geomesa.index.geotools.GeoMesaDataStore.getAllTableNames(GeoMesaDataStore.scala:91)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore.getAllTableNames(AccumuloDataStore.scala:100)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore$$anonfun$getIteratorVersion$1.apply(AccumuloDataStore.scala:131)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore$$anonfun$getIteratorVersion$1.apply(AccumuloDataStore.scala:131)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:252)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:252)
at scala.collection.immutable.Set$Set1.foreach(Set.scala:79)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:252)
at scala.collection.AbstractTraversable.flatMap(Traversable.scala:104)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore.getIteratorVersion(AccumuloDataStore.scala:131)
at org.locationtech.geomesa.index.geotools.GeoMesaDataStore.getVersion(GeoMesaDataStore.scala:329)
at org.locationtech.geomesa.index.geotools.GeoMesaDataStore.checkProjectVersion(GeoMesaDataStore.scala:342)
at org.locationtech.geomesa.index.geotools.GeoMesaDataStore.getSchema(GeoMesaDataStore.scala:191)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore.getSchema(AccumuloDataStore.scala:221)
at org.locationtech.geomesa.tools.status.DescribeSchemaCommand$class.getSchema(DescribeSchemaCommand.scala:41)
at org.locationtech.geomesa.accumulo.tools.status.AccumuloDescribeSchemaCommand.getSchema(AccumuloDescribeSchemaCommand.scala:18)
at org.locationtech.geomesa.tools.status.DescribeSchemaCommand$$anonfun$execute$1.apply(DescribeSchemaCommand.scala:28)
at org.locationtech.geomesa.tools.status.DescribeSchemaCommand$$anonfun$execute$1.apply(DescribeSchemaCommand.scala:27)
at org.locationtech.geomesa.tools.DataStoreCommand$class.withDataStore(Command.scala:59)
at org.locationtech.geomesa.accumulo.tools.status.AccumuloDescribeSchemaCommand.withDataStore(AccumuloDescribeSchemaCommand.scala:18)
at org.locationtech.geomesa.tools.status.DescribeSchemaCommand$class.execute(DescribeSchemaCommand.scala:27)
at org.locationtech.geomesa.accumulo.tools.status.AccumuloDescribeSchemaCommand.execute(AccumuloDescribeSchemaCommand.scala:18)
at org.locationtech.geomesa.tools.Runner$class.main(Runner.scala:28)
at org.locationtech.geomesa.accumulo.tools.AccumuloRunner$.main(AccumuloRunner.scala:29)
at org.locationtech.geomesa.accumulo.tools.AccumuloRunner.main(AccumuloRunner.scala)
Thanks for any and all help,
Trevor Morris
_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users