背景:最近準(zhǔn)備在自己的虛擬機(jī)上搭一個(gè)cdh的集群,在啟動(dòng)cloudera-scm-agent失敗
排查思路:
- 進(jìn)去log日志查看報(bào)錯(cuò)信息:
/usr/bin/env: python2.7: 沒有那個(gè)文件或目錄 - 參考技術(shù)鏈接:https://blog.csdn.net/qq_34180635/article/details/86078137
- 問題原因 :python 版本未匹配導(dǎo)致不兼容問題
- 按照鏈接升級(jí)python版本未2.7,問題解決