Hello, I'm having a problem with upgrading orientDB from 3.1.7 to 3.1.9 in a distributed configuration.
What I'm trying to do:
But after starting the database, I'm receiving the following error:
Mar 01 16:15:09 xxx server.sh[75199]: 2021-03-01 16:15:09:251 INFO [node1611150122103] Reassignment of clusters for database 'databasename' completed (classes=25) [OHazelcastPlugin][node1611150122103] Error on starting distributed plugin
Mar 01 16:15:09 xxx server.sh[75199]: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.distributed.ODistributedMomentum.getLSN(ODistributedMomentum.java:59)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.distributed.ODistributedSyncConfiguration.load(ODistributedSyncConfiguration.java:101)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.distributed.ODistributedSyncConfiguration.<init>(ODistributedSyncConfiguration.java:61)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl.getSyncConfiguration(ODistributedDatabaseImpl.java:867)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin$4.call(OHazelcastPlugin.java:898)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin$4.call(OHazelcastPlugin.java:875)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.executeInDistributedDatabaseLock(ODistributedAbstractPlugin.java:1963)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.loadLocalDatabases(OHazelcastPlugin.java:871)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:317)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:1258)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.OServer.activate(OServer.java:500)
Mar 01 16:15:09 xxx server.sh[75199]: at com.orientechnologies.orient.server.OServerMain$1.run(OServerMain.java:49)
Mar 01 16:15:09 xxx server.sh[75199]: 2021-03-01 16:15:09:256 INFO OrientDB Server is shutting down... [OServer]
Mar 01 16:15:09 xxx server.sh[75199]: 2021-03-01 16:15:09:256 INFO Shutting down listeners: [OServer]
Does anyone know what can be the issue here?
OrienrDB V 2.2.0
This is working-> select from #22:0;
But not this -> select from Classname;
Does anybody have any idea?
Error: com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error parsing query:
select from vertex
^
Encountered " <FROM> "from "" at line 1, column 8.
Was expecting one of:
<NULL> ...
"true" ...
"false" ...
"{" ...
<NULL> ...
"{" ...
"true" ...
"false" ...
Can anyone clarify what the future for manual indexes is, as the current state of code/docs is a bit confusing...
We've got an automatic index that we're querying directly , e.g. using SELECT COUNT(*) AS size FROM INDEX:
syntax.
This triggers the "Manual indexes are deprecated and will be removed" warning, but this is for an automatic index.
The docs at http://orientdb.com/docs/3.1.x/indexing/Indexes.html are silent on deprecation of any of the direct index queries.
Is the intention that direct query of indexes is also deprecated and will be removed, or just the manual management of indexes?
Hi All,
we have a distributed orientdb deployed in kubernetes in 2 differenct region,
we planed to change the rootpassword in both the orietndb
after changing the password, one of the cluster worked properly, but another is starting giving following logs,
'''''
DB name="OurDB"
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:323)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:259)
at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:988)
at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:958)
at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:949)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.openDatabase(ONetworkProtocolBinary.java:915)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.handshakeRequest(ONetworkProtocolBinary.java:249)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:214)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:82)
Caused by: com.orientechnologies.orient.core.exception.OStorageException: Cannot open storage it is acquired by other process
and this--
DB name="OSystem"
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedStorageDirtyFlag.lockFile(OPaginatedStorageDirtyFlag.java:109)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedStorageDirtyFlag.open(OPaginatedStorageDirtyFlag.java:142)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.preOpenSteps(OLocalPaginatedStorage.java:438)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:271)
... 18 more
$ANSI{green {db=videoDB}} authenticate()
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/orientdb/databases/OSystem' with mode=rw
""
and when we try to change the admin password, it is giving
com.orientechnologies.orient.server.distributed.ODistributedException: Quorum (2) cannot be reached on server "server2 name" because it is major than available node(1)
why orientdb wants to open OSystem db in mode=rw ?
and why db from one cluster allowed me to change password, where another is giving me Ouorum issues?
Thanks in advance
Can someboby please help me with this error (during startup)
https://privatebin.net/?99a3c6727d0b638a#4LZLjnY7PCSybfHD97waNtuRyhxQDQuMZJhM882BP2Rd
OS windows 10 20H2
JDK 16.0.1
OrientDB 3.2.0
DocValuesField "xxx" is too large, must be <= 32766