Grant Henke has uploaded this change for review. (
http://gerrit.cloudera.org:8080/15256
Change subject: [test] Fix ASAN failure when Hive Metastore connections are
retried.
......................................................................
[test] Fix ASAN failure when Hive Metastore connections are retried.
I saw an ASAN test failure that occured when there was a failure
to connect to the Hive Metastore. This may not fix the connection
issue, but it fixes the unsafe ASAN failure and allows the test to
continue.
Below is a sample of the log:
W0220 18:46:15.548344 18002 client.h:351] Failed to connect to Hive Metastore
(127.0.0.1:45269): Network error: failed to open Hive Metastore connection:
socket open() error: Connection refused
I0220 18:46:16.549294 18002 client.cc:56] TSocket::open() error on socket
(after THRIFT_POLL) <Host: 127.0.0.1 Port: 45269>Connection refused
W0220 18:46:16.549479 18002 client.h:351] Failed to connect to Hive Metastore
(127.0.0.1:45269): Network error: failed to open Hive Metastore connection:
socket open() error: Connection refused
/home/jenkins-slave/workspace/kudu-master/0/src/kudu/thrift/client.h:204:3:
runtime error: left shift of 100 by 26 places cannot be represented in type
'int'
#0 0x7f527299d77b in
kudu::thrift::HaClient<kudu::hms::HmsClient>::Execute(std::function<kudu::Status
(kudu::hms::HmsClient*)>)::'lambda'()::operator()() const
/home/jenkins-slave/workspace/kudu-master/0/src/kudu/thrift/client.h:204:3
#1 0x7f526e44ead7 in boost::function0<void>::operator()() const
/home/jenkins-slave/workspace/kudu-master/0/thirdparty/installed/uninstrumented/include/boost/function/function_template.hpp:770:14
#2 0x7f526b6f21f4 in kudu::ThreadPool::DispatchThread()
/home/jenkins-slave/workspace/kudu-master/0/src/kudu/util/threadpool.cc:685:22
#3 0x7f526b70c992 in boost::_bi::bind_t<void, boost::_mfi::mf0<void,
kudu::ThreadPool>, boost::_bi::list1<boost::_bi::value<kudu::ThreadPool*> >
>::operator()()
/home/jenkins-slave/workspace/kudu-master/0/thirdparty/installed/uninstrumented/include/boost/bind/bind.hpp:1222:16
#4 0x7f526e44ead7 in boost::function0<void>::operator()() const
/home/jenkins-slave/workspace/kudu-master/0/thirdparty/installed/uninstrumented/include/boost/function/function_template.hpp:770:14
#5 0x7f526b6d812a in kudu::Thread::SuperviseThread(void*)
/home/jenkins-slave/workspace/kudu-master/0/src/kudu/util/thread.cc:675:3
#6 0x7f5267917183 in start_thread
/build/eglibc-SvCtMH/eglibc-2.19/nptl/pthread_create.c:312
#7 0x7f526742dffc in clone sysdeps/unix/sysv/linux/x86_64/clone.S:111
Change-Id: I1282ad36027b314d090e5a2dffdc3854002af761
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
/home/jenkins-slave/workspace/kudu-master/0/src/kudu/thrift/client.h:204:3 in
---
M src/kudu/thrift/client.h
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/56/15256/1
--
To view, visit http://gerrit.cloudera.org:8080/15256
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1282ad36027b314d090e5a2dffdc3854002af761
Gerrit-Change-Number: 15256
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>