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