Skip to content

Commit

Permalink
bug 828468 - add date and OOID print before trying to connect to hbase
Browse files Browse the repository at this point in the history
  • Loading branch information
selenamarie authored and lonnen committed Jan 10, 2013
1 parent 7804a7c commit 1496281
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/crons/cron_submitter.sh
Expand Up @@ -27,8 +27,10 @@ function submit_dump() {
. /etc/socorro/socorro-monitor.conf
OOID=$1

python ${APPDIR}/socorro/storage/hbaseClient.py -h $hbaseHost get_json $OOID > /tmp/$OOID.json
python ${APPDIR}/socorro/storage/hbaseClient.py -h $hbaseHost get_dump $OOID > /tmp/$OOID.dump
date
echo $OOID
python ${APPDIR}/socorro/external/hbase/hbase_client.py -h $hbaseHost get_json $OOID > /tmp/$OOID.json
python ${APPDIR}/socorro/external/hbase/hbase_client.py -h $hbaseHost get_dump $OOID > /tmp/$OOID.dump
python ${APPDIR}/socorro/collector/submitter.py -j /tmp/$OOID.json -d /tmp/$OOID.dump -u $CRASH_REPORT_URL
rm -f /tmp/$OOID.json /tmp/$OOID.dump
}
Expand Down

0 comments on commit 1496281

Please sign in to comment.