Impala pulls KRPC in by copying and pasting several directories from Kudu's source code (/rpc, /util, and /security). This code has not been updated in more than a year and half. There are various fixes and improvements that have been made on the Kudu side, like supporting TLS v1.3 in KRPC. It would be nice to pull in all these improvements.
There are a few patches which we made on the copied source code in be/src/kudu. We need to make sure that all those patches are incorporated or maintained when rebase be/src/kudu.