Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5904

Enable ThreadSanitizer for Impala

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Infrastructure
    • ghx-label-4

    Description

      It would be great to be able to automatically detect data races in Impala using ThreadSanitizer to avoid tricky-to-reproduce bugs. This issue tracks enabling ThreadSanitizer, fixing bugs and adding suppressions to get to the point where Impala runs cleanly with the sanitizer.

      Attachments

        Issue Links

        1.
        Add ThreadSanitizer build Sub-task Resolved Tim Armstrong Actions
        2.
        Add ThreadSanitizer to https://jenkins.impala.io/job/all-build-options/ Sub-task Resolved Tim Armstrong Actions
        3.
        TSAN data race in ReservationTracker::used_reservation_ updates Sub-task Resolved Sahil Takiar Actions
        4.
        TSAN data race in TmpFileMgr::File::Blacklist Sub-task Resolved Sahil Takiar Actions
        5.
        Possible data race in TupleDescriptor::GetLlvmStruct Sub-task Resolved Sahil Takiar Actions
        6.
        Template tuples are initialized multiple times Sub-task Resolved Sahil Takiar Actions
        7.
        TSAN data race in kudu::Socket::Accept and TraceLog::UpdateCategoryGroupEnabledFlag Sub-task Resolved Unassigned Actions
        8.
        TSAN data race in kudu::ScopedWatchKernelStack / KernelStackWatchdog Sub-task Resolved Unassigned Actions
        9.
        Instantiations/ExprTest.MathConversionFunctions fails in TSAN builds Sub-task Resolved Unassigned Actions
        10.
        Possible data race in kudu::security::InitKerberosForServer Sub-task Resolved Unassigned Actions
        11.
        TSAN data race in RuntimeFilterBank::CancelLocked() Sub-task Resolved Tim Armstrong Actions
        12.
        TSAN data races during impalad shutdown Sub-task Resolved Bikramjeet Vig Actions
        13.
        Set halt_on_error=1 for TSAN builds Sub-task Resolved Sahil Takiar Actions
        14.
        TSAN data race in hdfs-bulk-ops Sub-task Resolved Sahil Takiar Actions
        15.
        Data race on Webserver::UrlHandler::is_on_nav_bar_ Sub-task Resolved Sahil Takiar Actions
        16.
        Thrift server shutdown is racey Sub-task Open Unassigned Actions
        17.
        Allow TSAN to be set on codegen Sub-task Open Unassigned Actions
        18.
        Possible data race in BloomFilter::BucketFindAVX2 Sub-task Open Unassigned Actions
        19.
        Compile thirdparty toolchain libs with TSAN Sub-task Open Unassigned Actions
        20.
        TSAN error in ImpalaServer::QueryStateRecord::Init Sub-task Resolved Jason Fehr Actions

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stakiar Sahil Takiar
            tarmstrong Tim Armstrong

            Dates

              Created:
              Updated:

              Slack

                Issue deployment