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

(Client=55) Clustering: Cannot find best cluster for class 'OUser' #3311

Closed
thecyman opened this issue Dec 31, 2014 · 4 comments
Closed

(Client=55) Clustering: Cannot find best cluster for class 'OUser' #3311

thecyman opened this issue Dec 31, 2014 · 4 comments
Assignees
Milestone

Comments

@thecyman
Copy link

In a 2-node cluster, there is an issue. I'm having trouble finding the exact source, but here's what I have so far:

Part 1

  • I startup up node 1.
  • I then started node 2.

Part 2

Node 2's status isn't yet online:

WARNING Distributed server is not yet ONLINE (status=STARTING), reject incoming connection from /172.31.32.191:46027 [OServerNetworkListener]

Part 3

I then ran, on node #1:

orientdb {db=pumpup}> insert into OUser set password='test', status='ACTIVE', name='some_test_user'

This resulted in pages and pages of output on node 2, similar to:

2014-12-31 21:32:00:586 WARNING Distributed server is not yet ONLINE (status=STARTING), reject incoming connection from /172.31.32.191:46026 [OServerNetworkListener]
2014-12-31 21:32:00:715 WARNING Distributed server is not yet ONLINE (status=STARTING), reject incoming connection from /172.31.32.191:46027 [OServerNetworkListener]
2014-12-31 21:32:00:816 WARNING Distributed server is not yet ONLINE (status=STARTING), reject incoming connection from /172.31.32.191:46028 [OServerNetworkListener]
2014-12-31 21:32:00:976 WARNING Distributed server is not yet ONLINE (status=STARTING), reject incoming connection from /172.31.32.191:46029 [OServerNetworkListener]

It also resulting in pages and page of output in node 1's console. This message was repeated in a loop:

2014-12-31 21:31:45:639 WARNING Connection re-acquired transparently after 3ms and 1 retries: no errors will be thrown at application level [OStorageRemote]Error on formatting message 'Caught I/O errors, trying to reconnect (error: %s)'
java.util.MissingFormatArgumentException: Format specifier 's'
    at java.util.Formatter.format(Formatter.java:2487)
    at java.util.Formatter.format(Formatter.java:2423)
    at java.lang.String.format(String.java:2790)
    at com.orientechnologies.common.log.OLogManager.log(OLogManager.java:92)
    at com.orientechnologies.common.log.OLogManager.warn(OLogManager.java:147)
    at com.orientechnologies.orient.client.remote.OStorageRemote.handleException(OStorageRemote.java:1464)
    at com.orientechnologies.orient.client.remote.OStorageRemote.command(OStorageRemote.java:1007)
    at com.orientechnologies.orient.client.remote.OStorageRemoteThread.command(OStorageRemoteThread.java:434)
    at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:63)
    at com.orientechnologies.orient.console.OConsoleDatabaseApp.sqlCommand(OConsoleDatabaseApp.java:2268)
    at com.orientechnologies.orient.console.OConsoleDatabaseApp.insert(OConsoleDatabaseApp.java:477)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.orientechnologies.common.console.OConsoleApplication.execute(OConsoleApplication.java:381)
    at com.orientechnologies.common.console.OConsoleApplication.executeCommands(OConsoleApplication.java:246)
    at com.orientechnologies.common.console.OConsoleApplication.run(OConsoleApplication.java:135)
    at com.orientechnologies.orient.graph.console.OGremlinConsole.main(OGremlinConsole.java:62)

Part 4

I hit CTRL+C on node 2's ODB.
In node 1's console, I then got the error:

Error: com.orientechnologies.common.exception.OException: Cannot find best cluster for class 'OUser'. ClusterStrategy=local
@thecyman thecyman changed the title Clustering: Cannot find best cluster for class 'OUser' (Client=55) Clustering: Cannot find best cluster for class 'OUser' Dec 31, 2014
@kadishmal
Copy link

Can this be related to #2981?

@lvca
Copy link
Member

lvca commented Jan 4, 2015

It could be the same one.

@lvca
Copy link
Member

lvca commented Jan 4, 2015

Please can you try with last 2.0-SNAPSHOT?

@lvca lvca self-assigned this Jan 4, 2015
@lvca lvca added this to the 2.0 Final milestone Jan 4, 2015
@lvca lvca added bug labels Jan 4, 2015
@lvca
Copy link
Member

lvca commented Jan 11, 2015

Ok, I'm closing it. In case, please comment it again.

@lvca lvca closed this as completed Jan 11, 2015
@lvca lvca removed the In Progress label Jan 11, 2015
@lvca lvca modified the milestones: 2.0 Final, 2.0-rc2 Jan 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants