'Geomesa: stats not gathered
Geomesa accumulo stats is not gathered.
Maybe the reason is when I installed accumulo with geomesa, I do next steps from here: https://www.geomesa.org/documentation/stable/user/accumulo/install.html#installing-the-accumulo-distributed-runtime-library
$ hadoop fs -mkdir /accumulo/classpath/myNamespace
$ hadoop fs -put geomesa-accumulo_2.12-3.2.2/dist/accumulo/geomesa-accumulo-distributed-runtime_2.12-3.2.2.jar /accumulo/classpath/myNamespace/
and inside accumulo I do next
> createnamespace myNamespace
> grant NameSpace.CREATE_TABLE -ns myNamespace -u root
> config -s general.vfs.context.classpath.myNamespace=hdfs://10.200.217.27:9000/accumulo/classpath/myNamespace/[^.].*.jar
> config -ns myNamespace -s table.classpath.context=myNamespace
but when My app is connecting. It creates the scheme.
and inside accumulo I try to get data from table it returns that Could not determine the type of file jar
root@accumulo> scan -t myNamespace.geomesa
2022-02-09 19:29:52,044 [commands.ShellPluginConfigurationCommand] ERROR: Error: Could not determine the type of file "hdfs://10.200.217.27:9000/accumulo/classpath/myNamespace/[^.].*.jar".
2022-02-09 19:29:52,044 [shell.Shell] ERROR: Could not load the specified formatter. Using the DefaultFormatter
2022-02-09 19:29:52,066 [commands.ShellPluginConfigurationCommand] ERROR: Error: Could not determine the type of file "hdfs://10.200.217.27:9000/accumulo/classpath/myNamespace/[^.].*.jar".
SignalBuilder~attributes : [] *geo:Point,time:Date,cam:String,imei:String,dir:Double,alt:Double,vlc:Double,sl:Integer,ds:Integer,dir_y:Double,poi_azimuth_x:Double,poi_azimuth_y:Double;geomesa.stats.enable='true',geomesa.feature.expiry='time(30 days)',geomesa.z.splits='4',geomesa.table.partition='time',geomesa.index.dtg='time',geomesa.attr.splits='4',geomesa.indices='z3:7:3:geo:time,z2:5:3:geo,attr:8:3:time,attr:8:3:cam,attr:8:3:cam:time',geomesa.z3.interval='week'
SignalBuilder~stats-date : [] 2022-02-09T16:29:25.584Z
root@accumulo>
I try to explicitly set jar
> config -s general.vfs.context.classpath.myNamespace=hdfs://10.200.217.27:9000/accumulo/classpath/myNamespace/geomesa-accumulo-distributed-runtime_2.12-3.2.2.jar
but the result was the same while getting data from table myNamespace.geomesa:
ERROR: Error: Could not determine the type of file "hdfs://10.200.217.27:9000/accumulo/classpath/myNamespace/geomesa-accumulo-distributed-runtime_2.12-3.2.2.jar
How to fix Could not determine the type of file error?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
