Skip to content

Commit

Permalink
Meituan HDFS Access Without Proxy for Kerberos Authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
huangxu17 committed Apr 8, 2024
1 parent f875f10 commit de2d61d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deploy/scripts/sgx/run_trainer_worker_sgx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ fi
echo $PROXY_LOCAL_PORT > /pod-data/proxy_local_port

cp /app/sgx/gramine/CI-Examples/tensorflow_io.py ./
unset HTTPS_PROXY https_proxy http_proxy ftp_proxy
source /app/deploy/scripts/hdfs_common.sh || true
source /app/deploy/scripts/pre_start_hook.sh || true
source /app/deploy/scripts/env_to_args.sh
Expand All @@ -48,8 +49,6 @@ cp /app/sgx/gramine/CI-Examples/tensorflow_io.py /gramine/follower/
cp /app/sgx/gramine/CI-Examples/tensorflow_io.py /gramine/leader/
source /app/deploy/scripts/sgx/enclave_env.sh worker

unset HTTPS_PROXY https_proxy http_proxy ftp_proxy

mode=$(normalize_env_to_args "--mode" "$MODE")
sparse_estimator=$(normalize_env_to_args "--sparse-estimator" "$SPARSE_ESTIMATOR")
batch_size=$(normalize_env_to_args "--batch-size" "$BATCH_SIZE")
Expand Down

0 comments on commit de2d61d

Please sign in to comment.