Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2112

DocumentNodeStore: Error calculating the machine id

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.21
    • 1.0.22, 1.1.1
    • mongomk
    • None

    Description

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

      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)
      

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

      Attachments

        Activity

          People

            thomasm Thomas Mueller
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: