I try to see configuration on _stats table
root@accumulo> config -t myNamespace.geomesa_stats
-----------+-------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SCOPE | NAME
| VALUE
-----------+-------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
default | table.balancer
............................................ |
org.apache.accumulo.server.master.balancer.DefaultLoadBalancer
default | table.bloom.enabled
....................................... | false
default | table.bloom.error.rate
.................................... | 0.5%
default | table.bloom.hash.type
..................................... | murmur
default | table.bloom.key.functor
................................... |
org.apache.accumulo.core.file.keyfunctor.RowFunctor
default | table.bloom.load.threshold
................................ | 1
default | table.bloom.size
.......................................... | 1048576
default | table.cache.block.enable
.................................. | false
default | table.cache.index.enable
.................................. | true
default | table.classpath.context
................................... |
namespace | @override
.............................................. | myNamespace
default | table.compaction.major.everything.idle
.................... | 1h
default | table.compaction.major.ratio
.............................. | 3
default | table.compaction.minor.idle
............................... | 5m
default | table.compaction.minor.logs.threshold
..................... | 3
default | table.compaction.minor.merge.file.size.max
................ | 0
table | table.constraint.1
........................................ |
org.apache.accumulo.core.constraints.DefaultKeySizeConstraint
default | table.durability
.......................................... | sync
default | table.failures.ignore
..................................... | false
default | table.file.blocksize
...................................... | 0B
default | table.file.compress.blocksize
............................. | 100K
default | table.file.compress.blocksize.index
....................... | 128K
default | table.file.compress.type
.................................. | gz
default | table.file.max
............................................ | 15
default | table.file.replication
.................................... | 0
default | table.file.summary.maxSize
................................ | 256K
default | table.file.type
........................................... | rf
default | table.formatter
........................................... |
org.apache.accumulo.core.util.format.DefaultFormatter
default | table.groups.enabled
...................................... |
default | table.interepreter
........................................ |
org.apache.accumulo.core.util.interpret.DefaultScanInterpreter
table | table.iterator.majc.stats-combiner
........................ |
10,org.locationtech.geomesa.accumulo.data.stats.StatsCombiner
table | table.iterator.majc.stats-combiner.opt.all
................ | true
table | table.iterator.majc.stats-combiner.opt.sep
................ | ~
table |
table.iterator.majc.stats-combiner.opt.sft-SignalBuilder ..
|
*geo:Point,time:Date,cam:String:keep-stats=true,imei:String,dir:Double,alt:Double,vlc:Double,sl:Integer,ds:Integer,dir_y:Double,poi_azimuth_x:Double,poi_azimuth_y:Double
table | table.iterator.majc.vers
.................................. |
20,org.apache.accumulo.core.iterators.user.VersioningIterator
table | table.iterator.majc.vers.opt.maxVersions
.................. | 1
table | table.iterator.minc.stats-combiner
........................ |
10,org.locationtech.geomesa.accumulo.data.stats.StatsCombiner
table | table.iterator.minc.stats-combiner.opt.all
................ | true
table | table.iterator.minc.stats-combiner.opt.sep
................ | ~
table |
table.iterator.minc.stats-combiner.opt.sft-SignalBuilder ..
|
*geo:Point,time:Date,cam:String:keep-stats=true,imei:String,dir:Double,alt:Double,vlc:Double,sl:Integer,ds:Integer,dir_y:Double,poi_azimuth_x:Double,poi_azimuth_y:Double
table | table.iterator.minc.vers
.................................. |
20,org.apache.accumulo.core.iterators.user.VersioningIterator
table | table.iterator.minc.vers.opt.maxVersions
.................. | 1
table | table.iterator.scan.stats-combiner
........................ |
10,org.locationtech.geomesa.accumulo.data.stats.StatsCombiner
table | table.iterator.scan.stats-combiner.opt.all
................ | true
table | table.iterator.scan.stats-combiner.opt.sep
................ | ~
table |
table.iterator.scan.stats-combiner.opt.sft-SignalBuilder ..
|
*geo:Point,time:Date,cam:String:keep-stats=true,imei:String,dir:Double,alt:Double,vlc:Double,sl:Integer,ds:Integer,dir_y:Double,poi_azimuth_x:Double,poi_azimuth_y:Double
table | table.iterator.scan.vers
.................................. |
20,org.apache.accumulo.core.iterators.user.VersioningIterator
table | table.iterator.scan.vers.opt.maxVersions
.................. | 1
default | table.majc.compaction.strategy
............................ |
org.apache.accumulo.tserver.compaction.DefaultCompactionStrategy
default | table.replication
......................................... | false
default | table.sampler
............................................. |
default | table.scan.dispatcher
..................................... |
org.apache.accumulo.core.spi.scan.SimpleScanDispatcher
default | table.scan.max.memory
..................................... | 512K
default | table.security.scan.visibility.default
.................... |
default | table.split.endrow.size.max
............................... | 10K
default | table.split.threshold
..................................... | 1G
default | table.suspend.duration
.................................... | 0s
default | table.walog.enabled
....................................... | true
-----------+-------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
but when I try to load it on table it is really can't
load class. Class not found. How to fix this issue?
root@accumulo> createnamespace examples
root@accumulo> createtable examples.runners
root@accumulo examples.runners> setiter -t
examples.runners -p 10 -scan -minc -majc -n decStats -class
org.apache.accumulo.examples.combiner.StatsCombiner
2022-02-15 23:08:18,098 [shell.Shell] ERROR:
org.apache.accumulo.shell.ShellCommandException: Command
could not be initialized (Unable to load
org.apache.accumulo.examples.combiner.StatsCombiner; class
not found.)
root@accumulo examples.runners>
root@accumulo examples.runners>
root@accumulo examples.runners> setiter -t
examples.runners -p 10 -scan -minc -majc -n decStats -class
org.locationtech.geomesa.accumulo.data.stats.StatsCombiner
2022-02-15 23:09:07,538 [shell.Shell] ERROR:
org.apache.accumulo.shell.ShellCommandException: Command
could not be initialized (Unable to load
org.locationtech.geomesa.accumulo.data.stats.StatsCombiner;
class not found.)
Thanks.