Commit 87b61b69 authored by 王志伟's avatar 王志伟
parents 9f788643 dd64398d
...@@ -4,7 +4,7 @@ PYTHON_PATH=/srv/envs/esmm/bin/python ...@@ -4,7 +4,7 @@ PYTHON_PATH=/srv/envs/esmm/bin/python
MODEL_PATH=/srv/apps/ffm-baseline_git/eda/esmm/Model_pipline MODEL_PATH=/srv/apps/ffm-baseline_git/eda/esmm/Model_pipline
LOCAL_PATH=/home/gmuser/esmm LOCAL_PATH=/home/gmuser/esmm
HDFS_PATH=hdfs://172.16.32.4:8020/strategy/esmm HDFS_PATH=hdfs://172.16.32.4:8020/strategy/esmm
CLASSPATH=hadoop classpath --glob export CLASSPATH='$(hadoop classpath --glob)'
echo "rm model file" echo "rm model file"
rm -r ${LOCAL_PATH}/model_ckpt/DeepCvrMTL/20* rm -r ${LOCAL_PATH}/model_ckpt/DeepCvrMTL/20*
......
...@@ -366,7 +366,6 @@ def get_filename(dir_in): ...@@ -366,7 +366,6 @@ def get_filename(dir_in):
if __name__ == "__main__": if __name__ == "__main__":
b = time.time() b = time.time()
a = "export CLASSPATH='$(hadoop classpath --glob)'" a = "export CLASSPATH='$(hadoop classpath --glob)'"
os.system(a) os.system(a)
print("环境") print("环境")
print(os.popen('hadoop classpath --glob').read()) print(os.popen('hadoop classpath --glob').read())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment