commit | f4fa2c7eb64939d1faa07d2b35e9047957da187b | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@gmail.com> | Thu Jul 11 02:50:28 2013 -0700 |
committer | buyingyi <buyingyi@gmail.com> | Thu Jul 11 02:50:28 2013 -0700 |
tree | 7caa1d6cea9fa94a78d98aa8abfeca9fca2e28d5 | |
parent | 8027a49a129e2f27e8bd0de660995dc5044e8aa5 [diff] [blame] |
add debugging utility scripts
diff --git a/hivesterix/hivesterix-dist/src/main/resources/scripts/copylog.sh b/hivesterix/hivesterix-dist/src/main/resources/scripts/copylog.sh new file mode 100644 index 0000000..7767b2d --- /dev/null +++ b/hivesterix/hivesterix-dist/src/main/resources/scripts/copylog.sh
@@ -0,0 +1,7 @@ +. conf/cluster.properties + +NODEID=`hostname | cut -d '.' -f 1` +#echo $NODEID + +#echo "rsync ${NCLOGS_DIR}/${NODEID}.log ${1}:${2}" +rsync ${NCLOGS_DIR}/${NODEID}.log ${1}:${2}