Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15687

Unable to start more than one node on a single server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.0.0-alpha3
    • persistence

    Description

      If I try to start two server nodes on my laptop from the CLI tool, the second fails to start with the following error:

      Oct 05, 2021 5:13:06 PM org.apache.ignite.lang.IgniteLogger error
      SEVERE: Unable to start node=[node-2].
      class org.apache.ignite.lang.IgniteInternalException: While lock file: work/vault/LOCK: Resource temporarily unavailable
      	at org.apache.ignite.internal.vault.persistence.PersistentVaultService.start(PersistentVaultService.java:103)
      	at org.apache.ignite.internal.vault.VaultManager.start(VaultManager.java:50)
      	at org.apache.ignite.internal.app.IgniteImpl.doStartComponent(IgniteImpl.java:385)
      	at org.apache.ignite.internal.app.IgniteImpl.start(IgniteImpl.java:238)
      	at org.apache.ignite.internal.app.IgnitionImpl.doStart(IgnitionImpl.java:142)
      	at org.apache.ignite.internal.app.IgnitionImpl.start(IgnitionImpl.java:72)
      	at org.apache.ignite.app.IgniteCliRunner.main(IgniteCliRunner.java:59)
      Caused by: org.rocksdb.RocksDBException: While lock file: work/vault/LOCK: Resource temporarily unavailable
      	at org.rocksdb.RocksDB.open(Native Method)
      	at org.rocksdb.RocksDB.open(RocksDB.java:251)
      	at org.apache.ignite.internal.vault.persistence.PersistentVaultService.start(PersistentVaultService.java:100)
      	... 6 more
      
      Oct 05, 2021 5:13:06 PM org.apache.ignite.lang.IgniteLogger error
      SEVERE: Unable to stop component=[org.apache.ignite.internal.vault.VaultManager@1a1da881] within node=[node-2]
      java.lang.NullPointerException
      	at org.apache.ignite.internal.vault.persistence.PersistentVaultService.close(PersistentVaultService.java:121)
      	at org.apache.ignite.internal.vault.VaultManager.stop(VaultManager.java:56)
      	at org.apache.ignite.internal.app.IgniteImpl.doStopNode(IgniteImpl.java:418)
      	at org.apache.ignite.internal.app.IgniteImpl.start(IgniteImpl.java:292)
      	at org.apache.ignite.internal.app.IgnitionImpl.doStart(IgnitionImpl.java:142)
      	at org.apache.ignite.internal.app.IgnitionImpl.start(IgnitionImpl.java:72)
      	at org.apache.ignite.app.IgniteCliRunner.main(IgniteCliRunner.java:59)
      
      Exception in thread "main" class org.apache.ignite.lang.IgniteException: Unable to start node=[node-2].
      	at org.apache.ignite.internal.app.IgnitionImpl.doStart(IgnitionImpl.java:147)
      	at org.apache.ignite.internal.app.IgnitionImpl.start(IgnitionImpl.java:72)
      	at org.apache.ignite.app.IgniteCliRunner.main(IgniteCliRunner.java:59)
      Caused by: class org.apache.ignite.lang.IgniteException: Unable to start node=[node-2].
      	at org.apache.ignite.internal.app.IgniteImpl.start(IgniteImpl.java:294)
      	at org.apache.ignite.internal.app.IgnitionImpl.doStart(IgnitionImpl.java:142)
      	... 2 more
      Caused by: class org.apache.ignite.lang.IgniteInternalException: While lock file: work/vault/LOCK: Resource temporarily unavailable
      	at org.apache.ignite.internal.vault.persistence.PersistentVaultService.start(PersistentVaultService.java:103)
      	at org.apache.ignite.internal.vault.VaultManager.start(VaultManager.java:50)
      	at org.apache.ignite.internal.app.IgniteImpl.doStartComponent(IgniteImpl.java:385)
      	at org.apache.ignite.internal.app.IgniteImpl.start(IgniteImpl.java:238)
      	... 3 more
      Caused by: org.rocksdb.RocksDBException: While lock file: work/vault/LOCK: Resource temporarily unavailable
      	at org.rocksdb.RocksDB.open(Native Method)
      	at org.rocksdb.RocksDB.open(RocksDB.java:251)
      	at org.apache.ignite.internal.vault.persistence.PersistentVaultService.start(PersistentVaultService.java:100)
      	... 6 more
      

      Attachments

        Issue Links

          Activity

            People

              slava.koptilin Vyacheslav Koptilin
              vkulichenko Valentin Kulichenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m