refactor(executor-manager): 使用sync同款jar更新方式
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#!/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}
|
||||
Reference in New Issue
Block a user