-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-18755. openFile builder new optLong() methods break hbase-filesystem #5704
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
HADOOP-18755. openFile builder new optLong() methods break hbase-filesystem #5704
Conversation
…system Change-Id: Icbe3b5ae6ccfd7206045ba786b8dbf764671d434
|
tested s3 london and in progress for azure cardiff, each with -Dparallel-tests -DtestsThreadCount=8 |
|
I want to implement a new cache replacement algorithm in hdfs but I don't know which part of module to use and modify. Can any one please help me find the modules and functions which need to override to add my own caching replacement algorithm in hdfs |
@MayankSinghParmar please use [email protected] mailing list for these type of questions. are you looking to build on top of HDFS centralized cache management? https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/CentralizedCacheManagement.html |
|
🎊 +1 overall
This message was automatically generated. |
jojochuang
left a comment
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.
LGTM
…system (#5704) This is a followup to HADOOP-18724. Open file fails with NumberFormatException for S3AFileSystem Contributed by Steve Loughran
Add defaults for everything, so all an impl needs to do is the opt(key, string), opt(key, strings) and the must variants
remove
finalfrom the opt(string, double) and float variants (andmustequivalents)Modified test case to use a minimal impl relying on the defaults, so ensuring there's never any backwards incompatibility.
One interesting issue here: should we cut the implementations of the now-defaulted new methods? this ensures consistency everywhere.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?