commit | d5c217ab34ef46b1533ef78805559f2a2048d447 | [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 | efab2d5593b88d78357031e96e7ca8bbdd48457c | |
parent | b2bfb5287787d2640ac77539a3cbee23c0f763c4 [diff] [blame] |
add debugging utility scripts
diff --git a/hivesterix-dist/src/main/resources/scripts/copylog.sh b/hivesterix-dist/src/main/resources/scripts/copylog.sh new file mode 100644 index 0000000..7767b2d --- /dev/null +++ b/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}