-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-15202 Boost short circuit cache #1884
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
Closed
Closed
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
ba32adb
Update BlockReaderFactory.java
pustota2009 9c00b7d
Update HdfsClientConfigKeys.java
pustota2009 d067bfd
Update DfsClientConf.java
pustota2009 44748f6
Update TestEnhancedByteBufferAccess.java
pustota2009 04745b6
Update TestBlockReaderFactory.java
pustota2009 b30fa2c
Update TestShortCircuitCache.java
pustota2009 6229013
Update HdfsClientConfigKeys.java
pustota2009 7ea005a
Merge branch 'trunk' into trunk
pustota2009 fcb5763
Update ClientContext.java
pustota2009 ccfff2a
Update ClientContext.java
pustota2009 ed4c95f
Update ClientContext.java
pustota2009 ed696e1
Update BlockReaderFactory.java
pustota2009 81ffc9a
Update DfsClientConf.java
pustota2009 99ea034
Update ClientContext.java
pustota2009 b8d8d50
Update DfsClientConf.java
pustota2009 fc8fbcb
Update ClientContext.java
pustota2009 2f24c67
Update DfsClientConf.java
pustota2009 4ec972b
Update DfsClientConf.java
pustota2009 122ede2
Update BlockReaderFactory.java
pustota2009 e2fefa8
Update DfsClientConf.java
pustota2009 7153ae0
Update TestBlockReaderLocal.java
pustota2009 1ed0c13
Update TestShortCircuitCache.java
pustota2009 2174a29
Update TestEnhancedByteBufferAccess.java
pustota2009 6295b16
Update DfsClientConf.java
pustota2009 2876127
Update hdfs-default.xml
pustota2009 31692a2
Update ClientContext.java
pustota2009 3c79f1b
Update BlockReaderFactory.java
pustota2009 1308ea7
Update DfsClientConf.java
pustota2009 96b34d6
Update TestEnhancedByteBufferAccess.java
pustota2009 058b5c7
Update TestEnhancedByteBufferAccess.java
pustota2009 030ae58
Update TestShortCircuitCache.java
pustota2009 abd0919
Update TestEnhancedByteBufferAccess.java
pustota2009 42b9b7c
Update DfsClientConf.java
pustota2009 ed8bdf6
Update hdfs-default.xml
pustota2009 5199f67
Update TestShortCircuitCache.java
pustota2009 ad27cd3
Unit tests for few ShortCircuitCaches added
pustota2009 7092504
fixed code style
pustota2009 a6a9d3c
Unit tests added
pustota2009 8bdea34
Update HdfsClientConfigKeys.java
pustota2009 44520e1
Update hdfs-default.xml
pustota2009 bbfbf1e
Update ClientContext.java
pustota2009 ff3f977
Update ClientContext.java
pustota2009 9aa369f
Update ClientContext.java
pustota2009 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is fine. But what I realized is Hadoop applications don't really respect the annotation @InterfaceAudience.Private. You really want to gracefully deprecate a public method to avoid runtime issues. That is, keep the original getShortCircuitCache() method and let it call getShortCircuitCache(0);
Uh oh!
There was an error while loading. Please reload this page.
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.
Sure, done