Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

techaddict
Copy link
Contributor

No description provided.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@mateiz
Copy link
Contributor

mateiz commented Apr 23, 2014

Jenkins, test this please

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14406/

@techaddict
Copy link
Contributor Author

@mateiz retest this please, I think failure is due to some other PR, as these changes have nothing to do with Streaming.

@rxin
Copy link
Contributor

rxin commented Apr 24, 2014

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
Copy link
Contributor

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.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished. All automated tests passed.

@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14424/

@techaddict
Copy link
Contributor Author

@rxin all suggested changes done, tests passed

@rxin
Copy link
Contributor

rxin commented Apr 24, 2014

Thanks. I've merged this.

@asfgit asfgit closed this in bb68f47 Apr 24, 2014
asfgit pushed a commit that referenced this pull request Apr 24, 2014
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>
pwendell added a commit to pwendell/spark that referenced this pull request May 12, 2014
Fix bug on read-side of external sort when using Snappy.

This case wasn't handled correctly and this patch fixes it.
pdeyhim pushed a commit to pdeyhim/spark-1 that referenced this pull request Jun 25, 2014
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
andrewor14 pushed a commit to andrewor14/spark that referenced this pull request Jan 8, 2015
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>
mccheah referenced this pull request in palantir/spark Sep 26, 2017
markhamstra pushed a commit to markhamstra/spark that referenced this pull request Nov 7, 2017
bzhaoopenstack pushed a commit to bzhaoopenstack/spark that referenced this pull request Sep 11, 2019
* 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
arjunshroff pushed a commit to arjunshroff/spark that referenced this pull request Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants