You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Podkowinski (JIRA)" <ji...@apache.org> on 2018/10/10 09:28:00 UTC
[jira] [Resolved] (CASSANDRA-14561) Make token-generator Python3
compatible
[ https://issues.apache.org/jira/browse/CASSANDRA-14561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Podkowinski resolved CASSANDRA-14561.
--------------------------------------------
Resolution: Not A Problem
The {{token-generator}} script is part of cassandra-2.x and can be found in the tools/bin directory. The {{token_generator_test.py}} script is part of the dtest project. We should probably just get rid of the dtest py script, after 4.0 has been released and we stop supporting 2.x. Thanks for pointing me to it, I guess I was just assuming that {{token-generator}} is shipped with more recent versions as well, but it's not and I'm just going to close this ticket then.
> Make token-generator Python3 compatible
> ---------------------------------------
>
> Key: CASSANDRA-14561
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14561
> Project: Cassandra
> Issue Type: Improvement
> Components: Testing, Tools
> Reporter: Stefan Podkowinski
> Priority: Major
> Labels: lhf
>
> Among all scripts inĀ {{tools/bin/}}, {{token-generator}} is bit of an oddball there. While all other scripts are simple shell script wrappers around Java tools, the generator is a standalone Python script. Although it seems to be still working just fine, it's not Python3 compatible yet, which causes permanent test failures for {{token_generator_test.py}}, after we migrated to Python3.
> It would be great if we could make the script work with both Python2+3.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org