新建test.sh脚本
#!/bin/bash set -e cospath=https://11111.cos.ap-beijing.myqcloud.com/emr/hive/script/20231213/iceberg-hive-runtime-1.3.1.jar downloadjar(){ wget $cospath -P /usr/local/service/hive/auxlib/ } cd ~ downloadjar