Observed that write.lock file is only getting created when "dserver" is started.
Guys any help? On Thursday, 11 June 2015 11:12:56 UTC+5:30, Kapil Ranade wrote: > > Version: orientdb-community-2.1-rc3 > > I get following exception when I start dserver on two machines. As you can > see one of the lucene index files is causing this error. > > This looks like a bug to me. Is there any workaround? > > 2015-06-11 11:03:54:665 INFO ok size=129.00KB compressedSize=4808 > ratio=97% elapsed=4ms [ODeployDatabaseTask] > 2015-06-11 11:03:54:666 INFO - Compressing file > luceneIndexes\Person.FIRST_NAME_LUCENE\segments.gen... [ODeployDatabaseTask] > 2015-06-11 11:03:54:667 INFO ok size=20b compressedSize=11 ratio=45% > elapsed=0ms [ODeployDatabaseTask] > 2015-06-11 11:03:54:667 INFO - Compressing file > luceneIndexes\Person.FIRST_NAME_LUCENE\segments_2... [ODeployDatabaseTask] > 2015-06-11 11:03:54:667 INFO ok size=81b compressedSize=49 ratio=40% > elapsed=0ms [ODeployDatabaseTask] > 2015-06-11 11:03:54:668 INFO - Compressing file > luceneIndexes\Person.FIRST_NAME_LUCENE\write.lock... [ODeployDatabaseTask] > 2015-06-11 11:03:54:668 INFO error: java.io.IOException: The process > cannot access the file because another process has locked a portion of the > file [ODeployDatabaseTask]Cannot compress file: D:\Tools\Graph > DB\orientdb-community-2.1-rc3\databases\testNode\luceneIndexes\Person.FIRST_NAME_LUCENE\write.lock > java.io.IOException: The process cannot access the file because another > process has locked a portion of the file > at java.io.FileInputStream.readBytes(Native Method) > at java.io.FileInputStream.read(FileInputStream.java:220) > at > com.orientechnologies.common.io.OIOUtils.copyStream(OIOUtils.java:165) > at > com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.addFolder(OZIPCompressionUtil.java:142) > at > com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.addFolder(OZIPCompressionUtil.java:120) > at > com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.addFolder(OZIPCompressionUtil.java:120) > at > com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.addFolder(OZIPCompressionUtil.java:120) > at > com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.compressDirectory(OZIPCompressionUtil.java:51) > at > com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.backup(OLocalPaginatedStorage.java:158) > at > com.orientechnologies.orient.server.distributed.ODistributedStorage.backup(ODistributedStorage.java:1349) > at > com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.backup(ODatabaseDocumentTx.java:2605) > at > com.orientechnologies.orient.server.distributed.task.ODeployDatabaseTask.execute(ODeployDatabaseTask.java:140) > at > com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.executeOnLocalNode(OHazelcastPlugin.java:776) > at > com.orientechnologies.orient.server.hazelcast.ODistributedWorker.onMessage(ODistributedWorker.java:300) > at > com.orientechnologies.orient.server.hazelcast.ODistributedWorker.run(ODistributedWorker.java:121) > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
