You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HADOOP-19569. put operations from store to StoreWriter
All upload operations are in MultipartIO service, which
has been renamed and move to package org.apache.hadoop.fs.s3a.impl.write
to match.
For completeness deletion should also go into this class or an adjacent one on
deletion.
Pulled out multipart IO such that
there are no back references from it to
S3AStore -the final change is to define a store
statistics class which it and other things can
use to update stats.
Executors in hadoop-common to
- pick up shutdown of inner executor and shut themselves down.
- semaphore executor to decrement counters in this process so that
queue state is updated
- semaphored delegating executor unit test in common
This stops callers being able to submit work when the inner executor has
shut down.
WriteOperationHelper
* make all calls through its callback interface, rather than given a ref to S3AFS.
* Move WriteOperationHelper callbacks to S3Store layer,
Multipart IO operations
* move nearly all Multpart IO operationss out of s3afs and into a
new mulitpart service interface and impl
* Multipart service retrieved and invoked as appropriate
* StoreImpl stores a map of ServiceName -> service.
with a lookupService() method in S3AStore interface, it's possible to
retrieve services through the API just by knowing their name and type
* registering all current services this way
StoreImpl to IllegalStateException on method invocation whene the service
isn't running.
Some methods are kept open as they do seem needed.
Copy file name to clipboardExpand all lines: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/BlockingThreadPoolExecutorService.java
+34-11Lines changed: 34 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -130,21 +130,20 @@ public static BlockingThreadPoolExecutorService newInstance(
Copy file name to clipboardExpand all lines: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SemaphoredDelegatingExecutor.java
Copy file name to clipboardExpand all lines: hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestBlockingThreadPoolExecutorService.java
0 commit comments