摘要:
Linux安装zooKeeper启动时正常但查看状态时报错解决方案 当我们安装好zooKeeper,启动后通过 ./zkServer.sh status查看状态时会爆Error contacting service. It is probably not running.错误如下图: 解决办法: 查 阅读全文
摘要:
源码分析: final V putVal(int hash, K key, V value, boolean onlyIfAbsent, boolean evict) { Node<K,V>[] tab; Node<K,V> p; int n, i; //辅助变量 // 判断table表是否为空或者 阅读全文