<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Namode last Checkoint alert in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195627#M157683</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking at  checkpoint alert in NN ha environment. Where i have last checkpoint was completed 22 hours ago.&lt;/P&gt;&lt;P&gt;I'm doing checkpoint manually by command line. how can i do it automatically and how can we ignore these alerts about checkpoint in UI.&lt;/P&gt;&lt;P&gt;&lt;A href="http://10.157.255.97:8080/#"&gt;Last Checkpoint: [22 hours, 19 minutes, 45507 transactions]&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Mar 2018 17:31:06 GMT</pubDate>
    <dc:creator>vinayk</dc:creator>
    <dc:date>2018-03-20T17:31:06Z</dc:date>
    <item>
      <title>Namode last Checkoint alert</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195627#M157683</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking at  checkpoint alert in NN ha environment. Where i have last checkpoint was completed 22 hours ago.&lt;/P&gt;&lt;P&gt;I'm doing checkpoint manually by command line. how can i do it automatically and how can we ignore these alerts about checkpoint in UI.&lt;/P&gt;&lt;P&gt;&lt;A href="http://10.157.255.97:8080/#"&gt;Last Checkpoint: [22 hours, 19 minutes, 45507 transactions]&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 17:31:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195627#M157683</guid>
      <dc:creator>vinayk</dc:creator>
      <dc:date>2018-03-20T17:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Namode last Checkoint alert</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195628#M157684</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69412/testtest12p.html" nodeid="69412"&gt;@Vinay K&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ambari basically relies on the NameNode JMX call to find out the "LastCheckpointTime"&lt;/P&gt;&lt;P&gt;Something like this:   &lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_checkpoint_time.py#L172" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_checkpoint_time.py#L172&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;# curl "http://hdfcluster1.example.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem" | grep 'LastCheckpointTime'&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;For example if the above JMX call returns the epoch time as '1521523640579'  then please convert it to the human readable time to find out  what is correct time when the LastCheckPoint happened on nameNode.&lt;/P&gt;&lt;PRE&gt;# date -d @1521523640&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;NOTE-1:  i&lt;/STRONG&gt;f your Ambari Cluster Hosts are not time sync then it might happen that the last checkpoint computation might go wrong.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE-2: &lt;/STRONG&gt;Every cluster node (including Ambari Server Host) should be able to resolve the NameNode JMX url.  Else if the call will be made from any particular host where the alert is executed then it might not be able to make the jmx call to NN and it might give unknown results.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 18:04:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195628#M157684</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-20T18:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Namode last Checkoint alert</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195629#M157685</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Below is the output which i found&lt;/P&gt;&lt;P&gt;[root@slave0 centos]#curl "http://slave1.dl.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem" | grep 'LastCheckpointTime' &lt;/P&gt;&lt;P&gt;  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1427    0  1427    0     0   183k      0 --:--:-- --:--:-- --:--:--  199k
    "LastCheckpointTime" : 1521460953000, &lt;/P&gt;&lt;P&gt;[root@slave0 centos]# date -d @1521460953000&lt;/P&gt;&lt;P&gt;Fri Mar  7 00:00:00 IST 50183&lt;/P&gt;&lt;P&gt;It may be automatically checkpoint is not happening, While time is sync between servers.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 18:12:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195629#M157685</guid>
      <dc:creator>vinayk</dc:creator>
      <dc:date>2018-03-20T18:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Namode last Checkoint alert</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195630#M157686</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69412/testtest12p.html" nodeid="69412"&gt;@Vinay K&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In your epoch time command please remove 3 last digith to get accurate date:&lt;/P&gt;&lt;PRE&gt;# date -d @1521460953
Mon Mar 19 12:02:33 UTC 2018
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 18:38:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195630#M157686</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-20T18:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Namode last Checkoint alert</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195631#M157687</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69412/testtest12p.html" nodeid="69412"&gt;@Vinay K&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So if your NameNode shows the LastCheckpoint time is around "Mon Mar 19 12:02:33 UTC 2018"  then ambari might be showing right alert "Last Checkpoint: [22 hours, 19 minutes, 45507 transactions]"&lt;/P&gt;&lt;P&gt;So  you should check from NameNode side if the check pointing is not happening on regular interval. Also please check the following property value and the NameNoide log to see any check pointing related warning / errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DL&gt;&lt;DT&gt;dfs.namenode.checkpoint.period&lt;/DT&gt;&lt;DD&gt;
&lt;P&gt;Specifies the number of seconds between two periodic checkpoints.&lt;/P&gt;&lt;/DD&gt;&lt;/DL&gt;</description>
      <pubDate>Tue, 20 Mar 2018 18:41:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195631#M157687</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-20T18:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Namode last Checkoint alert</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195632#M157688</link>
      <description>&lt;P&gt;It's working now. Check pointing period is 6-7 hours. During that period, NN was down.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 13:20:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Namode-last-Checkoint-alert/m-p/195632#M157688</guid>
      <dc:creator>vinayk</dc:creator>
      <dc:date>2018-03-22T13:20:21Z</dc:date>
    </item>
  </channel>
</rss>

