1. 报错 java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/protobuf/generated/MasterProtos$MasterService$BlockingInterface at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.secu…
引入zookeeper-3.4.11.jar public class ZooKeeperTest implements Watcher{ //public final static String zkServerPath = "12.45.67.80:2181"; //集群,使用逗号分隔 public final static String zkServerPath = "12.45.67.80:2181,12.45.67.80:2182,12.45.67.80:2183&…
GET _cat/nodes GET _cat/health GET _cat/shards GET http://10.37.84.124:9200/secisland?pretty { "settings":{ "number_of_shards":5, "number_of_replicas":1 } } GET http://10.37.84.124:9200/_cat/indices?v&index=secisland PUT…