Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 cassandra 集群,在 password.properties 文件中设置了用户名和密码,我不知道如何使用 pig 的 CassandraStorage 加载和写入数据到这个集群。没有密码,功能很好。
有什么帮助吗?
在 CassandraStorage#initSchema 中,您需要添加一个调用来构建 AuthenticationRequest 结构,并在 client#set_keyspace 之前添加对 client#login 的调用。
创建:https ://issues.apache.org/jira/browse/CASSANDRA-3042