[
https://issues.apache.org/jira/browse/KUDU-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884178#comment-16884178
]
Ritwik Yadav commented on KUDU-1334:
------------------------------------
[~aserbin]
Yeah. I have a lot of tests failing like this and in the code we are assuming
that the pid would fit into 18 bits which is not true for machines these days.
Right?
{code:java}
F0712 14:21:56.171644 1771822 net_util.cc:481] Check failed: pid < 1 <<
kPidBits (1771822 vs. 262144) PID 1771822 is more than 18 bits wide
*** Check failure stack trace: ***
*** Aborted at 1562966516 (unix time) try "date -d @1562966516" if you are
using GNU date ***
PC: @ 0x7f74d09b2207 __GI_raise
*** SIGABRT (@0x8bb27001b092e) received by PID 1771822 (TID 0x7f74d3031180)
from PID 1771822; stack trace: ***
@ 0x7f74d27a95d0 (unknown)
@ 0x7f74d09b2207 __GI_raise
@ 0x7f74d09b38f8 __GI_abort
@ 0xb3fed9 google::logging_fail()
@ 0xb416ad google::LogMessage::Fail()
@ 0xb43603 google::LogMessage::SendToLog()
@ 0xb41209 google::LogMessage::Flush()
@ 0xb43f8f google::LogMessageFatal::~LogMessageFatal()
@ 0x24e1d2c kudu::GetBindIpForDaemon()
@ 0xb9992d kudu::cluster::MiniCluster::ReserveDaemonSocket()
@ 0xb94898 kudu::cluster::InternalMiniCluster::StartMasters()
@ 0xb975dc kudu::cluster::InternalMiniCluster::Start()
@ 0xb3f7fb kudu::RpcLineItemDAOTest::SetUp()
@ 0x2209a69 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x21fb820 testing::Test::Run()
@ 0x21fb93d testing::TestInfo::Run()
@ 0x21fba55 testing::TestCase::Run()
@ 0x21fbd18 testing::internal::UnitTestImpl::RunAllTests()
@ 0x21fbfb9 testing::UnitTest::Run()
@ 0xae316d main
@ 0x7f74d099e3d5 __libc_start_main
@ 0xb3a016 (unknown)
[1] 1771822 abort (core dumped) ./build/release/bin/rpc_line_item_dao-test{code}
> Support pid_max > 16 bits in the mini cluster
> ---------------------------------------------
>
> Key: KUDU-1334
> URL: https://issues.apache.org/jira/browse/KUDU-1334
> Project: Kudu
> Issue Type: Improvement
> Components: test
> Affects Versions: 0.5.0
> Reporter: Jean-Daniel Cryans
> Assignee: Alexey Serbin
> Priority: Major
> Fix For: 1.6.0
>
>
> Pretty much anybody running on newer machines/platforms will hit this while
> running the unit tests:
> {noformat}
> I0216 11:27:23.617383 110702 external_mini_cluster.cc:582] Started
> /home/stack/apache-kudu-incubating-0.7.0/build/rc/bin/kudu-master as pid
> 110706
> F0216 11:27:23.617473 110702 external_mini_cluster.cc:258] Check failed: p
> <= MathLimits<uint16_t>::kMax (110702 vs. 65535) Cannot run on systems with
> >16-bit pid
> *** Check failure stack trace: ***
> {noformat}
> Having this limitation was fine but now it's something everybody hits.
> The workaround is running this:
> {noformat}
> echo "32768" > /proc/sys/kernel/pid_max
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)