mirror of https://github.com/apache/cassandra
ninja: replace addtocmstool with cmsofflinetool in rpm/deb packages
Follow up to CASSANDRA-19151
This commit is contained in:
parent
7623a59b31
commit
6e46e39df8
|
|
@ -6,5 +6,5 @@ tools/bin/sstablemetadata usr/bin
|
||||||
tools/bin/sstableofflinerelevel usr/bin
|
tools/bin/sstableofflinerelevel usr/bin
|
||||||
tools/bin/sstablerepairedset usr/bin
|
tools/bin/sstablerepairedset usr/bin
|
||||||
tools/bin/sstablesplit usr/bin
|
tools/bin/sstablesplit usr/bin
|
||||||
tools/bin/addtocmstool usr/bin
|
tools/bin/cmsofflinetool usr/bin
|
||||||
tools/bin/offlineclustermetadatadump usr/bin
|
tools/bin/offlineclustermetadatadump usr/bin
|
||||||
|
|
@ -214,7 +214,7 @@ This package contains extra tools for working with Cassandra clusters.
|
||||||
%attr(755,root,root) %{_bindir}/fqltool
|
%attr(755,root,root) %{_bindir}/fqltool
|
||||||
%attr(755,root,root) %{_bindir}/generatetokens
|
%attr(755,root,root) %{_bindir}/generatetokens
|
||||||
%attr(755,root,root) %{_bindir}/hash_password
|
%attr(755,root,root) %{_bindir}/hash_password
|
||||||
%attr(755,root,root) %{_bindir}/addtocmstool
|
%attr(755,root,root) %{_bindir}/cmsofflinetool
|
||||||
%attr(755,root,root) %{_bindir}/offlineclustermetadatadump
|
%attr(755,root,root) %{_bindir}/offlineclustermetadatadump
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,10 +42,7 @@ public class TransformClusterMetadataHelper
|
||||||
public static void main(String ... args) throws IOException
|
public static void main(String ... args) throws IOException
|
||||||
{
|
{
|
||||||
if (args.length < 2)
|
if (args.length < 2)
|
||||||
{
|
|
||||||
System.err.println("Usage: addtocmstool <path to dumped metadata> <ip of host to make CMS> [<serialization version>]");
|
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
}
|
|
||||||
String sourceFile = args[0];
|
String sourceFile = args[0];
|
||||||
Version serializationVersion = NodeVersion.CURRENT.serializationVersion();
|
Version serializationVersion = NodeVersion.CURRENT.serializationVersion();
|
||||||
if (args.length > 2)
|
if (args.length > 2)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue