This repository was archived by the owner on Oct 9, 2018. It is now read-only.
Description Right now, the cluster monitor page is sufficient, but not awesome.
Suggestion... have some better code snippets to handle upload, download and connect.
I know the eventual route is to go auto gist / s3 / whatever. Maybe this is a temp solution?
# remember that gregg is the worst at bash!
export TELEMETRYCLUSTER=ec2-54-201-192-120.us-west-2.compute.amazonaws.com;
export TELDIR=~ /telemetry-analysis-files
mkdir -p " ${TELDIR} "
echo -n " ${TELEMETRYCLUSTER} " > ~ /.telemetry-cluster
echo -n " ${TELDIR} " > ~ /.telemetry-dir
# connect
tel-connect () { ssh -i my-private-key -L 4040:localhost:4040 -L 8888:localhost:8888 hadoop@` cat ~ /.telemetry-cluster` ; }
# scp down
tel-download () { scp -i my-private-key hadoop@$( cat ~ /.telemetry-cluster) :~ /analyses/* " $( cat ~ /.telemetry-dir) " ; }
# scp up
tel-upload () { scp -i my-private-key " $( cat ~ /.telemetry-dir) " /* hadoop@$( cat ~ /.telemetry-cluster) :~ /analyses/ ; }
export -f tel-connect
export -f tel-upload
export -f tel-download
Reactions are currently unavailable
Right now, the
cluster monitorpage is sufficient, but not awesome.Suggestion... have some better code snippets to handle upload, download and connect.
I know the eventual route is to go auto gist / s3 / whatever. Maybe this is a temp solution?