close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libserf-1.so.1: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Sep 23, 2013, 12:23:49 AM (12 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v1
|
v2
|
|
| 39 | 39 | ### 取得 NameNode 的 java process id |
| 40 | 40 | user@node1:~/hadoop_labs$ NN=$(jps | grep NameNode | awk '{ print $1 }') |
| | 41 | user@node1:~/hadoop_labs$ echo $NN |
| 41 | 42 | ## 查詢 NameNode 開了哪些 port |
| 42 | 43 | user@node1:~/hadoop_labs$ netstat -nap | grep $NN | grep ":" | nl |