vesoft-inc / nebula-algorithm

Nebula-Algorithm is a Spark Application based on GraphX, which enables state of art Graph Algorithms to run on top of NebulaGraph and write back results to NebulaGraph.
71 stars 39 forks source link

support domain name in meta/graph addresses #42

Closed wey-gu closed 2 years ago

wey-gu commented 2 years ago

In k8s deployed nebula graph, the service addresses are domain names instead of IP addresses:

22/02/08 04:39:24 INFO NebulaDataSource: options {spacename=basketballplayer, nocolumn=false, metaaddress=nebula-metad-0.nebula-metad-headless.default.svc.cluster.local:9559, label=serve, type=edge, connectionretry=2, timeout=6000, executionretry=1, paths=[], limit=1000, returncols=, partitionnumber=10}
Exception in thread "main" java.lang.IllegalArgumentException: nebula-metad-0.nebula-metad-headless.default.svc.cluster.local:9559 is not a valid address
wey-gu commented 2 years ago
Nicole00 commented 2 years ago

ok, update the connector version when client v2.6.2 and connector v2.6.2 is released.