Hadoop HA + Line 綜合運用
一般而言機房不適合管理人員長時間待著,惟監控叢集是必須的,但是如果能藉由 Line 即時通知管理人員或是相關主管目前叢集就顯得格外方便。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
網路爬蟲應用非常廣泛,還能持續延伸…
- 準備事項:
- 要有LINE帳號,註冊方式請參考官網
- LINE加入 Line Notify 官方帳號好友
- 註冊 Line Notify 服務
- Hadoop 為高可用性 HA(high availability),架設步驟請參閱
- bdseHadoopNotify等相關程式,GitHub請參閱
加入 Line Notify 官方帳號好友
- 搜尋好友輸入 @LineNotify 並加入官方帳號
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- 建立可以接收訊息的群組並加入 Line Notify 官方帳號進入群內
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
註冊 Line Notify 服務
-
登入官方Line notify網站
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
登入Line帳號
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
點選右上方帳號名稱,並選擇管理登錄服務
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
選擇登錄服務
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
如果都沒有使用過相關服務,上面呈現空白很正常
-
電子信箱請使用可以收認證信為主,其餘資料依個人喜好輸入
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
確認無誤後按下登錄
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
至信箱收認證信後,點即前往服務一覽
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
屆時將出現Line Notify服務,並點選個人頁面
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
點擊發行權杖
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
如果都沒有使用過相關服務,上面呈現空白很正常
-
依個人喜好設定機器人名稱,並選擇稍早建立好的接收訊息的群組
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
請確保Line Notify 官方帳號於選擇的群組內
-
複製權杖
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
請確保權杖複製起來並儲存,不然會找不到該權杖
-
將權杖貼製bdse-conf.txt內
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
請確保貼上為第一行,並無任何註解、空白或是換行元素
-
啟動bdseHadoopNotify
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
停止NameNode或是Resourcemanager
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
顯示運行狀態
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
與Line連動,於Line同步顯示運行狀態

-
停止程式運行
- Ctrl-Z 將程式丟入背景
- 正常模式停止程序
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-9參數 為強制關閉程序
- 檢查程序是否關閉

bdseHadoopNotify相關程式
程式連結~~
檔案計有:
- bdseHadoopNotify #主要腳本程式
- bdse_linenotify.py #呼叫line的python程式
- bdse-conf.txt #放置Token(權杖)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
使用前請先看README.txt