Skip to content

Instantly share code, notes, and snippets.

@atupal
Created September 5, 2013 02:06
Show Gist options
  • Save atupal/6445220 to your computer and use it in GitHub Desktop.
Save atupal/6445220 to your computer and use it in GitHub Desktop.
thrift server generate sh
ls | sed 's/hbase-\(.*\)\.cfg/\1/p' -n | awk -v cnt=9091 '{printf("(%s|localhost:%s),", $1, cnt); cnt++;}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment