Changes between Version 1 and Version 2 of Hinet130923/Lab2


Ignore:
Timestamp:
Sep 23, 2013, 12:23:49 AM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Hinet130923/Lab2

    v1 v2  
    3939### 取得 NameNode 的 java process id
    4040user@node1:~/hadoop_labs$ NN=$(jps | grep NameNode | awk '{ print $1 }')
     41user@node1:~/hadoop_labs$ echo $NN
    4142## 查詢 NameNode 開了哪些 port
    4243user@node1:~/hadoop_labs$ netstat -nap | grep $NN | grep ":" | nl