hadoop/hadoop-mapreduce-project/hadoop-mapreduce-client
Steve Loughran ab594ec77e
HADOOP-18724. Open file fails with NumberFormatException for S3AFileSystem (#5611)
This:

1. Adds optLong, optDouble, mustLong and mustDouble
   methods to the FSBuilder interface to let callers explicitly
   passin long and double arguments.
2. The opt() and must() builder calls which take float/double values
   now only set long values instead, so as to avoid problems
   related to overloaded methods resulting in a ".0" being appended
   to a long value.
3. All of the relevant opt/must calls in the hadoop codebase move to
   the new methods
4. And the s3a code is resilient to parse errors in is numeric options
   -it will downgrade to the default.

This is nominally incompatible, but the floating-point builder methods
were never used: nothing currently expects floating point numbers.

For anyone who wants to safely set numeric builder options across all compatible
releases, convert the number to a string and then use the opt(String, String)
and must(String, String) methods.

Contributed by Steve Loughran
2023-05-16 13:41:17 +01:00
..
hadoop-mapreduce-client-app MAPREDUCE-7411: use secure XML parsers in mapreduce modules (#4980) 2022-10-26 11:04:29 +01:00
hadoop-mapreduce-client-common MAPREDUCE-7391. TestLocalDistributedCacheManager failing after HADOOP-16202 (#4472) 2022-06-22 13:13:24 +01:00
hadoop-mapreduce-client-core HADOOP-18724. Open file fails with NumberFormatException for S3AFileSystem (#5611) 2023-05-16 13:41:17 +01:00
hadoop-mapreduce-client-hs HADOOP-18671. Add recoverLease(), setSafeMode(), isFileClosed() as interfaces to hadoop-common (#5553) (#5619) 2023-05-09 06:20:56 +08:00
hadoop-mapreduce-client-hs-plugins HADOOP-18305. Preparing for 3.3.4 release: branch-3.3 version => 3.3.9 (#4482) 2022-06-22 13:09:50 +01:00
hadoop-mapreduce-client-jobclient HADOOP-18484. Upgrade hsqldb to v2.7.1 to mitigate CVE-2022-41853 (#5101) 2022-11-04 11:00:17 +01:00
hadoop-mapreduce-client-nativetask HADOOP-18305. Preparing for 3.3.4 release: branch-3.3 version => 3.3.9 (#4482) 2022-06-22 13:09:50 +01:00
hadoop-mapreduce-client-shuffle HADOOP-18305. Preparing for 3.3.4 release: branch-3.3 version => 3.3.9 (#4482) 2022-06-22 13:09:50 +01:00
hadoop-mapreduce-client-uploader HADOOP-18660. Filesystem Spelling Mistake (#5475). 2023-04-25 19:59:54 +01:00
pom.xml HADOOP-18332. Remove rs-api dependency by downgrading jackson to 2.12.7. (#4552) 2022-07-16 18:18:52 +01:00