Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adnan Ahmad
YCSB
Commits
87a63196
Commit
87a63196
authored
9 years ago
by
Andy Kruth
Browse files
Options
Downloads
Patches
Plain Diff
[cassandra] add deprecation message to bin/ycsb
parent
7f6ed9f5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/ycsb
+7
-0
7 additions, 0 deletions
bin/ycsb
with
7 additions
and
0 deletions
bin/ycsb
+
7
−
0
View file @
87a63196
...
...
@@ -205,6 +205,13 @@ def main():
# Classpath set up
binding
=
args
.
database
.
split
(
"
-
"
)[
0
]
# Deprecation message for the entire cassandra-binding
if
binding
==
"
cassandra
"
:
warn
(
"
The
'
cassandra-7
'
,
'
cassandra-8
'
,
'
cassandra-10
'
, and
"
"
cassandra-cql
'
clients are deprecated. If you are using
"
"
Cassandra 2.X try using the
'
cassandra2-cql
'
client instead.
"
)
if
is_distribution
():
db_dir
=
os
.
path
.
join
(
ycsb_home
,
binding
+
"
-binding
"
)
# include top-level conf for when we're a binding-specific artifact.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment