Changes between Version 4 and Version 5 of NTU131002/Lab4
- Timestamp:
- Oct 3, 2013, 2:57:23 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NTU131002/Lab4
v4 v5 30 30 ~/hadoop_labs# NN=$(jps | grep NameNode | awk '{ print $1 }') ; echo $NN 31 31 ## 查詢 NameNode 開了哪些 port 32 ~/hadoop_labs# netstat -nap | grep $NN | grep ":" | nl32 ~/hadoop_labs# netstat -nap | grep $NN | grep ":" | grep LISTEN | nl 33 33 }}} 34 34 … … 74 74 }}} 75 75 76 <問題 2> 當您下 netstat -nap | grep $NN | grep ":" | nl 指令之後, 觀察到 NameNode 開了幾個連線埠(Port)呢?76 <問題 2> 當您下 netstat -nap | grep $NN | grep ":" | grep LISTEN | nl 指令之後, 觀察到 NameNode 開了幾個連線埠(Port)呢? 77 77 {{{ 78 78 #!text