scala - object orientechnologies is not a member of package com? -
i have orientdb database , want import scala within zeppelin. i'm following example provided here . when run following command on zeppelin's notebook
import com.orientechnologies.orient.core.id.orecordid import com.orientechnologies.orient.core.sql.query.osqlsynchquery
i got error:
<console>:27: error: object orientechnologies not member of package com import com.orientechnologies.orient.core.id.orecordid
but looks orientechnologies
member of com
. suggestion?
the problem zeppelin not recognize of libraries , need add them separately. here code used add jar file in zeppelin:
%dep z.load("/home/zeppelin/zeppelin-0.5.5-incubating-bin-all.orientdb-core-0.9.23.jar")
make sure restart zeppelin before running code. these lines need inserted before spark initiation.
Comments
Post a Comment