com.hazelcast.simulator.agent.workerprocess.SpawnWorkerFailedException: Failed to start Worker

GitHub | pveentjer | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Worker start failure: Could not create directory

    GitHub | 8 months ago | pveentjer
    com.hazelcast.simulator.agent.workerprocess.SpawnWorkerFailedException: Failed to start Worker

    Root Cause Analysis

    1. com.hazelcast.simulator.utils.UncheckedIOException

      Could not create directory: /home/users/simulator/hazelcast-simulator-0.9-SNAPSHOT/workers/2016-08-24__09_27_44

      at com.hazelcast.simulator.utils.FileUtils.ensureExistingDirectory()
    2. com.hazelcast.simulator
      AgentOperationProcessor$LaunchWorkerCallable.call
      1. com.hazelcast.simulator.utils.FileUtils.ensureExistingDirectory(FileUtils.java:271)
      2. com.hazelcast.simulator.utils.FileUtils.ensureExistingDirectory(FileUtils.java:257)
      3. com.hazelcast.simulator.agent.Agent.getSessionDirectory(Agent.java:137)
      4. com.hazelcast.simulator.agent.workerprocess.WorkerProcessLauncher.launch(WorkerProcessLauncher.java:71)
      5. com.hazelcast.simulator.protocol.processors.AgentOperationProcessor$LaunchWorkerCallable.call(AgentOperationProcessor.java:170)
      6. com.hazelcast.simulator.protocol.processors.AgentOperationProcessor$LaunchWorkerCallable.call(AgentOperationProcessor.java:157)
      6 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      6. java.lang.Thread.run(Thread.java:744)
      6 frames