-
Notifications
You must be signed in to change notification settings - Fork 9.2k
BPServiceActor to provide new thread to handle IBR #4820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
| any(DatanodeRegistration.class), | ||
| anyString(), | ||
| any(StorageReceivedDeletedBlocks[].class)); | ||
| int retries = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LambdaTestUtils#waitFor
| dnConf.outliersReportIntervalMs); | ||
| // get the value of maxDataLength. | ||
| sendIBRLock = new Object(); | ||
| ibrExecutorService = Executors.newSingleThreadExecutor( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ThreadFactory threadFactory = new ThreadFactoryBuilder()
.setDaemon(true)
.setNameFormat("IBR-executor-%d")
.build()
ibrExecutorService = Executors.newSingleThreadExecutor(threadFactory);
| return Time.monotonicNow(); | ||
| } | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid
| try { | ||
| meta = FsDatasetUtil.getMetaFile(getBlockFile(b), b.getGenerationStamp()); | ||
| } catch (IOException e) { | ||
| throw new FileNotFoundException("BlockId " + b.getBlockName() + " is not valid."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did the old exception look like?
|
We're closing this stale PR because it has been open for 100 days with no activity. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
BPServiceActor to provide new thread to handle IBR