Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7223

Make the timeout in TimedCallable a configurable boot time parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reviewable
    • Minor
    • Resolution: Unresolved
    • 1.16.0
    • None
    • None
    • None

    Description

      The TimedCallable.TIMEOUT_PER_RUNNABLE_IN_MSECS is currently an internal Drill constant defined as 15 secs. This has been there from day 1 of the introduction. Drill's TimedCallable implements the Java concurrency's Callable interface to create timed threads. It is used by the REFRESH METADATA command which creates multiple threads on the Foreman node to gather Parquet metadata to build the metadata cache.
      Depending on the load on the system or for very large scale number of parquet files (millions) it is possible to exceed this timeout. While the exact root cause of exceeding the timeout is being investigated, it makes sense to make this timeout a configurable parameter to aid with large scale testing. This JIRA is to make this a configurable bootstrapping option in the drill-override.

      Attachments

        Issue Links

          Activity

            People

              ben-zvi Boaz Ben-Zvi
              amansinha100 Aman Sinha
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: