Exception on create FullText LUCENE index from console (and from JAVA API)

40 views
Skip to first unread message

Maxim Nikolaev

unread,
Feb 6, 2018, 7:36:53 AM2/6/18
to OrientDB
2018-02-06 09:45:28:097 FINE  {db=newdb17122017} Read record #367:465922 v.3 size=142 bytes (thread=36 tx=false) [OEnterpriseLocalPaginatedStorage]
2018-02-06 09:45:28:097 FINE  {db=newdb17122017} Read record #367:465923 v.2 size=142 bytes (thread=36 tx=false) [OEnterpriseLocalPaginatedStorage]$ANSI{green {db=newdb17122017}} Error during read of record
com.orientechnologies.orient.core.exception.ODatabaseException: Database 'plocal:/media/newdb/HD/orient/databases/newdb17122017' is closed
        DB name="newdb17122017"
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.checkOpeness(ODatabaseDocumentTx.java:3145)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.getMetadata(ODatabaseDocumentTx.java:837)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:2058)
        at com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord(OTransactionNoTx.java:98)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:1766)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:102)
        at com.orientechnologies.orient.core.iterator.OIdentifiableIterator.readCurrentRecord(OIdentifiableIterator.java:300)
        at com.orientechnologies.orient.core.iterator.ORecordIteratorCluster.hasNext(ORecordIteratorCluster.java:141)
        at com.orientechnologies.orient.core.index.OIndexAbstract.indexCluster(OIndexAbstract.java:1025)
        at com.orientechnologies.orient.core.index.OIndexAbstract.fillIndex(OIndexAbstract.java:539)
        at com.orientechnologies.orient.core.index.OIndexAbstract.create(OIndexAbstract.java:250)
        at com.orientechnologies.lucene.index.OLuceneIndexNotUnique.create(OLuceneIndexNotUnique.java:250)
        at com.orientechnologies.lucene.index.OLuceneIndexNotUnique.create(OLuceneIndexNotUnique.java:51)
        at com.orientechnologies.orient.core.index.OIndexManagerShared.createIndex(OIndexManagerShared.java:169)
        at com.orientechnologies.orient.core.index.OIndexManagerProxy.createIndex(OIndexManagerProxy.java:87)
        at com.orientechnologies.orient.core.metadata.schema.OClassImpl.createIndex(OClassImpl.java:1897)
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLCreateIndex.execute(OCommandExecutorSQLCreateIndex.java:269)
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:74)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:3208)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:3146)
        at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:69)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1529)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:646)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:384)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:207)
        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)

2018-02-06 09:45:28:121 FINE  {db=newdb17122017} Creating Lucene index in 'RAMDirectory@2ac7f870 lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@55a15a1'... [OLuceneFullTextIndexEngine]
2018-02-06 09:45:28:122 FINE  {db=newdb17122017} Creating Lucene index in 'RAMDirectory@133b0946 lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@12daa33f'... [OLuceneFullTextIndexEngine]
2018-02-06 09:45:28:447 INFO  {db=newdb17122017} --> OK, indexed 22,050,364 items in 3,575,172 ms [OIndexRebuildOutputListener]$ANSI{green {db=newdb17122017}} Exception during index '_Place.address' creation
java.lang.NullPointerException
        at com.orientechnologies.orient.core.iterator.ORecordIteratorCluster.hasNext(ORecordIteratorCluster.java:145)
        at com.orientechnologies.orient.core.index.OIndexAbstract.indexCluster(OIndexAbstract.java:1025)
        at com.orientechnologies.orient.core.index.OIndexAbstract.fillIndex(OIndexAbstract.java:539)
        at com.orientechnologies.orient.core.index.OIndexAbstract.create(OIndexAbstract.java:250)
        at com.orientechnologies.lucene.index.OLuceneIndexNotUnique.create(OLuceneIndexNotUnique.java:250)
        at com.orientechnologies.lucene.index.OLuceneIndexNotUnique.create(OLuceneIndexNotUnique.java:51)
        at com.orientechnologies.orient.core.index.OIndexManagerShared.createIndex(OIndexManagerShared.java:169)
        at com.orientechnologies.orient.core.index.OIndexManagerProxy.createIndex(OIndexManagerProxy.java:87)
        at com.orientechnologies.orient.core.metadata.schema.OClassImpl.createIndex(OClassImpl.java:1897)
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLCreateIndex.execute(OCommandExecutorSQLCreateIndex.java:269)
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:74)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:3208)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:3146)
        at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:69)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1529)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:646)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:384)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:207)
        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)
$ANSI{green {db=newdb17122017}} Exception `6568F562` in storage `newdb17122017`
com.orientechnologies.orient.core.index.OIndexException: Cannot create the index '_Place.address'
        DB name="newdb17122017"
        at com.orientechnologies.orient.core.index.OIndexAbstract.create(OIndexAbstract.java:270)
        at com.orientechnologies.lucene.index.OLuceneIndexNotUnique.create(OLuceneIndexNotUnique.java:250)
        at com.orientechnologies.lucene.index.OLuceneIndexNotUnique.create(OLuceneIndexNotUnique.java:51)
        at com.orientechnologies.orient.core.index.OIndexManagerShared.createIndex(OIndexManagerShared.java:169)
        at com.orientechnologies.orient.core.index.OIndexManagerProxy.createIndex(OIndexManagerProxy.java:87)
        at com.orientechnologies.orient.core.metadata.schema.OClassImpl.createIndex(OClassImpl.java:1897)
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLCreateIndex.execute(OCommandExecutorSQLCreateIndex.java:269)
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:74)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:3208)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:3146)
        at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:69)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1529)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:646)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:384)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:207)
        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)
Caused by: java.lang.NullPointerException
        at com.orientechnologies.orient.core.iterator.ORecordIteratorCluster.hasNext(ORecordIteratorCluster.java:145)
        at com.orientechnologies.orient.core.index.OIndexAbstract.indexCluster(OIndexAbstract.java:1025)
        at com.orientechnologies.orient.core.index.OIndexAbstract.fillIndex(OIndexAbstract.java:539)
        at com.orientechnologies.orient.core.index.OIndexAbstract.create(OIndexAbstract.java:250)
        ... 15 more

2018-02-06 09:45:28:769 FINE  Disconnecting connection OClientConnection [id=1, source=/192.168.27.205:44226, since=1517895791742]... [OClientConnectionManager]
2018-02-06 09:45:28:771 FINE  Disconnected connection OClientConnection [id=1, source=/192.168.27.205:44226, since=1517895791742] found 0 channels [OClientConnectionManager]
2018-02-06 09:45:28:791 FINE  {db=newdb17122017} Sent run-time exception to the client /192.168.27.205:44206: com.orientechnologies.orient.core.index.OIndexException: Cannot create the index '_Place.address'
        DB name="newdb17122017" [ONetworkProtocolBinary]
2018-02-06 09:45:28:792 FINE  Sent run-time exception to the client /192.168.27.205:44226: com.orientechnologies.orient.core.exception.OSecurityAccessException: Token not valid
        DB name="newdb17122017" [ONetworkProtocolBinary]Error executing request
com.orientechnologies.orient.core.exception.OSecurityAccessException: Token not valid
        DB name="newdb17122017"
        at com.orientechnologies.orient.core.metadata.security.OSecurityShared.authenticate(OSecurityShared.java:262)
        at com.orientechnologies.orient.core.metadata.security.OSecurityProxy.authenticate(OSecurityProxy.java:111)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:344)
        at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:919)
        at com.orientechnologies.orient.server.OClientConnection.init(OClientConnection.java:234)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.onBeforeOperationalRequest(ONetworkProtocolBinary.java:485)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:354)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:207)
        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)

2018-02-06 09:45:43:919 FINE  Start fuzzy checkpoint flushed LSN is LSN{segment=0, position=707743} [OWOWCache$PeriodicalFuzzyCheckpointTask]
2018-02-06 09:45:43:920 FINE  Checking file integrity of osequence.cpm... [OFileClassic]
2018-02-06 09:45:43:920 FINE  Reached maximum of opened files 513 (max=512), closed 1 files. Consider to raise this limit by increasing the global setting 'storage.openFiles.limit' and the OS limit on opened files per processor [OClosableLinkedContainer]
2018-02-06 09:45:43:921 FINE  Checking file integrity of internal.pcl... [OFileClassic]
2018-02-06 09:45:43:921 FINE  Reached maximum of opened files 513 (max=512), closed 1 files. Consider to raise this limit by increasing the global setting 'storage.openFiles.limit' and the OS limit on opened files per processor [OClosableLinkedContainer]
2018-02-06 09:45:43:921 FINE  Checking file integrity of obackuplog.pcl... [OFileClassic]

Luigi Dell'Aquila

unread,
Feb 6, 2018, 9:53:59 AM2/6/18
to orient-...@googlegroups.com
Hi Maxim,

Which OrientDB version are you using?
Do you have a deterministic way to reproduce the problem?

Thanks

Luigi

--

---
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 orient-database+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maxim Nikolaev

unread,
Feb 6, 2018, 12:00:43 PM2/6/18
to OrientDB
Enterprise edition 2.2
Also l have used 2.2.31 common edition and 3.0 rc1 common edition.

Now database have size 500 gb
May be cause is memory settings

Maxim Nikolaev

unread,
Feb 6, 2018, 12:01:51 PM2/6/18
to OrientDB
I have not determenistics way reproduce it, I can’t resolve it
Reply all
Reply to author
Forward
0 new messages