You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Sahil Takiar (Jira)" <ji...@apache.org> on 2020/03/02 15:19:00 UTC

[jira] [Resolved] (IMPALA-9313) TSAN data race in TmpFileMgr::File::Blacklist

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

Sahil Takiar resolved IMPALA-9313.
----------------------------------
    Fix Version/s: Impala 3.4.0
       Resolution: Fixed

Fixed in https://issues.apache.org/jira/browse/IMPALA-5904?focusedCommentId=17049307&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17049307

> TSAN data race in TmpFileMgr::File::Blacklist
> ---------------------------------------------
>
>                 Key: IMPALA-9313
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9313
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Backend
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>            Priority: Major
>             Fix For: Impala 3.4.0
>
>
> Happens occasionally in buffer-pool-test
> {code:java}
> WARNING: ThreadSanitizer: data race (pid=100106)
>   Write of size 1 at 0x7b0c122d5330 by thread T173:
>     #0 impala::TmpFileMgr::File::Blacklist(impala::ErrorMsg const&) /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:276:16 (buffer-pool-test+0x1dbea20)
>     #1 impala::TmpFileMgr::FileGroup::RecoverWriteError(impala::TmpFileMgr::WriteHandle*, impala::Status const&) /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:543:18 (buffer-pool-test+0x1dc2117)
>     #2 impala::TmpFileMgr::FileGroup::WriteComplete(impala::TmpFileMgr::WriteHandle*, impala::Status const&) /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:520:14 (buffer-pool-test+0x1dc1fb6)
>     #3 impala::TmpFileMgr::FileGroup::Write(impala::MemRange, std::function<void (impala::Status const&)>, std::unique_ptr<impala::TmpFileMgr::WriteHandle, std::default_delete<impala::TmpFileMgr::WriteHandle> >*)::$_0::operator()(impala::Status const&) const /home/syste
> st/Impala/be/src/runtime/tmp-file-mgr.cc:422:37 (buffer-pool-test+0x1dc353b)
>     #4 std::_Function_handler<void (impala::Status const&), impala::TmpFileMgr::FileGroup::Write(impala::MemRange, std::function<void (impala::Status const&)>, std::unique_ptr<impala::TmpFileMgr::WriteHandle, std::default_delete<impala::TmpFileMgr::WriteHandle> >*)::$_0
> >::_M_invoke(std::_Any_data const&, impala::Status const&) /home/systest/Impala/toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../include/c++/4.9.2/functional:2039:2 (buffer-pool-test+0x1dc3343)
>     #5 std::function<void (impala::Status const&)>::operator()(impala::Status const&) const /home/systest/Impala/toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../include/c++/4.9.2/functional:2439:14 (buffer-pool-test+0x1dc5972)
>     #6 impala::io::RequestContext::WriteDone(impala::io::WriteRange*, impala::Status const&) /home/systest/Impala/be/src/runtime/io/request-context.cc:229:3 (buffer-pool-test+0x26b90a3)
>     #7 impala::io::DiskIoMgr::Write(impala::io::RequestContext*, impala::io::WriteRange*) /home/systest/Impala/be/src/runtime/io/disk-io-mgr.cc:516:19 (buffer-pool-test+0x26a9dc7)
>     #8 impala::io::DiskQueue::DiskThreadLoop(impala::io::DiskIoMgr*) /home/systest/Impala/be/src/runtime/io/disk-io-mgr.cc:497:15 (buffer-pool-test+0x26a8c16)
>     #9 boost::_mfi::mf1<void, impala::io::DiskQueue, impala::io::DiskIoMgr*>::operator()(impala::io::DiskQueue*, impala::io::DiskIoMgr*) const /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/bind/mem_fn_template.hpp:165:16 (buffer-pool-test+0x26b3a7d)
>     #10 void boost::_bi::list2<boost::_bi::value<impala::io::DiskQueue*>, boost::_bi::value<impala::io::DiskIoMgr*> >::operator()<boost::_mfi::mf1<void, impala::io::DiskQueue, impala::io::DiskIoMgr*>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf1<void, imp
> ala::io::DiskQueue, impala::io::DiskIoMgr*>&, boost::_bi::list0&, int) /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/bind/bind.hpp:313:9 (buffer-pool-test+0x26b39bd)
>     #11 boost::_bi::bind_t<void, boost::_mfi::mf1<void, impala::io::DiskQueue, impala::io::DiskIoMgr*>, boost::_bi::list2<boost::_bi::value<impala::io::DiskQueue*>, boost::_bi::value<impala::io::DiskIoMgr*> > >::operator()() /home/systest/Impala/toolchain/boost-1.57.0-p
> 3/include/boost/bind/bind_template.hpp:20:16 (buffer-pool-test+0x26b3923)
>     #12 boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf1<void, impala::io::DiskQueue, impala::io::DiskIoMgr*>, boost::_bi::list2<boost::_bi::value<impala::io::DiskQueue*>, boost::_bi::value<impala::io::DiskIoMgr*> > >, void>:
> :invoke(boost::detail::function::function_buffer&) /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/function/function_template.hpp:153:11 (buffer-pool-test+0x26b36c1)
>     #13 boost::function0<void>::operator()() const /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/function/function_template.hpp:766:14 (buffer-pool-test+0x1c22681)
>     #14 impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*) /home/systest/Impala/be/src/util/thread.cc:360:3 (buffer-pool-test+0x2176a06)
>     #15 void boost::_bi::list5<boost::_bi::value<std::string>, boost::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> >::operator()<void
>  (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list0>(boost::_bi::type<void>, void (*&)(std::string const&, std::string const&, boost::function<void ()>,
>  impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list0&, int) /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/bind/bind.hpp:525:9 (buffer-pool-test+0x217f06c)
>     #16 boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list5<boost::_bi::value<std::string>, boost::_bi::value<std::string>,
>  boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> > >::operator()() /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/bind/bind_template.hpp:20:16 (buf
> fer-pool-test+0x217ef83)
>     #17 boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list5<boost::_bi::value<std::string>, boos
> t::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> > > >::run() /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/thread/deta
> il/thread.hpp:116:17 (buffer-pool-test+0x217ec70)
>     #18 thread_proxy <null> (buffer-pool-test+0x2faf199)  Previous write of size 1 at 0x7b0c122d5330 by thread T172:
>     #0 impala::TmpFileMgr::File::Blacklist(impala::ErrorMsg const&) /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:276:16 (buffer-pool-test+0x1dbea20)
>     #1 impala::TmpFileMgr::FileGroup::RecoverWriteError(impala::TmpFileMgr::WriteHandle*, impala::Status const&) /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:543:18 (buffer-pool-test+0x1dc2117)
>     #2 impala::TmpFileMgr::FileGroup::WriteComplete(impala::TmpFileMgr::WriteHandle*, impala::Status const&) /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:520:14 (buffer-pool-test+0x1dc1fb6)
>     #3 impala::TmpFileMgr::FileGroup::Write(impala::MemRange, std::function<void (impala::Status const&)>, std::unique_ptr<impala::TmpFileMgr::WriteHandle, std::default_delete<impala::TmpFileMgr::WriteHandle> >*)::$_0::operator()(impala::Status const&) const /home/syste
> st/Impala/be/src/runtime/tmp-file-mgr.cc:422:37 (buffer-pool-test+0x1dc353b)
>     #4 std::_Function_handler<void (impala::Status const&), impala::TmpFileMgr::FileGroup::Write(impala::MemRange, std::function<void (impala::Status const&)>, std::unique_ptr<impala::TmpFileMgr::WriteHandle, std::default_delete<impala::TmpFileMgr::WriteHandle> >*)::$_0
> >::_M_invoke(std::_Any_data const&, impala::Status const&) /home/systest/Impala/toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../include/c++/4.9.2/functional:2039:2 (buffer-pool-test+0x1dc3343)
>     #5 std::function<void (impala::Status const&)>::operator()(impala::Status const&) const /home/systest/Impala/toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../include/c++/4.9.2/functional:2439:14 (buffer-pool-test+0x1dc5972)
>     #6 impala::io::RequestContext::WriteDone(impala::io::WriteRange*, impala::Status const&) /home/systest/Impala/be/src/runtime/io/request-context.cc:229:3 (buffer-pool-test+0x26b90a3)
>     #7 impala::io::DiskIoMgr::Write(impala::io::RequestContext*, impala::io::WriteRange*) /home/systest/Impala/be/src/runtime/io/disk-io-mgr.cc:516:19 (buffer-pool-test+0x26a9dc7)
>     #8 impala::io::DiskQueue::DiskThreadLoop(impala::io::DiskIoMgr*) /home/systest/Impala/be/src/runtime/io/disk-io-mgr.cc:497:15 (buffer-pool-test+0x26a8c16)
>     #9 boost::_mfi::mf1<void, impala::io::DiskQueue, impala::io::DiskIoMgr*>::operator()(impala::io::DiskQueue*, impala::io::DiskIoMgr*) const /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/bind/mem_fn_template.hpp:165:16 (buffer-pool-test+0x26b3a7d)
>     #10 void boost::_bi::list2<boost::_bi::value<impala::io::DiskQueue*>, boost::_bi::value<impala::io::DiskIoMgr*> >::operator()<boost::_mfi::mf1<void, impala::io::DiskQueue, impala::io::DiskIoMgr*>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf1<void, imp
> ala::io::DiskQueue, impala::io::DiskIoMgr*>&, boost::_bi::list0&, int) /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/bind/bind.hpp:313:9 (buffer-pool-test+0x26b39bd)
>     #11 boost::_bi::bind_t<void, boost::_mfi::mf1<void, impala::io::DiskQueue, impala::io::DiskIoMgr*>, boost::_bi::list2<boost::_bi::value<impala::io::DiskQueue*>, boost::_bi::value<impala::io::DiskIoMgr*> > >::operator()() /home/systest/Impala/toolchain/boost-1.57.0-p
> 3/include/boost/bind/bind_template.hpp:20:16 (buffer-pool-test+0x26b3923)
>     #12 boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf1<void, impala::io::DiskQueue, impala::io::DiskIoMgr*>, boost::_bi::list2<boost::_bi::value<impala::io::DiskQueue*>, boost::_bi::value<impala::io::DiskIoMgr*> > >, void>:
> :invoke(boost::detail::function::function_buffer&) /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/function/function_template.hpp:153:11 (buffer-pool-test+0x26b36c1)
>     #13 boost::function0<void>::operator()() const /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/function/function_template.hpp:766:14 (buffer-pool-test+0x1c22681)
>     #14 impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*) /home/systest/Impala/be/src/util/thread.cc:360:3 (buffer-pool-test+0x2176a06)
>     #15 void boost::_bi::list5<boost::_bi::value<std::string>, boost::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> >::operator()<void
>  (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list0>(boost::_bi::type<void>, void (*&)(std::string const&, std::string const&, boost::function<void ()>,
>  impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list0&, int) /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/bind/bind.hpp:525:9 (buffer-pool-test+0x217f06c)
>     #16 boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list5<boost::_bi::value<std::string>, boost::_bi::value<std::string>,
>  boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> > >::operator()() /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/bind/bind_template.hpp:20:16 (buf
> fer-pool-test+0x217ef83)
>     #17 boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list5<boost::_bi::value<std::string>, boos
> t::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> > > >::run() /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/thread/deta
> il/thread.hpp:116:17 (buffer-pool-test+0x217ec70)
>     #18 thread_proxy <null> (buffer-pool-test+0x2faf199)
>   Location is heap block of size 40 at 0x7b0c122d5310 allocated by main thread:
>     #0 operator new(unsigned long) /mnt/source/llvm/llvm-5.0.1.src-p1/projects/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:44 (buffer-pool-test+0x192bf83)
>     #1 impala::TmpFileMgr::NewFile(impala::TmpFileMgr::FileGroup*, int, std::unique_ptr<impala::TmpFileMgr::File, std::default_delete<impala::TmpFileMgr::File> >*) /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:224:19 (buffer-pool-test+0x1dbe0b7)
>     #2 impala::TmpFileMgr::FileGroup::CreateFiles() /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:331:20 (buffer-pool-test+0x1dbf500)
>     #3 impala::TmpFileMgr::FileGroup::AllocateSpace(long, impala::TmpFileMgr::File**, long*) /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:377:67 (buffer-pool-test+0x1dbff21)
>     #4 impala::TmpFileMgr::FileGroup::Write(impala::MemRange, std::function<void (impala::Status const&)>, std::unique_ptr<impala::TmpFileMgr::WriteHandle, std::default_delete<impala::TmpFileMgr::WriteHandle> >*) /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:417:4
> 3 (buffer-pool-test+0x1dc03b2)
>     #5 impala::BufferPool::Client::WriteDirtyPagesAsync(long) /home/systest/Impala/be/src/runtime/bufferpool/buffer-pool.cc:690:36 (buffer-pool-test+0x1986fef)
>     #6 impala::BufferPool::Client::MoveToDirtyUnpinned(impala::BufferPool::Page*) /home/systest/Impala/be/src/runtime/bufferpool/buffer-pool.cc:491:3 (buffer-pool-test+0x1984b05)
>     #7 impala::BufferPool::Unpin(impala::BufferPool::ClientHandle*, impala::BufferPool::PageHandle*) /home/systest/Impala/be/src/runtime/bufferpool/buffer-pool.cc:205:20 (buffer-pool-test+0x198470f)
>     #8 impala::BufferPoolTest::UnpinAll(impala::BufferPool*, impala::BufferPool::ClientHandle*, std::vector<impala::BufferPool::PageHandle, std::allocator<impala::BufferPool::PageHandle> >*, int) /home/systest/Impala/be/src/runtime/bufferpool/buffer-pool-test.cc:240:13
> (buffer-pool-test+0x1957295)
>     #9 impala::BufferPoolTest_NoDirsAllocationError_Test::TestBody() /home/systest/Impala/be/src/runtime/bufferpool/buffer-pool-test.cc:1838:3 (buffer-pool-test+0x194a21f)
>     #10 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) <null> (buffer-pool-test+0x4181e22)
>     #11 __libc_start_main /build/glibc-LK5gWL/glibc-2.23/csu/../csu/libc-start.c:291 (libc.so.6+0x2082f)
>   Thread T173 (tid=108623, running) created by main thread at:
>     #0 pthread_create /mnt/source/llvm/llvm-5.0.1.src-p1/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:889 (buffer-pool-test+0x18c391b)
>     #1 boost::thread::start_thread_noexcept() <null> (buffer-pool-test+0x2fae579)
>     #2 boost::thread::thread<void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), std::string, std::string, boost::function<void ()>, impala::ThreadDebugInfo*, impala:
> :Promise<long, (impala::PromiseMode)0>*>(void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), std::string, std::string, boost::function<void ()>, impala::ThreadDebugIn
> fo*, impala::Promise<long, (impala::PromiseMode)0>*) /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/thread/detail/thread.hpp:419:13 (buffer-pool-test+0x21790bb)
>     #3 impala::Thread::StartThread(std::string const&, std::string const&, boost::function<void ()> const&, std::unique_ptr<impala::Thread, std::default_delete<impala::Thread> >*, bool) /home/systest/Impala/be/src/util/thread.cc:317:13 (buffer-pool-test+0x21763a5)
>     #4 impala::Status impala::Thread::Create<void (impala::io::DiskQueue::*)(impala::io::DiskIoMgr*), impala::io::DiskQueue*, impala::io::DiskIoMgr*>(std::string const&, std::string const&, void (impala::io::DiskQueue::* const&)(impala::io::DiskIoMgr*), impala::io::Disk
> Queue* const&, impala::io::DiskIoMgr* const&, std::unique_ptr<impala::Thread, std::default_delete<impala::Thread> >*, bool) /home/systest/Impala/be/src/util/thread.h:89:12 (buffer-pool-test+0x26ac707)
>     #5 impala::io::DiskIoMgr::Init() /home/systest/Impala/be/src/runtime/io/disk-io-mgr.cc:317:47 (buffer-pool-test+0x26a84e9)
>     #6 impala::TestEnv::Init() /home/systest/Impala/be/src/runtime/test-env.cc:60:69 (buffer-pool-test+0x1d8aeb8)
>     #7 impala::BufferPoolTest::InitMultipleTmpDirs(int) /home/systest/Impala/be/src/runtime/bufferpool/buffer-pool-test.cc:130:46 (buffer-pool-test+0x195a366)
>     #8 impala::BufferPoolTest_NoDirsAllocationError_Test::TestBody() /home/systest/Impala/be/src/runtime/bufferpool/buffer-pool-test.cc:1820:29 (buffer-pool-test+0x1949f38)
>     #9 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) <null> (buffer-pool-test+0x4181e22)
>     #10 __libc_start_main /build/glibc-LK5gWL/glibc-2.23/csu/../csu/libc-start.c:291 (libc.so.6+0x2082f)
>   Thread T172 (tid=108622, running) created by main thread at:
>     #0 pthread_create /mnt/source/llvm/llvm-5.0.1.src-p1/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:889 (buffer-pool-test+0x18c391b)
>     #1 boost::thread::start_thread_noexcept() <null> (buffer-pool-test+0x2fae579)
>     #2 boost::thread::thread<void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), std::string, std::string, boost::function<void ()>, impala::ThreadDebugInfo*, impala:
> :Promise<long, (impala::PromiseMode)0>*>(void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), std::string, std::string, boost::function<void ()>, impala::ThreadDebugIn
> fo*, impala::Promise<long, (impala::PromiseMode)0>*) /home/systest/Impala/toolchain/boost-1.57.0-p3/include/boost/thread/detail/thread.hpp:419:13 (buffer-pool-test+0x21790bb)
>     #3 impala::Thread::StartThread(std::string const&, std::string const&, boost::function<void ()> const&, std::unique_ptr<impala::Thread, std::default_delete<impala::Thread> >*, bool) /home/systest/Impala/be/src/util/thread.cc:317:13 (buffer-pool-test+0x21763a5)
>     #4 impala::Status impala::Thread::Create<void (impala::io::DiskQueue::*)(impala::io::DiskIoMgr*), impala::io::DiskQueue*, impala::io::DiskIoMgr*>(std::string const&, std::string const&, void (impala::io::DiskQueue::* const&)(impala::io::DiskIoMgr*), impala::io::Disk
> Queue* const&, impala::io::DiskIoMgr* const&, std::unique_ptr<impala::Thread, std::default_delete<impala::Thread> >*, bool) /home/systest/Impala/be/src/util/thread.h:89:12 (buffer-pool-test+0x26ac707)
>     #5 impala::io::DiskIoMgr::Init() /home/systest/Impala/be/src/runtime/io/disk-io-mgr.cc:317:47 (buffer-pool-test+0x26a84e9)
>     #6 impala::TestEnv::Init() /home/systest/Impala/be/src/runtime/test-env.cc:60:69 (buffer-pool-test+0x1d8aeb8)
>     #7 impala::BufferPoolTest::InitMultipleTmpDirs(int) /home/systest/Impala/be/src/runtime/bufferpool/buffer-pool-test.cc:130:46 (buffer-pool-test+0x195a366)
>     #8 impala::BufferPoolTest_NoDirsAllocationError_Test::TestBody() /home/systest/Impala/be/src/runtime/bufferpool/buffer-pool-test.cc:1820:29 (buffer-pool-test+0x1949f38)
>     #9 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) <null> (buffer-pool-test+0x4181e22)
>     #10 __libc_start_main /build/glibc-LK5gWL/glibc-2.23/csu/../csu/libc-start.c:291 (libc.so.6+0x2082f)SUMMARY: ThreadSanitizer: data race /home/systest/Impala/be/src/runtime/tmp-file-mgr.cc:276:16 in impala::TmpFileMgr::File::Blacklist(impala::ErrorMsg const&) {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)