<?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: Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tabl in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57805#M65296</link>
    <description>&lt;P&gt;In Kudu, doing a delete like this is basically like inserting as many rows as you are deleting, so this might not be what you want to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In any case, we'd need a lot more logs from nod7.exp to understand what's going on. My guess is that Kudu doesn't have enough memory, sometimes CM can configure it to use 1GB which is below the safe minimum.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2017 15:26:22 GMT</pubDate>
    <dc:creator>J-D</dc:creator>
    <dc:date>2017-07-21T15:26:22Z</dc:date>
    <item>
      <title>Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tablet..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57794#M65295</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;When I run &lt;STRONG&gt;delete&lt;/STRONG&gt; &lt;STRONG&gt;from&lt;/STRONG&gt; kudu table, after deleting some rows,&amp;nbsp;it return an error, and it continues deleting, but not all the rows :&lt;/P&gt;&lt;PRE&gt;&amp;gt; select count(*) from test2p;&lt;BR /&gt;+----------+&lt;BR /&gt;| count(*) |&lt;BR /&gt;+----------+&lt;BR /&gt;| 50000000 |&lt;BR /&gt;+----------+&lt;BR /&gt;&lt;BR /&gt;&amp;gt; delete from test2p;&lt;BR /&gt;WARNINGS: Kudu error(s) reported, first error: Timed out: Failed to write batch &lt;BR /&gt;of 3759 ops to tablet 871c8123905c4e529a233c18751f8154 after 1 attempt(s): &lt;BR /&gt;Failed to write to server: fb8ca29738c541hc80ed2da98a6e6499 (nod7.exp:7050): &lt;BR /&gt;Write RPC to X.X.X.X:7050 timed out after 179.998s (SENT)&lt;BR /&gt;&lt;BR /&gt;Error in Kudu table 'impala::kudutest.test2p': Timed out: Failed to write &lt;BR /&gt;batch of 3759 ops to tablet 871c8123905c4e529a233c18751f8154 after 1 attempt(s)&lt;BR /&gt;: Failed to write to server: fb8ca29738c541hc80ed2da98a6e6499 (nod7.exp:7050): &lt;BR /&gt;Write RPC to X.X.X.X:7050 timed out after 179.998s (SENT) (1 of 3273&lt;BR /&gt;similar)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; select count(*) from test2p;&lt;BR /&gt;+----------+&lt;BR /&gt;| count(*) |&lt;BR /&gt;+----------+&lt;BR /&gt;| 38591543 |&lt;BR /&gt;+----------+&lt;BR /&gt;&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;&amp;gt; select count(*) from test2p;&lt;BR /&gt;+----------+&lt;BR /&gt;| count(*) |&lt;BR /&gt;+----------+&lt;BR /&gt;| 35220774 |&lt;BR /&gt;+----------+&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;In ,pd7.exp log file (/var/log/kudu/kudu-tserver.WARNING), I have this error message:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Metrics: {"negotiator.queue_time_us":211,"thread_start_us":193,"threads_started":1}
W0721 12:05:45.431758 28220 negotiation.cc:303] Failed RPC negotiation. Trace:
0721 12:05:45.427384 (+     0us) reactor.cc:446] Submitting negotiation task for server connection from X.X.X.X:34727
0721 12:05:45.427608 (+   224us) server_negotiation.cc:167] Beginning negotiation
0721 12:05:45.427609 (+     1us) server_negotiation.cc:355] Waiting for connection header
0721 12:05:45.428640 (+  1031us) server_negotiation.cc:363] Connection header received
0721 12:05:45.429483 (+   843us) server_negotiation.cc:319] Received NEGOTIATE NegotiatePB request
0721 12:05:45.429484 (+     1us) server_negotiation.cc:404] Received NEGOTIATE request from client
0721 12:05:45.429498 (+    14us) server_negotiation.cc:331] Sending NEGOTIATE NegotiatePB response
0721 12:05:45.429539 (+    41us) server_negotiation.cc:188] Negotiated authn=TOKEN
0721 12:05:45.431691 (+  2152us) negotiation.cc:294] Negotiation complete: Network error: Server connection negotiation failed: server connection from X.X.X.X:34727: BlockingRecv error: Recv() got EOF from remote (error 108)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnaks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:58:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57794#M65295</guid>
      <dc:creator>AcharkiMed</dc:creator>
      <dc:date>2022-09-16T11:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tabl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57805#M65296</link>
      <description>&lt;P&gt;In Kudu, doing a delete like this is basically like inserting as many rows as you are deleting, so this might not be what you want to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In any case, we'd need a lot more logs from nod7.exp to understand what's going on. My guess is that Kudu doesn't have enough memory, sometimes CM can configure it to use 1GB which is below the safe minimum.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 15:26:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57805#M65296</guid>
      <dc:creator>J-D</dc:creator>
      <dc:date>2017-07-21T15:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tabl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57809#M65297</link>
      <description>&lt;P&gt;Firstly, thank you &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/47"&gt;@J-D&lt;/a&gt;&amp;nbsp;to the answer.&lt;BR /&gt;&lt;BR /&gt;So what kind of delete I can use instead of :&lt;/P&gt;&lt;PRE&gt;delete from test2p;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;What's types of logs&amp;nbsp;can I&amp;nbsp;give you to have l&lt;SPAN class="short_text"&gt;&lt;SPAN&gt;ighter vision of the problem source ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For the memory, in effect the nodes has&lt;/P&gt;&lt;PRE&gt;memory_limit_hard_bytes=5.5 Go&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;amp; thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:08:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57809#M65297</guid>
      <dc:creator>AcharkiMed</dc:creator>
      <dc:date>2017-07-21T16:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tabl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57810#M65298</link>
      <description>&lt;P&gt;Dropping the table and recreating it would be a lot more efficient&amp;nbsp;than deleting every row one by one after reading them (which is what "delete from" does).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the logs that pertain to tablet&amp;nbsp;871c8123905c4e529a233c18751f8154 for that tablet server could be useful. The full INFO file would be perfect if you can zip it and host it on a server somewhere.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:16:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57810#M65298</guid>
      <dc:creator>J-D</dc:creator>
      <dc:date>2017-07-21T16:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tabl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57811#M65299</link>
      <description>&lt;P&gt;Yes I understand that dropping table will be perfect in this case, but the problem is I'm facing this error message also in a kind of delete like:&lt;/P&gt;&lt;PRE&gt;delete from test2p2 where id &amp;lt; 300000000;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Okay brother, I'm collecting the 871c8123905c4e529a233c18751f8154 logs, and I will post them in a few minutes.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:30:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57811#M65299</guid>
      <dc:creator>AcharkiMed</dc:creator>
      <dc:date>2017-07-21T16:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tabl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57812#M65300</link>
      <description>&lt;P&gt;Deletes like this should be fine, even more ideal when you need to delete huge batches of rows is to hopefully have range partitions setup so that you can just drop them (&lt;A href="http://kudu.apache.org/docs/schema_design.html#range-partition-management" target="_self"&gt;see this doc&lt;/A&gt;), but for millions of rows it shouldn't timeout unless there's something misconfigured.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:36:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57812#M65300</guid>
      <dc:creator>J-D</dc:creator>
      <dc:date>2017-07-21T16:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tabl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57816#M65301</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;Here it is the logs file :&lt;BR /&gt;&lt;BR /&gt;kudu-tserver.INFO:&lt;BR /&gt;link1: &lt;A href="http://www41.zippyshare.com/v/xRs7t60g/file.html" target="_self"&gt;http://www41.zippyshare.com/v/xRs7t60g/file.html&lt;/A&gt;&lt;BR /&gt;link2: &lt;A href="https://ufile.io/mwia8" target="_self"&gt;https://ufile.io/mwia8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;kudu-tserver.WARNING:&lt;BR /&gt;link1: &lt;A href="http://www41.zippyshare.com/v/iFSgcXO0/file.html" target="_self"&gt;http://www41.zippyshare.com/v/iFSgcXO0/file.html&lt;/A&gt;&lt;BR /&gt;link2: &lt;A href="https://ufile.io/z4bqf" target="_self"&gt;https://ufile.io/z4bqf&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&amp;amp; Thanks for your help J-D.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 17:31:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57816#M65301</guid>
      <dc:creator>AcharkiMed</dc:creator>
      <dc:date>2017-07-21T17:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tabl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57993#M65302</link>
      <description>&lt;P&gt;After a discussion in Kudu slack channel, we have found that it's concern a bug, and &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/379"&gt;@JD&lt;/a&gt; Cryans published it in Apache's JIRA to fix it in the next version.&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/KUDU-2076" target="_blank"&gt;https://issues.apache.org/jira/browse/KUDU-2076&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;We hope to find a solution as the soon as possible.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 15:05:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/57993#M65302</guid>
      <dc:creator>AcharkiMed</dc:creator>
      <dc:date>2017-07-25T15:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error in delete from kudu table -WARNINGS:..Timed out: Failed to write batch of 3273 ops to tabl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/58134#M65303</link>
      <description>&lt;P&gt;Can you give it a try changing the encoding of your primary key int column to 'PLAIN_ENCODING' instead of the default AUTO_ENCODING? I think that should resolve your problem (at the expense of some disk space)&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 18:33:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-delete-from-kudu-table-WARNINGS-Timed-out-Failed-to/m-p/58134#M65303</guid>
      <dc:creator>Todd Lipcon</dc:creator>
      <dc:date>2017-07-27T18:33:33Z</dc:date>
    </item>
  </channel>
</rss>

