2017년 10월 10일 화요일

hdfs get active name node

when programming out of hadoop cluster ,
if name-node is standby, connecting hdfs and any command fails.

http://{0}:{1}/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus

from stackoverflow ( http://stackoverflow.com/questions/26648214/any-command-to-get-active-namenode-for-nameservice-in-hadoop )

댓글 없음:

댓글 쓰기

eclipse rcp dialog resize

  Dialog 안에 메소드를 만든다. private void autoResize(){     getShell().layout( true, true);     final Point newSize = getShell().computeSize...