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
a1f9d359
Commit
a1f9d359
authored
7 years ago
by
Sean Busbey
Browse files
Options
Downloads
Patches
Plain Diff
[hbase098, hbase10, scripts] deprecate bindings for EOM HBase versions.
parent
2218649a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bin/ycsb
+10
-0
10 additions, 0 deletions
bin/ycsb
bin/ycsb.bat
+10
-0
10 additions, 0 deletions
bin/ycsb.bat
bin/ycsb.sh
+14
-0
14 additions, 0 deletions
bin/ycsb.sh
with
34 additions
and
0 deletions
bin/ycsb
+
10
−
0
View file @
a1f9d359
...
...
@@ -267,6 +267,16 @@ def main():
warn
(
"
The
'
couchbase
'
client has been deprecated. If you are using
"
"
Couchbase 4.0+ try using the
'
couchbase2
'
client instead.
"
)
if
binding
==
"
hbase098
"
:
warn
(
"
The
'
hbase098
'
client has been deprecated because HBase 0.98
"
"
is EOM. If you are using HBase 1.2+ try using the
'
hbase12
'
"
"
client instead.
"
)
if
binding
==
"
hbase10
"
:
warn
(
"
The
'
hbase10
'
client has been deprecated because HBase 1.0
"
"
is EOM. If you are using HBase 1.2+ try using the
'
hbase12
'
"
"
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.
bin/ycsb.bat
+
10
−
0
View file @
a1f9d359
...
...
@@ -195,6 +195,16 @@ IF NOT "%BINDING_DIR%" == "couchbase" GOTO notOldCouchbase
echo
[
WARN
]
The
'couchbase'
client
is
deprecated
.
If
you
are
using
Couchbase
4
.0
+
try
using
the
'couchbase2'
client
instead
.
:notOldCouchbase
@REM HBase 0.98 deprecation message
IF
NOT
"
%BINDING_DIR%
"
==
"hbase098"
GOTO
not098HBase
echo
[
WARN
]
The
'hbase098'
client
is
deprecated
because
HBase
0
.98
is
EOM
.
If
you
are
using
HBase
1
.2
+
try
using
the
'hbase12'
client
instead
.
:not
098
HBase
@REM HBase 1.0 deprecation message
IF
NOT
"
%BINDING_DIR%
"
==
"hbase10"
GOTO
not10HBase
echo
[
WARN
]
The
'hbase10'
client
is
deprecated
because
HBase
1
.0
is
EOM
.
If
you
are
using
HBase
1
.2
+
try
using
the
'hbase12'
client
instead
.
:not
10
HBase
@REM Get the rest of the arguments, skipping the first 2
FOR
/F
"tokens=2*"
%%G
IN
(
"
%
*"
)
DO
(
SET
YCSB_ARGS
=
%%H
...
...
This diff is collapsed.
Click to expand it.
bin/ycsb.sh
+
14
−
0
View file @
a1f9d359
...
...
@@ -231,6 +231,20 @@ if [ "${BINDING_DIR}" = "couchbase" ] ; then
Couchbase 4.0+ try using the 'couchbase2' client instead."
fi
# HBase 0.98 deprecation message
if
[
"
${
BINDING_DIR
}
"
=
"hbase098"
]
;
then
echo
"[WARN] The 'hbase098' client is deprecated because HBase 0.98
\
is EOM. If you are using HBase 1.2+ try using the 'hbase12' client
\
instead."
fi
# HBase 1.0 deprecation message
if
[
"
${
BINDING_DIR
}
"
=
"hbase10"
]
;
then
echo
"[WARN] The 'hbase10' client is deprecated because HBase 1.0
\
is EOM. If you are using HBase 1.2+ try using the 'hbase12' client
\
instead."
fi
# For Cygwin, switch paths to Windows format before running java
if
$CYGWIN
;
then
[
-n
"
$JAVA_HOME
"
]
&&
JAVA_HOME
=
$(
cygpath
--unix
"
$JAVA_HOME
"
)
...
...
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