-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[Fix #79] Replace Breakable For Loops By While Loops #503
Conversation
Can one of the admins verify this patch? |
Jenkins, test this please |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14406/ |
@mateiz retest this please, I think failure is due to some other PR, as these changes have nothing to do with Streaming. |
Jenkins, retest this please. |
// Check whether all the nodes at the current level at leaves. | ||
val allLeaf = splitsStatsForLevel.forall(_._2.gain <= 0) | ||
logDebug("all leaf = " + allLeaf) | ||
if (allLeaf) break = true // no more tree construction |
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.
per Spark style guide, can you change this to include curly braces, e.g.
if (allLeaf) {
break = true
} else {
level += 1
}
Thanks.
Merged build triggered. |
Merged build started. |
Merged build finished. All automated tests passed. |
All automated tests passed. |
@rxin all suggested changes done, tests passed |
Thanks. I've merged this. |
Author: Sandeep <sandeep@techaddict.me> Closes #503 from techaddict/fix-79 and squashes the following commits: e3f6746 [Sandeep] Style changes 07a4f6b [Sandeep] for loop to While loop 0a6d8e9 [Sandeep] Breakable for loop to While loop (cherry picked from commit bb68f47) Signed-off-by: Reynold Xin <rxin@apache.org>
Fix bug on read-side of external sort when using Snappy. This case wasn't handled correctly and this patch fixes it.
Author: Sandeep <sandeep@techaddict.me> Closes apache#503 from techaddict/fix-79 and squashes the following commits: e3f6746 [Sandeep] Style changes 07a4f6b [Sandeep] for loop to While loop 0a6d8e9 [Sandeep] Breakable for loop to While loop
Fix bug on read-side of external sort when using Snappy. This case wasn't handled correctly and this patch fixes it. (cherry picked from commit 3d6e754) Signed-off-by: Patrick Wendell <pwendell@gmail.com>
* Add support for config-gcc role You can use below config to enbale gcc-7: ``` roles: - role: config-gcc gcc_version: 7 ``` Close-issue: theopenlab/openlab#239 * Add periodic job for envoy and containerd This patch add the periodic jobs for envoy and containerd arm build. - containerd-build-arm64 - envoy-build-arm64
No description provided.