Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Is their any way to keep name node in debug node without restarting namenode?

Is their any way to keep name node in debug node without restarting namenode?

New Contributor

Is their any way to keep name node in debug node without restarting namenode?

2 REPLIES 2

Re: Is their any way to keep name node in debug node without restarting namenode?

Highlighted

Re: Is their any way to keep name node in debug node without restarting namenode?

@Balaji Badarla

You could use the below command.

hadoop daemonlog -setlevel hdpnode1.world.com:50070 org.apache.hadoop.hdfs.server.namenode.NameNode

DEBUG Connecting to http://hdpnode1.world.com:50070/logLevel?log=org.apache.hadoop.hdfs.server.namenode.NameNode&level=D... Submitted Log Name: org.apache.hadoop.hdfs.server.namenode.NameNode Log Class: org.apache.commons.logging.impl.Log4JLogger Submitted Level: DEBUG Setting Level to DEBUG ... Effective level: DEBUG

Hope this helps.