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

Disable spark dependencies for self provisioned es #319

Conversation

pavolloffay
Copy link
Member

@pavolloffay pavolloffay commented Mar 14, 2019

Resolves #316

We don't want auto-enabled spark deps for self-provisioned ES

Signed-off-by: Pavol Loffay [email protected]

@jpkrohling
Copy link
Contributor

This change is Reviewable

@codecov
Copy link

codecov bot commented Mar 14, 2019

Codecov Report

Merging #319 into master will increase coverage by 0.29%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #319      +/-   ##
==========================================
+ Coverage   88.65%   88.94%   +0.29%     
==========================================
  Files          70       69       -1     
  Lines        3173     3112      -61     
==========================================
- Hits         2813     2768      -45     
+ Misses        246      234      -12     
+ Partials      114      110       -4
Impacted Files Coverage Δ
pkg/strategy/controller.go 96.96% <100%> (+0.06%) ⬆️
pkg/apis/jaegertracing/v1/jaeger_types.go 100% <0%> (ø) ⬆️
pkg/controller/jaeger/status/collector.go
pkg/controller/jaeger/jaeger_controller.go 36.17% <0%> (+2.83%) ⬆️
pkg/controller/jaeger/deployment.go 62.96% <0%> (+4.62%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83a898f...0f37ea7. Read the comment docs.

@objectiser
Copy link
Contributor

@pavolloffay Do we need to document this somewhere, or produce a warning message?

@pavolloffay
Copy link
Member Author

The log message in the controller would be logged on every loop. I will just add it to the readme

INFO[0055] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0088] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0103] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0108] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0113] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0118] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0123] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0128] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0134] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0139] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0144] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0149] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging
INFO[0154] Auto enabling for Spark dependencies is disabled. Spark dependencies are not support for self provisioned Elasticsearch  instance=simple-prod namespace=openshift-logging

Signed-off-by: Pavol Loffay <[email protected]>
README.adoc Outdated
@@ -260,7 +260,7 @@ spec:

Under some circumstances, the Jaeger Operator can make use of the link:https://github.com/openshift/elasticsearch-operator[Elasticsearch Operator] to provision a suitable Elasticsearch cluster.

IMPORTANT: this feature is experimental and has been tested only on OpenShift clusters. Elasticsearch also requires the memory setting to be configured like `minishift ssh -- 'sudo sysctl -w vm.max_map_count=262144'`
IMPORTANT: this feature is experimental and has been tested only on OpenShift clusters. Elasticsearch also requires the memory setting to be configured like `minishift ssh -- 'sudo sysctl -w vm.max_map_count=262144'`. Spark dependencies are neither supported link:https://github.com/jaegertracing/jaeger-operator/issues/294[#294].
Copy link
Contributor

@objectiser objectiser Mar 15, 2019

Choose a reason for hiding this comment

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

"Spark dependencies are not currently supported with this feature link:...."

Signed-off-by: Pavol Loffay <[email protected]>
@pavolloffay pavolloffay merged commit 6fcc9dd into jaegertracing:master Mar 15, 2019
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.

3 participants