[ https://issues.apache.org/jira/browse/CASSANDRA-14425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457714#comment-16457714
]
ASF GitHub Bot commented on CASSANDRA-14425:
--------------------------------------------
GitHub user alexott opened a pull request:
https://github.com/apache/cassandra/pull/220
Fix for CASSANDRA-14425
Fix affects 2 files:
- `SettingsCommandUser.java` where there is a check, is the file exists
- `Stress.java` where error handling happens. The main reason for this is that when file
is loaded from URI, then the caught exception is wrapped into generic `IOError`
exception that isn't handled explicitly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alexott/cassandra CASSANDRA-14425
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cassandra/pull/220.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #220
----
commit 35095c04ac6951f9e2c9d99981580f040c7a9f37
Author: Alex Ott <alexott@...>
Date: 2018-04-28T17:35:17Z
Fix for CASSANDRA-14425
Fix affects 2 parts:
- `SettingsCommandUser.java` where there is a check, is the file exists
- `Stress.java` where error handling happens. The main reason for this is that when file
is loaded from URI, then the caught exception is wrapped into generic `IOError`
exception that isn't handled explicitly.
----
> cassandra-stress doesn't report correctly when profile file is not found
> ------------------------------------------------------------------------
>
> Key: CASSANDRA-14425
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14425
> Project: Cassandra
> Issue Type: Bug
> Components: Stress
> Reporter: Alex Ott
> Priority: Minor
>
> Right now, when there is an error in the profile file name cassandra-stress reports very
not understandable error "URI is not absolute" instead of reporting something like "File doesn't
exist" or something like.
> It would be very helpful to improve user experience by reporting correct reason for error.
--
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
|