-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Changes from 38 commits
ba32adb
9c00b7d
d067bfd
44748f6
04745b6
b30fa2c
6229013
7ea005a
fcb5763
ccfff2a
ed4c95f
ed696e1
81ffc9a
99ea034
b8d8d50
fc8fbcb
2f24c67
4ec972b
122ede2
e2fefa8
7153ae0
1ed0c13
2174a29
6295b16
2876127
31692a2
3c79f1b
1308ea7
96b34d6
058b5c7
030ae58
abd0919
42b9b7c
ed8bdf6
5199f67
ad27cd3
7092504
a6a9d3c
8bdea34
44520e1
bbfbf1e
ff3f977
9aa369f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -141,6 +141,8 @@ public interface HdfsClientConfigKeys { | |
| "dfs.short.circuit.shared.memory.watcher.interrupt.check.ms"; | ||
| int DFS_SHORT_CIRCUIT_SHARED_MEMORY_WATCHER_INTERRUPT_CHECK_MS_DEFAULT = | ||
| 60000; | ||
| String DFS_SHORT_CIRCUIT_NUM = "dfs.short.circuit.num"; | ||
|
||
| int DFS_SHORT_CIRCUIT_NUM_DEFAULT = 1; | ||
| String DFS_CLIENT_SLOW_IO_WARNING_THRESHOLD_KEY = | ||
| "dfs.client.slow.io.warning.threshold.ms"; | ||
| long DFS_CLIENT_SLOW_IO_WARNING_THRESHOLD_DEFAULT = 30000; | ||
|
|
||
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