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

spark cant find some JAR file... #1

Open
goern opened this issue Jun 20, 2017 · 2 comments
Open

spark cant find some JAR file... #1

goern opened this issue Jun 20, 2017 · 2 comments

Comments

@goern
Copy link

goern commented Jun 20, 2017

I was following the readme, and received this:

$ oc logs error-selector-2-p039r
version 1
grep: /etc/podinfo/labels: No such file or directory
using stored cluster name there
Found cluster there
Using shared cluster there
Waiting for spark master http://there-ui:8080 to be available ...
Waiting for spark workers (1/1 alive) ...
All spark workers alive
spark-submit --master spark://there:7077 --packages org.apache.spark:spark-streaming-kafka-0-8_2.11:2.1.0 /opt/app-root/src/ --servers=apache-kafka:9092 --in=topic1 --out=topic2 --count=topic3
Error: Cannot load main class from JAR file:/opt/app-root/src/
Run with --help for usage help or --verbose for debug output
Deleting cluster there
error: Both --app and --appstatus must be set

I used https://gitlab.com/goern/openshift-kafka/tree/master to deploy a kafka server.

@elmiko
Copy link
Collaborator

elmiko commented Jul 5, 2017

thanks for bringing this up Christoph, i'll take a look into it. we had made some changes to our s2i tooling around that time, i wonder if we caught a bug there.

@elmiko
Copy link
Collaborator

elmiko commented Jul 7, 2017

@goern i tried to reproduce this but i am unable, here's what i did:

  1. oc cluster up with origin 1.5
  2. oc new-project osh
  3. oc create -f https://radanalytics.io/resources.yaml
  4. oc new-app from readme

result was that the app started up and bombed when it couldn't find kafka. but it certainly ran the jar file, can you confirm that this is still an issue?

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

No branches or pull requests

2 participants