09 2020 档案
摘要:1.打包python环境 建议使用conda conda克隆环境 conda create -n prod_env --clone base 进入conda的miniconda3/envs # 打包python环境 zip -r prod_env.zip prod_env 2.提交任务 sh脚本 e
阅读全文
摘要:假如没有配置name和data的路径。会默认放到.tmp下重启就会消失。 hdfs-site.xml <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
阅读全文
摘要:import time from gevent import monkey import gevent from gevent.pool import Pool monkey.patch_all() # 保证放在上面 import requests def f(_url: str): print('
阅读全文
摘要:https ca + key + password session = requests.Session() session.mount('https://', SSLAdapter(certfile, keyfile, password)) session.get(url) http auth认证
阅读全文

浙公网安备 33010602011771号