我正在以下链接构建AsyncCassandra -
https://github.com/OpenTSDB/asynccassandra
但是我收到以下错误:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /root/asynccassandra/src/org/hbase/async/HBaseClient.java:[304,34] error: cannot find symbol
[ERROR] symbol: variable ConsistencyLevel
location: class HBaseClient
/root/asynccassandra/src/org/hbase/async/HBaseClient.java:[303,25] [deprecation] BoundedExponentialBackoff(long,int,int) in BoundedExponentialBackoff has been deprecated
[ERROR] /root/asynccassandra/src/org/hbase/async/HBaseClient.java:[311,35] error: cannot find symbol
看起来缺少源代码
import com.netflix.astyanax.model.ConsistencyLevel;
但实际上,用于它的 astynax 项目已经停用,不应该使用。