Thanks, that was the problem. Now I just wanted to run through test-geomesa to make sure everything is working and the tables with features are being created but maybe the some of the commands or options have changed with 1.2 or my attributes aren't quite right. I wasn't sure if CREATE_FEATURENAME and FEATURENAME need to be different.
I see the tables are created, but I assumed list and describe would have shown some feature attributes if the features were created.
vagrant@leader:~/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT/bin$ ./test-geomesa
Using GEOMESA_HOME = /home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT
Error while parsing JAI registry file "file:/usr/lib/accumulo/lib/ext/geomesa-accumulo-distributed-runtime-1.2.0-SNAPSHOT.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #31
A descriptor is already registered against the name "org.geotools.ColorReduction" under registry mode "rendered"
Error in registry file at line number #32
A descriptor is already registered against the name "org.geotools.ColorInversion" under registry mode "rendered"
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/accumulo/lib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Creating 'test_feature2' on catalog table 'test_catalog2' with spec 'fid:String:index=join,dtg:Date,*geom:Point:srid=4326:index=full:index-value=true'. Just a few moments...
Creating GeoMesa tables...
Feature 'test_feature2' on catalog table 'test_catalog2' with spec 'fid:String:index=join,dtg:Date,*geom:Point:srid=4326:index=full:index-value=true' successfully created.
Created feature test_feature2
Using GEOMESA_HOME = /home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/accumulo/lib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Running List Features on catalog geomesa_catalog
Error while parsing JAI registry file "file:/usr/lib/accumulo/lib/ext/geomesa-accumulo-distributed-runtime-1.2.0-SNAPSHOT.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #31
A descriptor is already registered against the name "org.geotools.ColorReduction" under registry mode "rendered"
Error in registry file at line number #32
A descriptor is already registered against the name "org.geotools.ColorInversion" under registry mode "rendered"
Using GEOMESA_HOME = /home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/accumulo/lib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Describing attributes of feature 'test_feature2' from catalog table 'geomesa_catalog'...
Error while parsing JAI registry file "file:/usr/lib/accumulo/lib/ext/geomesa-accumulo-distributed-runtime-1.2.0-SNAPSHOT.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #31
A descriptor is already registered against the name "org.geotools.ColorReduction" under registry mode "rendered"
Error in registry file at line number #32
A descriptor is already registered against the name "org.geotools.ColorInversion" under registry mode "rendered"
Error: feature 'test_feature2' not found. Check arguments...
java.lang.NullPointerException
at org.locationtech.geomesa.tools.commands.DescribeCommand.execute(DescribeCommand.scala:29)
at org.locationtech.geomesa.tools.Runner$.main(Runner.scala:23)
at org.locationtech.geomesa.tools.Runner.main(Runner.scala)
Using GEOMESA_HOME = /home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT
Error while parsing JAI registry file "file:/usr/lib/accumulo/lib/ext/geomesa-accumulo-distributed-runtime-1.2.0-SNAPSHOT.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #31
A descriptor is already registered against the name "org.geotools.ColorReduction" under registry mode "rendered"
Error in registry file at line number #32
A descriptor is already registered against the name "org.geotools.ColorInversion" under registry mode "rendered"
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/accumulo/lib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Error: Could not explain the query (include): Feature 'test_feature2' has not been initialized. Please call 'createSchema' first.
java.io.IOException: Feature 'test_feature2' has not been initialized. Please call 'createSchema' first.
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore$$anonfun$validateMetadata$1.apply(AccumuloDataStore.scala:380)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore$$anonfun$validateMetadata$1.apply(AccumuloDataStore.scala:380)
at scala.Option.getOrElse(Option.scala:121)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore.validateMetadata(AccumuloDataStore.scala:380)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore.getQueryPlanner(AccumuloDataStore.scala:723)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore.planQuery(AccumuloDataStore.scala:717)
at org.locationtech.geomesa.accumulo.data.AccumuloDataStore.explainQuery(AccumuloDataStore.scala:707)
at org.locationtech.geomesa.tools.commands.ExplainCommand.execute(ExplainCommand.scala:24)
at org.locationtech.geomesa.tools.Runner$.main(Runner.scala:23)
at org.locationtech.geomesa.tools.Runner.main(Runner.scala)
Using GEOMESA_HOME = /home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT
Error parsing arguments: Unknown option: -f
Usage: geomesa [command] [command options]
Commands:
create Create a feature definition in a GeoMesa catalog
deletecatalog Delete a GeoMesa catalog completely (and all features in it)
deleteraster Delete a GeoMesa Raster Table
describe Describe the attributes of a given feature in GeoMesa
env Examine the current GeoMesa environment
explain Explain how a GeoMesa query will be executed
export Export a GeoMesa feature
getsft Get the SimpleFeatureType of a feature
help Show help
ingest Ingest/convert various file formats into GeoMesa
ingestraster Ingest a raster file or raster files in a directory into GeoMesa
list List GeoMesa features for a given catalog
queryrasterstats Export queries and statistics about the last X number of queries to a CSV file.
removeschema Remove a schema and associated features from a GeoMesa catalog
tableconf Perform table configuration operations
version GeoMesa Version
Using GEOMESA_HOME = /home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/vagrant/geomesa/geomesa-dist/target/geomesa-1.2.0-SNAPSHOT/dist/tools/geomesa-tools-1.2.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/accumulo/lib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Running List Features on catalog test_catalog2
Error while parsing JAI registry file "file:/usr/lib/accumulo/lib/ext/geomesa-accumulo-distributed-runtime-1.2.0-SNAPSHOT.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #31
A descriptor is already registered against the name "org.geotools.ColorReduction" under registry mode "rendered"
Error in registry file at line number #32
A descriptor is already registered against the name "org.geotools.ColorInversion" under registry mode "rendered"
test_feature2