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

modified spark example to use kubectl exec to interact with cluster a… #11047

Merged
merged 9 commits into from
Jul 30, 2015

Conversation

gurvindersingh
Copy link
Contributor

…nd create spark driver pod

You can change the repo in the driver spec file to gcr.io, once the pull request is accepted and docker image pushed to official repository.

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@k8s-bot
Copy link

k8s-bot commented Jul 10, 2015

Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist")

If this message is too spammy, please complain to ixdy.

@gurvindersingh
Copy link
Contributor Author

I signed it!

@krousey krousey added this to the v1.0-post milestone Jul 20, 2015
@brendandburns
Copy link
Contributor

@gurvindersingh
I don't see you in our CLA records, what email did you use?

We also moved a bunch of docs in the lead up to 1.0, you may need to recreate this PR. Sorry!

@brendandburns brendandburns self-assigned this Jul 22, 2015
@gurvindersingh
Copy link
Contributor Author

@brendandburns I have used this email address to sign the CLA gurvindersinghdahiya@gmail.com let me know if you can find, otherwise I can give it another try to sign. I will create/rebase the PR to the current master.

@bgrant0607 bgrant0607 removed this from the v1.0-post milestone Jul 24, 2015
@brendandburns
Copy link
Contributor

CLA verified. I think you need to associate your email with your github (or add your github to clasigners) in order for this to be automated.

Needs a rebase.

@brendandburns brendandburns added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 25, 2015
@@ -0,0 +1,23 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any chance you can convert this to YAML instead of JSON?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All other specs in spark example are also in JSON, so should I convert all to YAML or leave as it is. I see there are few examples which have specs in YAML and whereas others in JSON. So any policy towards specs format ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preference for YAML. If you'd rather defer to a different PR, that's fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will send another pull request which will converting all the JSON spec files in spark example to YAML

@gurvindersingh
Copy link
Contributor Author

Rebased and addressed comment about indent, regarding JSON -> YAML.. will wait for @brendandburns reply.

@googlebot
Copy link

CLAs look good, thanks!

@@ -0,0 +1,9 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to add standard copyright boilerplate here.

@brendandburns
Copy link
Contributor

Need copyright boilerplate on start.sh otherwise, LGTM.

@gurvindersingh
Copy link
Contributor Author

added copyright boilerplate on start.sh

@brendandburns
Copy link
Contributor

You need to run ./hack/run-gendocs.sh

(sorry for the complexity!)

@gurvindersingh
Copy link
Contributor Author

i ran ./hack/run-gendocs.shand committed the changes to pull request. let me know if anything more is needed.

@brendandburns
Copy link
Contributor

LGTM, thanks!

@brendandburns brendandburns added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jul 30, 2015
brendandburns added a commit that referenced this pull request Jul 30, 2015
modified spark example to use kubectl exec to interact with cluster a…
@brendandburns brendandburns merged commit 1d9a062 into kubernetes:master Jul 30, 2015
@ixdy
Copy link
Member

ixdy commented Aug 3, 2015

This test is failing continuously on GCE Jenkins.

INFO: Running '/jenkins-master-data/jobs/kubernetes-e2e-gce-examples/workspace/kubernetes/platforms/linux/amd64/kubectl --server=https://130.211.183.151 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce-examples/workspace/.kube/config log spark-driver spark-driver --namespace=e2e-tests-examples-ou9nm'
INFO: 
[AfterEach] Examples e2e
  /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/examples.go:69
STEP: Destroying namespace for this suite e2e-tests-examples-ou9nm

• Failure [538.277 seconds]
Examples e2e
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/examples.go:528
  [Skipped][Example]Spark
  /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/examples.go:203
    should start spark master, driver and workers [It]
    /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/examples.go:202

    Expected error:
        <*errors.errorString | 0xc2082656a0>: {
            s: "Failed to find \"Starting Spark driver at\", last result: \"\"",
        }
        Failed to find "Starting Spark driver at", last result: ""
    not to have occurred

    /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/examples.go:193

Full build log/artifacts from a recent run are available here: https://cloud.google.com/console/storage/kubernetes-jenkins/logs/kubernetes-e2e-gce-examples/465/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants