<?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 Re: [Kudu][NTP] Kudu use raft to ensure consensus, what's the responsibility of NTP in KUDU? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/63249#M72658</link>
    <description>&lt;P&gt;NTP synchronization (and specifically enforcing a maximum clock error on each node) helps guarantee Kudu's transaction semantics.&amp;nbsp;&lt;A href="http://kudu.apache.org/docs/transaction_semantics.html" target="_self"&gt;This page&lt;/A&gt;&amp;nbsp;has more details, as does the&amp;nbsp;&lt;A href="http://kudu.apache.org/kudu.pdf" target="_self"&gt;Kudu design paper&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The maximum clock error is an NTP concept, and refers to the upper bound of time that the local machine's clock may deviate from whatever NTP clock it's synchronized with. Machines with well-configured NTP installations should guarantee some sort of stable maximum clock error that you can use for Kudu's max_clock_sync_error_usec configuration flag. Unfortunately I don't understand Kudu transactions well enough to explain its effect on Kudu transaction semantics.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2018 22:16:19 GMT</pubDate>
    <dc:creator>adar</dc:creator>
    <dc:date>2018-01-02T22:16:19Z</dc:date>
    <item>
      <title>[Kudu][NTP] Kudu use raft to ensure consensus, what's the responsibility of NTP in KUDU?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/62800#M72657</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kudu now use raft to ensure consensus ,&amp;nbsp; why it still need NTP (as far as I know, the raft features don't need NTP)? What's the responsibility of NTP in KUDU? It is used to ensure the scan consistency?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our tservers and masters always crash due to ntp unsync, and I change the &lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;max_clock_sync_error_usec&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;&lt;/SPAN&gt;to &lt;EM&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN&gt;0000000&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;now, will this influence the cluster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also saw the commit about &lt;A href="https://issues.apache.org/jira/browse/KUDU-1578" target="_self"&gt;KUDU-1578&lt;/A&gt;, it said:&lt;/P&gt;&lt;PRE&gt;In the case that the clock is out of sync for a significantly long time,
the max error will grow large enough to eclipse the 10-second default,
at which point it will still crash as before. But, if NTP is properly
restored within a few minutes, the server should remain operational.&lt;/PRE&gt;&lt;P&gt;What's the meaning of &lt;EM&gt;&lt;STRONG&gt;max error&lt;/STRONG&gt;&lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:38:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/62800#M72657</guid>
      <dc:creator>tony12</dc:creator>
      <dc:date>2022-09-16T12:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: [Kudu][NTP] Kudu use raft to ensure consensus, what's the responsibility of NTP in KUDU?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/63249#M72658</link>
      <description>&lt;P&gt;NTP synchronization (and specifically enforcing a maximum clock error on each node) helps guarantee Kudu's transaction semantics.&amp;nbsp;&lt;A href="http://kudu.apache.org/docs/transaction_semantics.html" target="_self"&gt;This page&lt;/A&gt;&amp;nbsp;has more details, as does the&amp;nbsp;&lt;A href="http://kudu.apache.org/kudu.pdf" target="_self"&gt;Kudu design paper&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The maximum clock error is an NTP concept, and refers to the upper bound of time that the local machine's clock may deviate from whatever NTP clock it's synchronized with. Machines with well-configured NTP installations should guarantee some sort of stable maximum clock error that you can use for Kudu's max_clock_sync_error_usec configuration flag. Unfortunately I don't understand Kudu transactions well enough to explain its effect on Kudu transaction semantics.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 22:16:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/63249#M72658</guid>
      <dc:creator>adar</dc:creator>
      <dc:date>2018-01-02T22:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: [Kudu][NTP] Kudu use raft to ensure consensus, what's the responsibility of NTP in KUDU?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/63253#M72659</link>
      <description>&lt;P&gt;Can I brief it as: The NTP is used to make the MVCC and&amp;nbsp;&lt;SPAN&gt;READ_AT_SNAPSHOT scan accurately. If the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;max_clock_sync_error_usec &lt;/STRONG&gt;&lt;/EM&gt;is large will result in the scan deviation is more larger too, and&amp;nbsp;vice versa?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 01:51:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/63253#M72659</guid>
      <dc:creator>tony12</dc:creator>
      <dc:date>2018-01-03T01:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: [Kudu][NTP] Kudu use raft to ensure consensus, what's the responsibility of NTP in KUDU?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/63284#M72660</link>
      <description>&lt;P&gt;Kudu's transaction system "tag's" mutations with a timestamp that has a wall-time component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Beyond powering distributed consistency semantics (i.e. in between different tablets, each running raft internally) these timestamps can be used to run point-in-time scans, if the system is setup appropriately. As part of the algorithm, server's send the timestamps to each other all the time, either directly or through clients, and then use those to update their own clocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the server's clock's are out-of-sync by a lot, then the point-in-time scans lose meaning, but moreover, other weird things might happen like a server crashing and coming back with lower wall clock time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're working on an alternative that will avoid users having to deal with this problem, but in the mean time I'd suggest setting ntp properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One possible layout that we've seen work in the past is to have a couple of ntp time masters close or within the kudu cluster and then have the servers be ntp peers to each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 23:24:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/63284#M72660</guid>
      <dc:creator>dalves</dc:creator>
      <dc:date>2018-01-03T23:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: [Kudu][NTP] Kudu use raft to ensure consensus, what's the responsibility of NTP in KUDU?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/63287#M72661</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/25336"&gt;@dalves&lt;/a&gt;, Thanks for your quick reply.</description>
      <pubDate>Thu, 04 Jan 2018 01:23:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kudu-NTP-Kudu-use-raft-to-ensure-consensus-what-s-the/m-p/63287#M72661</guid>
      <dc:creator>tony12</dc:creator>
      <dc:date>2018-01-04T01:23:33Z</dc:date>
    </item>
  </channel>
</rss>

