diff --git a/bin/ycsb b/bin/ycsb index ad80d53facb37b59eeb9b280c992e7be69dca3f0..d3d95f7cbf07838a9aed3d08cbeff0fd2e7547d3 100755 --- a/bin/ycsb +++ b/bin/ycsb @@ -259,6 +259,11 @@ def main(): "be removed in a future YCSB release.") binding = "accumulo1.6" + if binding == "accumulo1.6": + warn("The 'accumulo1.6' client has been deprecated because Accumulo 1.6 " + "is EOM. If you are using Accumulo 1.7+ try using the 'accumulo1.7' " + "client instead.") + if binding == "cassandra2": warn("The 'cassandra2-cql' client has been deprecated. It has been " "renamed to simply 'cassandra-cql'. This alias will be removed" diff --git a/bin/ycsb.bat b/bin/ycsb.bat index 747e707a69156a67a325552e1b50fe57ed4016f0..ebf76e8e71b0042f47a3cd02876f57f88418b10b 100644 --- a/bin/ycsb.bat +++ b/bin/ycsb.bat @@ -123,6 +123,11 @@ echo [WARN] The 'accumulo' client has been deprecated in favor of version specif SET BINDING_DIR=accumulo1.6 :notAliasAccumulo +@REM Accumulo 1.6 deprecation message +IF NOT "%BINDING_DIR%" == "accumulo1.6" GOTO notAccumulo16 +echo [WARN] The 'accumulo1.6' client has been deprecated because Accumulo 1.6 is EOM. If you are using Accumulo 1.7+ try using the 'accumulo1.7' client instead. +:notAccumulo16 + @REM Cassandra2 deprecation message IF NOT "%BINDING_DIR%" == "cassandra2" GOTO notAliasCassandra echo [WARN] The 'cassandra2-cql' client has been deprecated. It has been renamed to simply 'cassandra-cql'. This alias will be removed in the next YCSB release. diff --git a/bin/ycsb.sh b/bin/ycsb.sh index 4da4062e48c20d1b080943fb0f5263aae4722b6a..ab899fc06f39f24b5d64c539d9df968cb663bc76 100755 --- a/bin/ycsb.sh +++ b/bin/ycsb.sh @@ -142,6 +142,14 @@ be removed in a future YCSB release." BINDING_DIR="accumulo1.6" fi +# Accumulo 1.6 deprecation message +if [ "${BINDING_DIR}" = "accumulo1.6" ] ; then + echo "[WARN] The 'accumulo' client has been deprecated because Accumulo 1.6 \ +is EOM. If you are using Accumulo 1.7+ try using the 'accumulo1.7' client \ +instead." +fi + + # Cassandra2 deprecation message if [ "${BINDING_DIR}" = "cassandra2" ] ; then echo "[WARN] The 'cassandra2-cql' client has been deprecated. It has been \