You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Alexey Serbin (Jira)" <ji...@apache.org> on 2023/03/06 21:22:00 UTC

[jira] [Resolved] (KUDU-3456) 'kudu table copy' CLI crashes on write failures not outputting useful information on errors

     [ https://issues.apache.org/jira/browse/KUDU-3456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Serbin resolved KUDU-3456.
---------------------------------
    Fix Version/s: 1.17.0
         Assignee: Alexey Serbin
       Resolution: Fixed

Fixed with:

* branch-1.17.x: https://github.com/apache/kudu/commit/fb7d7e3890e044b8c15cb95405f7fefd3e80461b
* master: https://github.com/apache/kudu/commit/8a58c5838ec634146a0af46cdb47d4db404aef0a

> 'kudu table copy' CLI crashes on write failures not outputting useful information on errors
> -------------------------------------------------------------------------------------------
>
>                 Key: KUDU-3456
>                 URL: https://issues.apache.org/jira/browse/KUDU-3456
>             Project: Kudu
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 1.10.0, 1.10.1, 1.11.0, 1.12.0, 1.11.1, 1.13.0, 1.14.0, 1.15.0, 1.16.0
>            Reporter: Alexey Serbin
>            Assignee: Alexey Serbin
>            Priority: Major
>             Fix For: 1.17.0
>
>
> On write errors (say, a duplicate primary key because a row already exists), the {{kudu tablet copy}} CLI tools crashing with the stack trace similar to the snippet below.  There isn't any information output on the actual per-row errors into the log, and that complicates troubleshooting.
> {noformat}
> F0228 17:52:31.438441 97571 table_scanner.cc:529] Check failed: _s.ok() Bad status: IO error: Some errors occurred
> *** Check failure stack trace: ***
>     @          0x140e48d  google::LogMessage::Fail()
>     @          0x141009e  google::LogMessage::SendToLog()
>     @          0x140e010  google::LogMessage::Flush()
>     @          0x1410989  google::LogMessageFatal::~LogMessageFatal()
> ...
>     @          0x145a7ff  kudu::tools::TableScanner::ScanData()
>     @          0x145af69  kudu::tools::TableScanner::CopyTask()
> ...
> Aborted (core dumped)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)