-
Notifications
You must be signed in to change notification settings - Fork 123
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
setStorageAddresses support to optionally override storage addresses #451
Conversation
Codecov Report
@@ Coverage Diff @@
## master #451 +/- ##
============================================
- Coverage 63.75% 63.30% -0.45%
+ Complexity 736 729 -7
============================================
Files 66 66
Lines 3479 3483 +4
Branches 507 506 -1
============================================
- Hits 2218 2205 -13
- Misses 920 931 +11
- Partials 341 347 +6
Continue to review full report at Codecov.
|
I don't think so. the same question: when deploy HDFS in k8s, how to use spark outside k8s? |
another question, when scan data from storage, we must know which host the leader in if user provides the hosts, we cannot map the partitions in meta. |
Thanks @HarrisChu ! I didn't realized that we actually need the mapping of meta-storage in many spark cases, was just consider it's feasible as we have similar interfaces of storage client in nebula-python. In this case, to make Nebula in k8s work with Spark, when the spark is not running inside of the NebulaCluster Namespace, the only way is to hack on: a.
b.
Thanks! |
@MegaByte875 |
Or, we should introduce withStorageAddress in map instead of list(current implementation), where the specified storage address and its actually address in metad's mapping relationship should be provided. |
close for more discuss for exposing the storaged address. |
This enables vesoft-inc/nebula-spark-connector#39 , where we could make spark projects(spark-c, exchange, algorithm) running outside namespace/cluster of Nebula Graph Cluster in K8s being work together with Nebula(including the DBaaS).