环境:
nebula-graph:3.6.0单机
spark:spark-2.4.8-bin-hadoop2.7单机
导入导出直接使用手册“ 示例代码”中的 Nebula2Nebula.scala和“ Maven 远程仓库下载”链接下载的nebula-spark-connector-3.4.0.jar
执行下面命令导数据,但数据没有导成功,也没有异常信息。
请教:我哪里理解错误了,怎么看导数据失败的原因?谢谢
[nebula@nebulagraph nebula-spark-connector]$ /usr/local/spark-2.4.8-bin-hadoop2.7/bin/spark-submit --master local \
–conf spark.driver.extraClassPath=/usr/local/spark-2.4.8-bin-hadoop2.7/jars/
–conf spark.executor.extraClassPath=/usr/local/spark-2.4.8-bin-hadoop2.7/jars/
–class /nebula/nebula-spark-connector/Nebula2Nebula
/nebula/nebula-spark-connector/nebula-spark-connector-3.4.0.jar
-sourceMeta “127.0.0.1:10559” -targetMeta “127.0.0.1:10559” -targetGraph “127.0.0.1:10669” -sourceSpace “basketballplayer” -targetSpace “test” -limit 2 -batch 2 -p 8 -timeout 50000 -u root -passwd Testtuo#40808
24/09/30 17:19:36 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable
log4j:WARN No appenders could be found for logger (org.apache.spark.deploy.SparkSubmit$$anon$2).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[nebula@nebulagraph nebula-spark-connector]$