2016-10-13 2 views
0

현재 Python의 Pixiedust 패키지를 사용하여 노트북에서 Cloudant DB에 데이터를 저장하려고합니다. 연결을 설정하면 데이터를 데이터베이스에 삽입 할 때이 오류가 발생합니다.IBM Bluemix의 클라우드 DB에 데이터를 숨겨 넣는 방법은 무엇입니까?

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 DB에 데이터를 숨겨 넣을 수있는 방법을 알려주십시오.

+0

죄송합니다 :

!pip show pixiedust

출력은 다음과 유사합니다 불편. 이것은 우리가 작업중인 Pixiedust의 알려진 문제입니다. 우리는 곧 수정해야한다. 나는 그것이 발표 될 때 여기에서 논평 할 것이다. – markwatsonatx

답변

0

이 문제는 해결되어 PixieDust의 새로운 버전이 PyPI에 업로드되었습니다. 다음 명령을 실행하여 노트북의 최신 버전을 다운로드 할 수 있습니다 : 업그레이드가 완료된 후

!pip install --user --upgrade --no-deps pixiedust

는 커널을 다시 시작

.

다음 명령을 실행하여 PixieDust 버전 (이 버전 0.40 수정되었습니다) 확인할 수 있습니다에 대한

--- 
Metadata-Version: 1.0 
Name: pixiedust 
Version: 0.40 
Summary: Misc helpers for Spark Python Notebook 
Home-page: https://github.com/ibm-cds-labs/pixiedust 
Author: David Taieb 
Author-email: [email protected] 
License: Apache 2.0 
Location: /gpfs/global_fs01/sym_shared/YPProdSpark/user/sc7c-6877c2673165c0-9db077469d48/.local/lib/python2.7/site-packages 
Requires: maven-artifact, mpld3 
Classifiers: 
+0

markwatsonatx이 문제를 해결해 주셔서 감사합니다. 이제 제대로 작동합니다. :) –

관련 문제