This error is do to not being able to see system.peers table. Spark requires the peers table info to get the token information.
check if they have access to read the system tables. If you are using a public endpoint you should have 9 and if you are using a VPCE you should have one for each availability zone. SELECT * FROM system.peers
If you are using a vpc endpoint check to see if you have setup the right permissions.
发布评论
评论(1)
此错误是无法查看System.Peers表。 Spark需要同行表信息以获取令牌信息。
选择 *从System.peers
选择 *如果使用VPC端点检查检查是否有设置
以下示例是如何使用火花/胶将密钥空间数据导出到S3。
This error is do to not being able to see system.peers table. Spark requires the peers table info to get the token information.
SELECT * FROM system.peers
If you are using a vpc endpoint check to see if you have setup the right permissions.
The following example is how to using Spark/Glue to export Keyspaces data to S3.
https://github.com/aws-samples/amazon-keyspaces-examples/tree/main/scala/datastax-v4/aws-glue/export-to-s3