Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When an unstable write arrives, the following happens:
1. retrieves the OpenFileCtx
2. create asyn task to write it to hdfs
The race is that, the OpenFileCtx could be closed by the StreamMonitor. Then step 2 will simply return an error to the client.
This is OK before streaming is supported. To support data streaming, the file needs to be reopened.
Attachments
Issue Links
- duplicates
-
HDFS-5364 Add OpenFileCtx cache
- Closed