-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-5931][CORE] Use consistent naming for time properties #5236
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
60 commits
Select commit
Hold shift + click to select a range
59bf9e1
[SPARK-5931] Updated Utils and JavaUtils classes to add helper method…
404f8c3
Updated usage of spark.core.connection.ack.wait.timeout
7db6d2a
Updated usage of spark.akka.timeout
4933fda
Updated usage of spark.storage.blockManagerSlaveTimeout
c9f5cad
Updated spark.shuffle.io.retryWait
21ef3dd
updated spark.shuffle.sasl.timeout
064ebd6
Updated usage of spark.cleaner.ttl
7320c87
updated spark.akka.heartbeat.interval
272c215
Updated spark.locality.wait
3352d34
Updated spark.scheduler.maxRegisteredResourcesWaitingTime
3f1cfc8
Updated spark.scheduler.revive.interval
6d1518e
Upated spark.speculation.interval
2fcc91c
Updated spark.dynamicAllocation.executorIdleTimeout
5181597
Updated spark.dynamicAllocation.schedulerBacklogTimeout
c6a0095
Updated spark.core.connection.auth.wait.timeout
cde9bff
Updated spark.streaming.blockInterval
42477aa
Updated configuration doc with note on specifying time properties
9a29d8d
Fixed misuse of time in streaming context test
34f87c2
Update Utils.scala
ilganeli 8f741e1
Update JavaUtils.java
ilganeli 9e2547c
Reverting doc changes
499bdf0
Merge branch 'SPARK-5931' of github.com:ilganeli/spark into SPARK-5931
5232a36
[SPARK-5931] Changed default behavior of time string conversion.
3a12dd8
Updated host revceiver
68f4e93
Updated more files to clean up usage of default time strings
70ac213
Fixed remaining usages to be consistent. Updated Java-side time conve…
647b5ac
Udpated time conversion to use map iterator instead of if fall through
1c0c07c
Updated Java code to add day, minutes, and hours
8613631
Whitespace
bac9edf
More whitespace
1858197
Fixed bug where all time was being converted to us instead of the app…
3b126e1
Fixed conversion to US from seconds
39164f9
[SPARK-5931] Updated Java conversion to be similar to scala conversio…
b2fc965
replaced get or default since it's not present in this version of java
dd0a680
Updated scala code to call into java
bf779b0
Special handling of overlapping usffixes for java
76cfa27
[SPARK-5931] Minor nit fixes'
5193d5f
Resolved merge conflicts
6387772
Updated suffix handling to handle overlap of units more gracefully
19c31af
Added cleaner computation of time conversions in tests
ff40bfe
Updated tests to fix small bugs
28187bf
Convert straight to seconds
1465390
Nit
cbf41db
Got rid of thrown exceptions
d4efd26
Added time conversion for yarn.scheduler.heartbeat.interval-ms
4e48679
Fixed priority order and mixed up conversions in a couple spots
1a1122c
Formatting fixes and added m for use as minute formatter
cbd2ca6
Formatting error
6f651a8
Now using regexes to simplify code in parseTimeString. Introduces get…
7d19cdd
Added fix for possible NPE
dc7bd08
Fixed error in exception handling
69fedcc
Added test for zero
8927e66
Fixed handling of -1
642a06d
Fixed logic for invalid suffixes and addid matching test
25d3f52
Minor nit fixes
bc04e05
Minor fixes and doc updates
951ca2d
Made the most recent round of changes
f5fafcd
Doc updates
de3bff9
Fixing style errors
4526c81
Update configuration.md
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
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.
just an idea, maybe we can rewrite this as:
Looks nicer IMO, less duplicate code