pyspark - Metastore error while launching multiple Jupyter Spark notebooks from same directory -


i running jupyter notebook (jupyter 1.0.0) spark (spark 2.1.0) , able run pyspark code. when launch 2 notebooks located under same directory shown below:

notebooks
|__ notebook1
|__ notebook2

, launch notebook1 , launch notebook2, notebook1 launches , works notebook2 not launch due spark context initiation errors. looks spark metastore.

below stack trace spark:

    caused by: error xsdb6: instance of derby may have booted database xxxxxxxx/notebooks/metastore_db. @ org.apache.derby.iapi.error.standardexception.newexception(unknown source) @ org.apache.derby.iapi.error.standardexception.newexception(unknown source) @ org.apache.derby.impl.store.raw.data.basedatafilefactory.privgetjbmslockondb(unknown source) @ org.apache.derby.impl.store.raw.data.basedatafilefactory.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ org.apache.derby.impl.store.raw.data.basedatafilefactory.getjbmslockondb(unknown source) @ org.apache.derby.impl.store.raw.data.basedatafilefactory.boot(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.boot(unknown source) @ org.apache.derby.impl.services.monitor.topservice.bootmodule(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.startmodule(unknown source) @ org.apache.derby.impl.services.monitor.filemonitor.startmodule(unknown source) @ org.apache.derby.iapi.services.monitor.monitor.bootservicemodule(unknown source) @ org.apache.derby.impl.store.raw.rawstore$6.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ org.apache.derby.impl.store.raw.rawstore.bootservicemodule(unknown source) @ org.apache.derby.impl.store.raw.rawstore.boot(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.boot(unknown source) @ org.apache.derby.impl.services.monitor.topservice.bootmodule(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.startmodule(unknown source) @ org.apache.derby.impl.services.monitor.filemonitor.startmodule(unknown source) @ org.apache.derby.iapi.services.monitor.monitor.bootservicemodule(unknown source) @ org.apache.derby.impl.store.access.ramaccessmanager$5.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ org.apache.derby.impl.store.access.ramaccessmanager.bootservicemodule(unknown source) @ org.apache.derby.impl.store.access.ramaccessmanager.boot(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.boot(unknown source) @ org.apache.derby.impl.services.monitor.topservice.bootmodule(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.startmodule(unknown source) @ org.apache.derby.impl.services.monitor.filemonitor.startmodule(unknown source) @ org.apache.derby.iapi.services.monitor.monitor.bootservicemodule(unknown source) @ org.apache.derby.impl.db.basicdatabase$5.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ org.apache.derby.impl.db.basicdatabase.bootservicemodule(unknown source) @ org.apache.derby.impl.db.basicdatabase.bootstore(unknown source) @ org.apache.derby.impl.db.basicdatabase.boot(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.boot(unknown source) @ org.apache.derby.impl.services.monitor.topservice.bootmodule(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.bootservice(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.startproviderservice(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.findproviderandstartservice(unknown source) @ org.apache.derby.impl.services.monitor.basemonitor.startpersistentservice(unknown source) @ org.apache.derby.iapi.services.monitor.monitor.startpersistentservice(unknown source) @ org.apache.derby.impl.jdbc.embedconnection$4.run(unknown source) @ org.apache.derby.impl.jdbc.embedconnection$4.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ org.apache.derby.impl.jdbc.embedconnection.startpersistentservice(unknown source) 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -