메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


python3 DataSetCreator.py -i /home/hadoop/QueryTranslator/S2RDF_QueryTranslator/data/sparql.in -s 0.25
를 실행하면 아래와 같은 오류가 발생하는데 이는 버젼차이에서 발생하는 문제임.
print 문의 밖에 ()를 붙여주면 해결됨...

--------------------------오류내용-----------------------------
  File "DataSetCreator.py", line 106
    print 'DataBaseCreator.py -i <inputRDFFile> [-s <ScaleUB>]'
                                                              ^
SyntaxError: Missing parentheses in call to 'print'


아래와 같이 수정하면 해결됨===========>
print ('DataBaseCreator.py -i <inputRDFFile> [-s <ScaleUB>]')

번호 제목 날짜 조회 수
217 Scala버젼 변경 혹은 상황에 맞게 Spark소스 컴파일하기 2016.05.31 8500
216 centos에 sbt 0.13.5 설치 2016.05.30 7497
215 Job이 끝난 log을 볼수 있도록 설정하기 2016.05.30 8686
214 spark client프로그램 기동시 "Error initializing SparkContext"오류 발생할때 조치사항 2016.05.27 13144
213 --master yarn 옵션으로 spark client프로그램 실행할때 메모리 부족 오류발생시 조치방법 2016.05.27 8023
212 DataSetCreator.py 실행시 파일을 찾을 수 없는 오류 2016.05.27 6532
» python 2.6.6에서 print 'A=' 형태의 사용이 python 3.5.1에서 오류(SyntaxError: Missing parentheses in call to 'print') 발생함.. 2016.05.27 7056
210 python실행시 ValueError: zero length field name in format오류 해결방법 2016.05.27 8412
209 S2RDF 테스트(벤치마크 테스트를 기준으로 python, scala소스가 만들어져서 기능은 파악되지 못함) [1] file 2016.05.27 7008
208 CentOS6에 python3.5.1 소스코드로 빌드하여 설치하기 2016.05.27 8527
207 RDF storage조합에대한 test결과(4store, Jena+HBase, Hive+HBase, CumulusRDF, Couchbase) 페이지 링크 2016.05.26 10845
206 spark-submit으로 spark application실행하는 다양한 방법 2016.05.25 8713
205 spark 온라인 책자링크 (제목 : mastering-apache-spark) 2016.05.25 11579
204 "Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources"오류 발생시 조치사항 2016.05.25 8660
203 spark-env.sh에서 사용할 수있는 항목. 2016.05.24 8535
202 Spark 1.6.1 설치후 HA구성 2016.05.24 11080
201 spark-shell실행시 "A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection."오류가 발생하는 경우 해결방법 2016.05.20 7270
200 Master rejected startup because clock is out of sync 오류 해결방법 2016.05.03 10617
199 kafka broker기동시 brokerId가 달라서 기동에 실패하는 경우 조치방법 2016.05.02 10054
198 kafka 0.9.0.1 for scala 2.1.1 설치및 테스트 2016.05.02 8601
위로