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.

Name Node Pause duration

Solved Go to solution
Highlighted

Name Node Pause duration

Explorer

Hi,

We are repeatedly getting alerts for NN Pause duration (The health test result for NAME_NODE_PAUSE_DURATION has become bad: Average time spent paused was 44.5 second(s) (74.25%) per minute over the previous 5 minute(s). Critical threshold: 60.00%.) 

CM / CDH - 5.16.2

Current NN Heap Size - 4GB

Block Used - 5TB

 

Request some assistance in fixing this.

 

Thanks 

Amn

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Name Node Pause duration

Expert Contributor

Hi @Amn_468 

Please configure it in

 

CM > HDFS > Configuration > 
Java Heap Size of NameNode in Bytes 
Enter a value per requirement
Save and Restart

 

View solution in original post

3 REPLIES 3
Highlighted

Re: Name Node Pause duration

Expert Contributor

You would need to tune your heap in accordance with the number of files. The tuning guideline is in document https://docs.cloudera.com/HDPDocuments/HDP2/HDP-2.6.5/bk_command-line-installation/content/configuri...

 

If you would like to get count of files, You may run hdfs dfs -count /

 

 

Highlighted

Re: Name Node Pause duration

Explorer

Hi @venkatsambath 

 

Appericate your help, would like some assistance in configuring NN heap size, would like to know what would be the best way to move forward:

  1. Increase NN heap via Cloudera Manager (HDFS>Config> NN>Heap (HA Cluster)) OR
  2. Changing it via  /etc/hadoop/conf/hadoop-env.sh (HADOOP_NAMENODE_OPTS)

Kindly Advise

 

Regards

Amn

 

Re: Name Node Pause duration

Expert Contributor

Hi @Amn_468 

Please configure it in

 

CM > HDFS > Configuration > 
Java Heap Size of NameNode in Bytes 
Enter a value per requirement
Save and Restart

 

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here