[ 
https://issues.apache.org/jira/browse/KUDU-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625403#comment-17625403
 ] 

ASF subversion and git services commented on KUDU-3412:
-------------------------------------------------------

Commit 2b45ee08ee9cd7870d9122c75c3845efe4bc26c6 in kudu's branch 
refs/heads/master from xinghuayu007
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=2b45ee08e ]

[KUDU-3412][Tools][Bugfix] Fix core dump of tablet copier

The function: CopyTablets() of class TabletCopier creates
a thread to obtain copy process periodically. Every 10s,
it will log the tablet id and tablet status. But fake_replica
does not have a tablet id, here will core dump.

Therefore, this patch uses map<string, TabletReplica*>
copying_replicas_by_tablet_id to store the tablet id and
fake_replica.

Change-Id: Iaa2107d3c04c9f3e850d33dbf420ebb62edc98d8
Reviewed-on: http://gerrit.cloudera.org:8080/19163
Reviewed-by: Yingchun Lai <acelyc1112...@gmail.com>
Tested-by: Yingchun Lai <acelyc1112...@gmail.com>


> [Tools] Copy from remote interface will core
> --------------------------------------------
>
>                 Key: KUDU-3412
>                 URL: https://issues.apache.org/jira/browse/KUDU-3412
>             Project: Kudu
>          Issue Type: Bug
>            Reporter: Xixu Wang
>            Priority: Major
>         Attachments: image-2022-10-25-15-02-14-577.png
>
>
> When use Kudu tool copy_from_remote interface to copy tablets, it will core. 
> The command is as follow:
> /home/sa_cluster/kudu local_replica copy_from_remote 
> d75de5d8837a4263bee2ea60a977b13a,cada27196cac416db82dfa76555313da,8c05b28009c44bfc817912219e71e9a5,70f08c838d2a4df78dbf46c3260584ef,5c7273a3560246ca9e0ac2648a45c958,f533eaef37b44aa2a7cb6acc75fe30a9,bf406a98f7da4d3f908980b311b8e3cf,60bd7a181c5d4e49922195e9705aee16,5cd203ebb7a34e06be8524c954ec34ee,920c818688c14a16a068ac1d91d62c57,bb50af1163104af68a8688ccd8a4d23a,6096f58e7fc74f57b5228b00d758a6c7,bcf06b39190e488fb6c39dbc23997359,749212ad059743378c7c972315945c64,35133e83306a4724bf07a2217d5074de,5142d46f1fae40e99c305e0da3c139ba,5cff47e39e484c3897259fbc78109bc7,be6dbc172eca4a32b9250156494e502b,756f9823c569400a898c7f8d496f1f7e,875adf909e414a23b50cde47ec1fb9ad,ac3bf747eaed4feb8b4c5a4559e4e762,35a6f41d4fcf48f19d5d2afca3fcc8d3,8de40e6e21944ce8b22bc0ba3f4f73d8,59dda34464ef4da69e22fa9dd6a7a2f0,4d5ee7c3a1b543279d1fedfdcc71236e,9e6f8aa9cccb486192ea0586a299604f,0c98e006ff2b4da39468a5844418c838,e79b99724cee4acdabd0a61967f131bd,97112f2efa4a4582b72299887a0cabad,ee5c04f4ece247dcad8a207094f10917,21945cb443e745699287f401b9cee42e,93372e21cd104387a008214bfc0de24c,94fa06d93c6b4d4b8c0a2a81734b34a9,0ff6530b017f41978c1a729210942976
>  remote_host:7050 -fs_data_dirs=/sensorsdata/rnddata00/kudu/tserver_data 
> -fs_wal_dir=/sensorsdata/rnddata00/kudu/tserver_wal -num_threads=8
>  
> The core result is:
> !image-2022-10-25-15-02-14-577.png!



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

Reply via email to