Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16710

Log Upload blocks Main Thread in TaskExecutor

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

Details

    Description

      Uploading logs to the BlobServer blocks the TaskExecutor's main thread. We should introduce an IO thread pool that carries out file system accesses (listing files in a directory, checking if file exists, uploading files).

      Affected RPCs:

      • TaskExecutor#requestLogList(Time)
      • TaskExecutor#requestFileUploadByName(String, Time)
      • TaskExecutor#requestFileUploadByType(FileType, Time)

      Attachments

        Issue Links

        Activity

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

          People

            wangsan jrthe42
            gjy Gary Yao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment