如何从笔记本创建Cloudant数据库连接并将数据存储在ibmbluemix中?

2024-03-28 20:11:32 发布

您现在位置:Python中文网/ 问答频道 /正文

目前,我正在尝试使用Python的Pixiedust包将笔记本中的数据存储到cloudantdb中。建立连接后,在尝试将数据插入数据库时会出现此错误。你知道吗

nPy4JJavaError: An error occurred while calling o172.save.
: org.apache.spark.SparkException: Job aborted due to stage failure: Task 3 in stage 38.0 failed 10 times, most recent failure: '
Lost task 3.9 in stage 38.0 (TID 1811, yp-spark-dal09-env5-0046): spray.http.IllegalUriException: The path of an URI without authority must not begin with "//"

请告诉我如何将数据从笔记本存储到Cloudant数据库中? check error image


Tags: 数据inan数据库failure错误笔记本error