Changes between Version 3 and Version 4 of III130629/Lab3


Ignore:
Timestamp:
Jun 29, 2013, 1:08:54 PM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • III130629/Lab3

    v3 v4  
    3535}}}
    3636
     37 * 觀察開了哪些 port,綁在哪個 IP 位址
     38{{{
     39### 取得 NameNode 的 java process id
     40user@node2:~/hadoop_labs$ NN=$(jps | grep NameNode | awk '{ print $1 }')
     41## 查詢 NameNode 開了哪些 port
     42user@node2:~/hadoop_labs$ netstat -nap | grep $NN | grep ":" | nl
     43}}}
     44
     45 <問題 2> 當您下 netstat -nap | grep java 指令之後, NameNode 開了幾個 process
     46{{{
     47#!text
     48    (A) 1
     49    (B) 2
     50    (C) 3
     51    (D) 4
     52}}}
     53