You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2020/07/20 05:05:00 UTC
[jira] [Commented] (CASSANDRA-15953) Support fetching all user
tables to compare in Cassandra-diff
[ https://issues.apache.org/jira/browse/CASSANDRA-15953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160893#comment-17160893 ]
Yifan Cai commented on CASSANDRA-15953:
---------------------------------------
PR: [https://github.com/apache/cassandra-diff/pull/10]
Code: [https://github.com/yifan-c/cassandra-diff/tree/compare-all-user-tables]
This patch allows the spark job to discover the user tables when `keyspace_tables` is not specified. The discovered tables are the intersection of the schema from source and target clusters.
Optionally, one can specify the `disallowed_keyspaces` to exclude the keyspaces that should not be compared.
> Support fetching all user tables to compare in Cassandra-diff
> -------------------------------------------------------------
>
> Key: CASSANDRA-15953
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15953
> Project: Cassandra
> Issue Type: Improvement
> Components: Tool/diff
> Reporter: Yifan Cai
> Assignee: Yifan Cai
> Priority: Normal
>
> The spark diff job may fail to launch with kernel error "E2BIG: Argument list too long", when passing a large list of keyspace table list to compare.
> Proposing a mode to fetch all user tables from the clusters to be compared. When the mode is on, the spark job ignores the parameter "keyspace_tables".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org