@xiangyang9999/apache-cassandra-distribution
v4.0.20
Published
Local npm wrapper for the Apache Cassandra 4.0.20 binary distribution
Maintainers
Readme
@xiangyang9999/apache-cassandra-distribution
Apache Cassandra 4.0.20 二进制发行版的本地 npm 封装。它不是 Apache Cassandra 官方发布的 npm 包。
包中不包含 preinstall、install 或 postinstall 脚本,安装时不会自动启动任何服务。
安装
npm install ./xiangyang9999-apache-cassandra-distribution-4.0.20.tgz使用
const cassandra = require('@xiangyang9999/apache-cassandra-distribution');
console.log(cassandra.root);
console.log(cassandra.binPath('cassandra'));
console.log(cassandra.confPath('cassandra.yaml'));安装后也可以使用 cassandra-local、cqlsh-local 和 nodetool-local 命令。运行这些命令前,请按上游发行版的要求准备 Java、Python 和相应配置。
