hadoop distcp hdfs://源集群活躍NameNodeIP:8020/文件目錄 hdfs://目標集群活躍NameNodeIP:8020/文件目錄
mkdir megahitcd megahit/git clone https://github.com/voutcn/megahit.git .brew install g...
MemSQL 從5.8升級到6.5升級需要準備兩個安裝包:memsql-ops-6.5.8.tar.gzmemsql_amd64.tar.gz升級前需要先備份數(shù)據(jù)庫數(shù)據(jù),參考...
公司用為保證數(shù)據(jù)安全,需要在公司內(nèi)網(wǎng)環(huán)境下登陸生產(chǎn)/開發(fā)環(huán)境 但是日常的上網(wǎng)谷歌等行為又需要連接外網(wǎng)進行 在資源有限的情況下,可以安裝一個USB無線網(wǎng)卡,通過設置路由,解決一...
判斷是否存在 hdfs dfs -test -e /tmp 判斷是否目錄 hdfs dfs -test -d /tmp 判斷是否文件 hdfs dfs -test -f /t...
將txt文件數(shù)據(jù)用python 包畫成箱型圖 import matplotlib.pyplot as pltimport pandas as pdfrom matplotli...
查看block數(shù)量,文件數(shù)量等集群信息 hadoop fsck / block 元數(shù)據(jù)大小計算 Object size estimate (bytes) typical si...
# 因為CM出現(xiàn)故障,需要重啟CM服務,重啟過程中,發(fā)現(xiàn)重啟cloudera-scm-agent 失敗,查找原因后發(fā)現(xiàn)是重啟用戶和權限不符合預期。 # 最終解決方案:用非ro...