Hi Lvc@,
Tried in 1.7-SNAPSHOT (
*orientdb-community-1.7-20140401.111357-75-distribution*)
But here distributed server is not started and throwing following
exception. Is this the right snapshot I used?
2014-04-01 17:24:51:731 INFO Saving distributed configuration file for
database 'GraphDB' to:
C:\ODB\orientdb-1.7\databases\GraphDB\distributed-config.json
[OHazelcastPlugin]
2014-04-01 17:24:51:762 INFO [node1396353289264] found no previous messages
in queue orientdb.node.node1396353289264.GraphDB.request
[OHazelcastDistributedMessageService]Cannot route READ_RECORD operation
against #0:1 to the distributed node
com.orientechnologies.orient.server.distributed.ODistributedStorage cannot
be cast to com.orientechnologies.orient.core.storage.OStorageEmbedded
->
com.orientechnologies.orient.core.tx.OTransactionAbstract.lockRecord(OTransactionAbstract.java:102)
-> com.orientechnologies.orient.core.id.ORecordId.lock(ORecordId.java:266)
->
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.readRecord(OLocalPaginatedStorage.java:1230)
->
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.readRecord(OLocalPaginatedStorage.java:1207)
->
com.orientechnologies.orient.server.distributed.ODistributedStorage.readRecord(ODistributedStorage.java:254)
->
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read(ODatabaseRaw.java:247)
->
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeReadRecord(ODatabaseRecordAbstract.java:899)
->
com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord(OTransactionNoTx.java:65)
->
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload(ODatabaseRecordTx.java:279)
->
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload(ODatabaseRecordTx.java:39)
->
com.orientechnologies.orient.core.record.ORecordAbstract.reload(ORecordAbstract.java:309)
->
com.orientechnologies.orient.core.record.impl.ODocument.reload(ODocument.java:399)
->
com.orientechnologies.orient.core.type.ODocumentWrapper.reload(ODocumentWrapper.java:87)
->
com.orientechnologies.orient.core.type.ODocumentWrapperNoClass.reload(ODocumentWrapperNoClass.java:69)
->
com.orientechnologies.orient.core.metadata.schema.OSchemaShared.load(OSchemaShared.java:690)
->
com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:115)
->
com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:110)
->
com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:53)
->
com.orientechnologies.orient.server.distributed.ODistributedStorage.getResource(ODistributedStorage.java:393)
->
com.orientechnologies.orient.core.metadata.OMetadataDefault.init(OMetadataDefault.java:110)
->
com.orientechnologies.orient.core.metadata.OMetadataDefault.load(OMetadataDefault.java:68)
->
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:288)
->
com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:54)
->
com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:695)
->
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.initDatabaseInstance(OHazelcastDistributedDatabase.java:310)
->
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.setOnline(OHazelcastDistributedDatabase.java:317)
->
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.loadDistributedDatabases(OHazelcastPlugin.java:685)
->
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:196)
->
com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:654)
-> com.orientechnologies.orient.server.OServer.activate(OServer.java:220)
->
com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:32)Exception
in thread "main" com.orientechnologies.common.exception.OException: Error
on creation of shared resource
at
com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:55)
at
com.orientechnologies.orient.server.distributed.ODistributedStorage.getResource(ODistributedStorage.java:393)
at
com.orientechnologies.orient.core.metadata.OMetadataDefault.init(OMetadataDefault.java:110)
at
com.orientechnologies.orient.core.metadata.OMetadataDefault.load(OMetadataDefault.java:68)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:288)
at
com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:54)
at
com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:695)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.initDatabaseInstance(OHazelcastDistributedDatabase.java:310)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.setOnline(OHazelcastDistributedDatabase.java:317)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.loadDistributedDatabases(OHazelcastPlugin.java:685)
at
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:196)
at
com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:654)
at
com.orientechnologies.orient.server.OServer.activate(OServer.java:220)
at
com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:32)
Caused by:
com.orientechnologies.orient.core.exception.ORecordNotFoundException: The
record with id '#0:1' not found
at
com.orientechnologies.orient.core.record.ORecordAbstract.reload(ORecordAbstract.java:316)
at
com.orientechnologies.orient.core.record.impl.ODocument.reload(ODocument.java:399)
at
com.orientechnologies.orient.core.type.ODocumentWrapper.reload(ODocumentWrapper.java:87)
at
com.orientechnologies.orient.core.type.ODocumentWrapperNoClass.reload(ODocumentWrapperNoClass.java:69)
at
com.orientechnologies.orient.core.metadata.schema.OSchemaShared.load(OSchemaShared.java:690)
at
com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:115)
at
com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:110)
at
com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:53)
... 13 more
Caused by: com.orientechnologies.orient.core.exception.ODatabaseException:
Error on retrieving record #0:1 (cluster: internal)
at
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read(ODatabaseRaw.java:253)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeReadRecord(ODatabaseRecordAbstract.java:899)
at
com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord(OTransactionNoTx.java:65)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload(ODatabaseRecordTx.java:279)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload(ODatabaseRecordTx.java:39)
at
com.orientechnologies.orient.core.record.ORecordAbstract.reload(ORecordAbstract.java:309)
... 20 more
Caused by: com.orientechnologies.orient.core.exception.OStorageException:
Cannot route READ_RECORD operation against #0:1 to the distributed node
at
com.orientechnologies.orient.server.distributed.ODistributedStorage.handleDistributedException(ODistributedStorage.java:722)
at
com.orientechnologies.orient.server.distributed.ODistributedStorage.readRecord(ODistributedStorage.java:276)
at
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read(ODatabaseRaw.java:247)
... 25 more
Caused by: java.lang.ClassCastException:
com.orientechnologies.orient.server.distributed.ODistributedStorage cannot
be cast to com.orientechnologies.orient.core.storage.OStorageEmbedded
at
com.orientechnologies.orient.core.tx.OTransactionAbstract.lockRecord(OTransactionAbstract.java:102)
at
com.orientechnologies.orient.core.id.ORecordId.lock(ORecordId.java:266)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.readRecord(OLocalPaginatedStorage.java:1230)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.readRecord(OLocalPaginatedStorage.java:1207)
at
com.orientechnologies.orient.server.distributed.ODistributedStorage.readRecord(ODistributedStorage.java:254)
... 26 more
Thanks,
Madhu
On Monday, March 31, 2014 2:16:18 AM UTC+5:30, Lvc@ wrote:
>
> Hi,
> I meant 1.7-SNAPSHOT not 1.7-rc2-SNAPSHOT.
>
> Lvc@
>
>
> On 29 March 2014 13:52, Dodong Juan <[email protected] <javascript:>>wrote:
>
>> No joy .. Same problem
>>
>> OrientDB console v.1.7-rc2-SNAPSHOT (build UNKNOWN@r; 2014-03-25
>> 08:48:53-0400) www.orientechnologies.com
>>
>> Type 'help' to display all the commands supported.
>>
>> Installing extensions for GREMLIN language v.2.5.0-SNAPSHOT
>>
>>
>> orientdb> connect remote:localhost/GratefulDeadConcerts admin admin
>>
>> Connecting to database [remote:localhost/GratefulDeadConcerts] with user
>> 'admin'...
>>
>> Error:
>> com.orientechnologies.orient.core.exception.OSerializationException: Error
>> on unmarshalling field 'members' in record #-1:-1 with value:
>>
>> Error: java.lang.NullPointerException
>>
>>
>> try this with :
>>
>> orientdb-community-1.7-rc2-20140325.140539-115-distribution.tar.gz<https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/1.7-rc2-SNAPSHOT/orientdb-community-1.7-rc2-20140325.140539-115-distribution.tar.gz>
>>
>>
>> All I did was run it with dserver.sh and tried connecting to it.
>>
>>
>> On Saturday, March 29, 2014 8:37:44 AM UTC-4, Dodong Juan wrote:
>>>
>>> cool .. let me try this ..
>>>
>>> On Friday, March 28, 2014 6:24:26 AM UTC-4, Lvc@ wrote:
>>>>
>>>> Hi all,
>>>> I fixed a bug on distributed version. May you try last 1.7-SNAPSHOT?
>>>>
>>>> Lvc@
>>>>
>>>>
>>>> On 28 March 2014 07:19, madhu <[email protected]> wrote:
>>>>
>>>>> Still I am seeing this issue in orientdb-community-1.7-rc2 also...
>>>>> Trying to get connection throwing following exception...
>>>>>
>>>>>
>>>>> com.orientechnologies.orient.core.exception.OSerializationException:
>>>>> Error on unmarshalling field 'members' in record #-1:-1 with value:
>>>>>
>>>>> Any solution on this?
>>>>>
>>>>> Thanks,
>>>>> Madhu
>>>>>
>>>>>
>>>>> On Monday, March 10, 2014 11:50:21 PM UTC+5:30, Dodong Juan wrote:
>>>>>>
>>>>>> a bug then ..?
>>>>>>
>>>>>> On Friday, March 7, 2014 12:55:41 AM UTC-5, odbuser wrote:
>>>>>>>
>>>>>>> Yes, it's only dserver.sh and get the same error:
>>>>>>>
>>>>>>> orientdb> connect remote:localhost/GratefulDeadConcerts admin
>>>>>>> admin
>>>>>>> Connecting to database [remote:localhost/GratefulDeadConcerts] with
>>>>>>> user 'admin'...
>>>>>>> Error:
>>>>>>> com.orientechnologies.orient.core.exception.OSerializationException:
>>>>>>> Error on unmarshalling field 'members' in record #-1:-1 with value:
>>>>>>> Error: java.lang.NullPointerException
>>>>>>>
>>>>>>> The server process prints this when trying to login:
>>>>>>> WARN Current implementation of storage does not support sbtree
>>>>>>> collections [ODatabaseRecordAbstract$1]
>>>>>>>
>>>>>>> On Thursday, March 6, 2014 5:48:22 PM UTC-5, Dodong Juan wrote:
>>>>>>>>
>>>>>>>> aha .. server.sh is fine .. but dserver.sh gives the problem. But
>>>>>>>> at least i can test now ..
>>>>>>>>
>>>>>>>> So there is a problem with the distributed server ..
>>>>>>>>
>>>>>>>> On Thursday, March 6, 2014 5:42:47 PM UTC-5, odbuser wrote:
>>>>>>>>>
>>>>>>>>> It is working fine for me under Java 7u51 and 8b129.
>>>>>>>>>
>>>>>>>>> Are you sure that you are doing a clean install?
>>>>>>>>> Are you sure that it is running the version of Java that you think
>>>>>>>>> it is?
>>>>>>>>> What OS?
>>>>>>>>>
>>>>>>>>> I have a local git directory:
>>>>>>>>>
>>>>>>>>> git pull
>>>>>>>>> ant clean installg
>>>>>>>>> cd ../releases/orientdb-community-1.7-rc2-SNAPSHOT/bin
>>>>>>>>> ./server.sh
>>>>>>>>>
>>>>>>>>> In another console in the same directory:
>>>>>>>>>
>>>>>>>>> ./console.sh
>>>>>>>>>
>>>>>>>>> orientdb> connect remote:localhost/GratefulDeadConcerts admin
>>>>>>>>> admin
>>>>>>>>> Connecting to database [remote:localhost/GratefulDeadConcerts]
>>>>>>>>> with user 'admin'...OK
>>>>>>>>> orientdb {GratefulDeadConcerts}>
>>>>>>>>>
>>>>>>>> --
>>>>>
>>>>> ---
>>>>> 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.
>>>>>
>>>>
>>>> --
>>
>> ---
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
---
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.