![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
syc0616
这个作者很懒,什么都没留下…
展开
-
linux 一些命令
1.CentOS使用yum指令显示"ImportError: No module named site"错误。 1.打开终端 2.输入指令unset PYTHONPATH unset PYTHONHOME 2.解决Shell脚本$'\r': command not found问题 Linux下,执行yum install dos2unix 安装插件, 然后dos2unix [file]对脚本进行转码。再执行shell命令就好了 ...原创 2020-12-31 15:34:48 · 199 阅读 · 0 评论 -
hadoop一些命令
grep ping6 | awk '{print $1}' | xargs kill -9 hdfs haadmin -DFSHAAdmin -failover nn2 nn1 hadoop dfsadmin -safemode leave原创 2020-12-09 19:03:56 · 118 阅读 · 0 评论 -
Linux命令
theme_info=theme_path.txt `rm -f /home/hadoop/oozie/run/apps/bin/$theme_info` `hdfs dfs -cat /runstore/objectpp/theme_merge_history | head -1 >> $theme_info` themepath=`sed 's/info/info\/info-*-OBJ003-RWA_OBJECT_Z002_9994*/g' $theme_info` echo $them.原创 2020-10-15 15:02:38 · 68 阅读 · 0 评论