#!/bin/bash
timestamp=`date +%s%N`
jar_prefix=${jarPrefix}
jar_name=${jarName}
echo "Now version: <#noparse>${timestamp}</#noparse>"
curl ${runtime.downloadUrl}/<#noparse>${jar_name}</#noparse> -o <#noparse>/tmp/${jar_prefix}-${timestamp}.jar</#noparse>
hadoop fs -put <#noparse>/tmp/${jar_prefix}-${timestamp}.jar</#noparse> ${uploadPath}
