为了设置本地GeoMesa-Accumulo堆栈,我克隆了一个git存储库(https://github.com/geodocker/geodocker-geomesa)。 接下来,要创建实例,我执行了以下命令。
$ cd geodocker-geomesa/geodocker-accumulo-geomesa/
$ docker-compose up
但是,当我不断收到以下消息时,累计监视器似乎出现了问题。
accumulo-monitor_1 | java.lang.RuntimeException: org.apache.accumulo.core.client.impl.ThriftScanner$ScanTimedOutException
accumulo-monitor_1 | at org.apache.accumulo.core.client.impl.ScannerIterator.hasNext(ScannerIterator.java:164)
accumulo-monitor_1 | at org.apache.accumulo.server.problems.ProblemReports$3.hasNext(ProblemReports.java:260)
accumulo-monitor_1 | at org.apache.accumulo.server.problems.ProblemReports.summarize(ProblemReports.java:320)
accumulo-monitor_1 | at org.apache.accumulo.monitor.Monitor.fetchData(Monitor.java:395)
accumulo-monitor_1 | at org.apache.accumulo.monitor.Monitor$2.run(Monitor.java:555)
accumulo-monitor_1 | at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
accumulo-monitor_1 | at java.lang.Thread.run(Thread.java:748)
accumulo-monitor_1 | Caused by: org.apache.accumulo.core.client.impl.ThriftScanner$ScanTimedOutException
accumulo-monitor_1 | at org.apache.accumulo.core.client.impl.ThriftScanner.scan(ThriftScanner.java:252)
accumulo-monitor_1 | at org.apache.accumulo.core.client.impl.ScannerIterator$Reader.run(ScannerIterator.java:80)
accumulo-monitor_1 | at org.apache.accumulo.core.client.impl.ScannerIterator.hasNext(ScannerIterator.java:154)
accumulo-monitor_1 | ... 6 more
我该怎么做才能解决此问题并成功创建GeoMesa Accumulo实例?
此外,此错误有什么影响?我可以忽略它吗?使用
时列出的一个累积监视器实例已创建$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4da4fb183893 quay.io/geomesa/accumulo-geomesa:geomesa-2.2.0-accumulo-1.9.2 "/sbin/entrypoint.sh…" 33 minutes ago Up 33 minutes 0.0.0.0:9995->9995/tcp, 0.0.0.0:50095->50095/tcp geodockeraccumulogeomesa_accumulo-monitor_1
8edbea5b4d96 quay.io/geomesa/accumulo-geomesa:geomesa-2.2.0-accumulo-1.9.2 "/sbin/entrypoint.sh…" 3 hours ago Up 3 hours geodockeraccumulogeomesa_accumulo-master_1
f0d4a29f278a quay.io/geomesa/hdfs:geomesa-2.2.0-accumulo-1.9.2 "/sbin/entrypoint.sh…" 3 hours ago Up 3 hours geodockeraccumulogeomesa_hdfs-data_1
3786a6292a10 quay.io/geomesa/zookeeper:latest "/sbin/entrypoint.sh…" 3 hours ago Up 3 hours 2888/tcp, 0.0.0.0:2181->2181/tcp, 3888/tcp geodockeraccumulogeomesa_zookeeper_1
b30c99bfcf0a quay.io/geomesa/hdfs:geomesa-2.2.0-accumulo-1.9.2 "/sbin/entrypoint.sh…" 3 hours ago Up 3 hours 0.0.0.0:50070->50070/tcp geodockeraccumulogeomesa_hdfs-name_1
6220fd54dabb quay.io/geomesa/geoserver:geomesa-2.2.0-accumulo-1.9.2 "/opt/tomcat/bin/cat…" 3 hours ago Up 3 hours 0.0.0.0:9090->9090/tcp geodockeraccumulogeomesa_geoserver_1
(请注意,“创建的”有所不同,因为我尝试了一些方法来解决runTimeException。)