You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2014/09/18 17:08:34 UTC

[jira] [Created] (OAK-2112) DocumentNodeStore: Error calculating the machine id

Thomas Mueller created OAK-2112:
-----------------------------------

             Summary: DocumentNodeStore: Error calculating the machine id
                 Key: OAK-2112
                 URL: https://issues.apache.org/jira/browse/OAK-2112
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: mongomk
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller
            Priority: Minor
             Fix For: 1.1


In some cases, the machine id (which is used to identify the cluster id) can not be calculated. The exception is a bit strange:

{noformat}
java.net.SocketException: No such device
	at java.net.NetworkInterface.getMacAddr0(Native Method)
	at java.net.NetworkInterface.getHardwareAddress(NetworkInterface.java:388) 
	at org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfo.getMachineId(ClusterNodeInfo.java:454)
{noformat}

The exception should be logged as a warning, not an error. Also, the next network interface could be tried out.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)