|
@@ -92,5 +92,10 @@ if status == 0:
|
|
print("%s写入完成"%hbasetable)
|
|
print("%s写入完成"%hbasetable)
|
|
else:
|
|
else:
|
|
print("检查%s导出文件数据,可能不是最新数据"%file)
|
|
print("检查%s导出文件数据,可能不是最新数据"%file)
|
|
|
|
+ print("数据写入完成")
|
|
|
|
+ os.system("apt-get update&&apt -y install curl")
|
|
|
|
+ os.system("curl http://data-platform-3:80/mng/clear_cache?secret=A123456")
|
|
|
|
+ os.system("curl http://sagacloud-object-service:80/object/sync/AllData?projectId=Pj3301100002")
|
|
|
|
+ print("数据刷新完成")
|
|
else:
|
|
else:
|
|
print("执行java程序失败")
|
|
print("执行java程序失败")
|