[
https://issues.apache.org/jira/browse/CASSANDRA-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255127#comment-13255127
]
Vijay commented on CASSANDRA-4140:
----------------------------------
Nick,
Are you sure this is a issue with this patch?
patch has
{code}
create mode 100755 tools/bin/stress
create mode 100644 tools/bin/stress.bat
create mode 100755 tools/bin/stressd
delete mode 100755 tools/stress/bin/stress
delete mode 100644 tools/stress/bin/stress.bat
delete mode 100755 tools/stress/bin/stressd
{code}
and build.xml has
{code}
<tarfileset dir="${dist.dir}" prefix="${final.name}" mode="755">
<include name="bin/*"/>
+ <include name="tools/bin/*"/>
<not>
<filename name="bin/*.in.sh" />
</not>
{code}
file list from the tar, shows the same...
vparthasarathy$ tar tvfz
/Users/vparthasarathy/Documents/workspace/cassandraT11/build/apache-cassandra-1.1.0-rc1-SNAPSHOT-bin.tar.gz
|grep -i stress
-rw-r--r-- 0 0 0 1543 Apr 16 15:25
apache-cassandra-1.1.0-rc1-SNAPSHOT/tools/bin/stress
-rw-r--r-- 0 0 0 1274 Apr 16 15:25
apache-cassandra-1.1.0-rc1-SNAPSHOT/tools/bin/stress.bat
-rw-r--r-- 0 0 0 2194 Apr 16 15:25
apache-cassandra-1.1.0-rc1-SNAPSHOT/tools/bin/stressd
-rw-r--r-- 0 0 0 15312482 Apr 16 15:25
apache-cassandra-1.1.0-rc1-SNAPSHOT/tools/lib/stress.jar
-rwxr-xr-x 0 0 0 1543 Apr 16 15:25
apache-cassandra-1.1.0-rc1-SNAPSHOT/tools/bin/stress
-rwxr-xr-x 0 0 0 1274 Apr 16 15:25
apache-cassandra-1.1.0-rc1-SNAPSHOT/tools/bin/stress.bat
-rwxr-xr-x 0 0 0 2194 Apr 16 15:25
apache-cassandra-1.1.0-rc1-SNAPSHOT/tools/bin/stressd
> Build stress classes in a location that allows tools/stress/bin/stress to
> find them
> -----------------------------------------------------------------------------------
>
> Key: CASSANDRA-4140
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4140
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 1.2
> Reporter: Nick Bailey
> Assignee: Vijay
> Priority: Trivial
> Fix For: 1.2
>
> Attachments: 0001-CASSANDRA-4140-v2.patch, 0001-CASSANDRA-4140.patch
>
>
> Right now its hard to run stress from a checkout of trunk. You need to do
> 'ant artifacts' and then run the stress tool in the generated artifacts.
> A discussion on irc came up with the proposal to just move stress to the main
> jar, but the stress/stressd bash scripts in bin/, and drop the tools
> directory altogether. It will be easier for users to find that way and will
> make running stress from a checkout much easier.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira