Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETL - Load Failing using oetl #206

Closed
rmanzar opened this issue Sep 27, 2016 · 5 comments
Closed

ETL - Load Failing using oetl #206

rmanzar opened this issue Sep 27, 2016 · 5 comments
Assignees
Labels

Comments

@rmanzar
Copy link

rmanzar commented Sep 27, 2016

I am getting this error while using oetl on my windows machine
using this versionorientdb-community-2.2.8

oetl posts.json
oetl postscsv.json
oetl commentscsv.json
oetl comment.json

Files are attached as a zip and I have placed them in the bin folder.
Manyfiles.zip

OrientDB etl v.2.2.8 (build 2.2.x@r39259e190e16045fe1425b1c0485f8562fca055b; 2016-08-23 14:38:49+0000) www.orientdb.com
Exception in thread "main" com.orientechnologies.orient.core.exception.OConfigurationException: Error on creating ETL processor
DB name="soft"
at com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:225)
at com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:176)
at com.orientechnologies.orient.etl.OETLProcessor.parseConfigAndParameters(OETLProcessor.java:144)
at com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.java:108)
Caused by: com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/usr/local/orientdb/databases/soft' wit
h mode=rw
DB name="soft"
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:339)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:257)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled.internalOpen(OPartitionedDatabasePool.java
:443)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.openDatabase(OPartitionedDatabasePool.java:306)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.acquire(OPartitionedDatabasePool.java:261)
at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.(OrientBaseGraph.java:143)
at com.tinkerpop.blueprints.impls.orient.OrientGraphNoTx.(OrientGraphNoTx.java:62)
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.getNoTx(OrientGraphFactory.java:138)
at com.orientechnologies.orient.etl.loader.OOrientDBLoader.configureGraphDB(OOrientDBLoader.java:415)
at com.orientechnologies.orient.etl.loader.OOrientDBLoader.configure(OOrientDBLoader.java:401)
at com.orientechnologies.orient.etl.OETLProcessor.configureComponent(OETLProcessor.java:449)
at com.orientechnologies.orient.etl.OETLProcessor.configureLoader(OETLProcessor.java:262)
at com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:209)
... 3 more
Caused by: com.orientechnologies.orient.core.exception.OStorageException: Can not open storage it is acquired by other process
DB name="soft"
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedStorageDirtyFlag.lockFile(OPaginatedStorageDirtyFlag.jav
a:103)

    at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedStorageDirtyFlag.open(OPaginatedStorageDirtyFlag.java:13
  1.  at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.preOpenSteps(OLocalPaginatedStorage.java:33
    
  2.  at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:291)
    
@robfrank
Copy link

Inside the jsons you are pointing to a remote database, but in the postscsv.json you are poiting to "dbURL": "plocal:/usr/local/orientdb/databases/soft" . If the OrientDB server is stil running, as I think, then you got :

Caused by: com.orientechnologies.orient.core.exception.OStorageException: Can not open storage it is acquired by other process
DB name="soft"

ONLY a process can open a database: the server OR the oetl process in plocal.

@robfrank
Copy link

did you solve the problem? may I close?

@rmanzar
Copy link
Author

rmanzar commented Sep 29, 2016

Thanks Frank, Yes, I could solve the problem. I had to use serverUser and serverPassword.

@robfrank
Copy link

Issue moved to orientechnologies/orientdb #6756 via ZenHub

@wolf4ood
Copy link
Member

I'm closing this since has been moved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants