hadoop/hadoop-common-project
Steve Loughran 11a220c6e7
HADOOP-18636 LocalDirAllocator cannot recover from directory tree deletion (#5412)
Even though DiskChecker.mkdirsWithExistsCheck() will create the directory tree,
it is only called *after* the enumeration of directories with available
space has completed.

Directories which don't exist are reported as having 0 space, therefore
the mkdirs code is never reached.

Adding a simple mkdirs() -without bothering to check the outcome-
ensures that if a dir has been deleted then it will be reconstructed
if possible. If it can't it will still have 0 bytes of space
reported and so be excluded from the allocation.

Contributed by Steve Loughran
2023-02-22 11:48:12 +00:00
..
hadoop-annotations HADOOP-17947. Additional element types for VisibleForTesting (ADDENDUM) (#3521) 2021-10-06 02:17:05 +09:00
hadoop-auth Fix "the the" and friends typos (#5267) 2023-01-17 03:33:59 +08:00
hadoop-auth-examples HADOOP-18120. Hadoop auth does not handle HTTP Headers in a case-insensitive way. Contributed by Janos Makai. 2022-05-20 10:43:19 +02:00
hadoop-common HADOOP-18636 LocalDirAllocator cannot recover from directory tree deletion (#5412) 2023-02-22 11:48:12 +00:00
hadoop-kms HADOOP-18266. Using HashSet/ TreeSet Constructor for hadoop-common (#4365) 2022-06-20 12:11:04 +05:30
hadoop-minikdc HADOOP-18329. Support for IBM Semeru JVM > 11.0.15.0 Vendor Name Changes (#4537) 2022-12-10 14:27:05 +00:00
hadoop-nfs HADOOP-18206 Cleanup the commons-logging references and restrict its usage in future (#5315) 2023-02-14 03:24:06 +08:00
hadoop-registry HDFS-16591. Setup JaasConfiguration in ZKCuratorManager when SASL is enabled 2022-06-28 16:44:02 -07:00
pom.xml HADOOP-11867. Add a high-performance vectored read API. (#3904) 2022-06-22 17:29:32 +01:00