摘要: github地址:leveldb/CompressionType.java at master · dain/leveldb · GitHub CompressionType.java enum定义compressiontype:SNAPPY or not: public enum Compress 阅读全文
posted @ 2022-07-18 16:10 只能说运气有点好 阅读(28) 评论(0) 推荐(0)
摘要: github地址:leveldb/leveldb-api/src/main/java/org/iq80/leveldb at master · dain/leveldb · GitHub DB.java DB类接口实现:继承了Closeable接口 public interface DB exten 阅读全文
posted @ 2022-07-18 15:51 只能说运气有点好 阅读(314) 评论(0) 推荐(0)
摘要: Cassandra的配置文件:cassandra-3.11.4-main/conf/cassandra.yaml 目录相关的文件: data_file_directories:存储表数据(在SSTables里)。Cassandra将数据均匀的分布在这个位置,受配置的压缩策略粒度的限制。commitl 阅读全文
posted @ 2022-07-14 16:47 只能说运气有点好 阅读(332) 评论(0) 推荐(0)
摘要: Cassandra-3.11.4-main 用ant编译报错:BUILD FAILED [1] 117196 Buildfile: /home/cjx/Downloads/cassandra-3.11.4-main/build.xml Buildfile: /home/cjx/Downloads/c 阅读全文
posted @ 2022-06-26 23:00 只能说运气有点好 阅读(113) 评论(0) 推荐(0)
摘要: nodetool status nodetool: Failed to connect to '127.0.0.1:7199' - URISyntaxException: 'Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199'. JDK 阅读全文
posted @ 2022-06-06 21:02 只能说运气有点好 阅读(1271) 评论(0) 推荐(2)
摘要: 首先进入Cassandra目录下的bin目录前台运行 ./cassandra -f -R 然后运行cqlsh或者cqlsh [rpc_address] ./cqlsh./cqlsh 192.168.199.135 创建Cassandra的keyspace: create keyspace ycsb 阅读全文
posted @ 2022-05-13 22:57 只能说运气有点好 阅读(209) 评论(0) 推荐(0)
摘要: 首先确实root权限 然后用dnf命令 dnf install python2 检查安装成功 python2 --version Python 2.7.18 阅读全文
posted @ 2022-05-12 22:38 只能说运气有点好 阅读(797) 评论(0) 推荐(0)
摘要: docker-compose -f docker-compose-3orderer.yaml up -d 输出结果: Creating network "docker_default" with the default driver Creating orderer0.example.com ... 阅读全文
posted @ 2022-04-14 22:03 只能说运气有点好 阅读(258) 评论(0) 推荐(0)
摘要: cd fabric3O/orderer0/ nohup ./orderer start > orderer0-log.log 2>&1 & tail -f orderer0-log.log cd .. & cd orderer1 nohup ./orderer start > orderer1-lo 阅读全文
posted @ 2022-04-09 23:58 只能说运气有点好 阅读(263) 评论(0) 推荐(0)
摘要: 下载安装包 wget https://github.com/hyperledger/fabric/releases/download/v2.4.2/hyperledger-fabric-linux-amd64-2.4.2.tar.gz 解压 tar -xzvf hyperledger-fabric- 阅读全文
posted @ 2022-04-07 14:04 只能说运气有点好 阅读(115) 评论(0) 推荐(0)