Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2456

Error when running Flux on Windows in non-elevated command prompt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.3
    • None
    • Flux, storm-core
    • None

    Description

      Running:

      mvn compile exec:java -Dexec.args="--local -R /topology.yaml"
      

      I get the following errors.

      It works if I run in an elevated command prompt though.

      17:22:48 [SLOT_1027] ERROR org.apache.storm.daemon.supervisor.Slot - Error when processing event
      java.nio.file.FileSystemException: C:\Users\maurgi\AppData\Local\Temp\0924ce14-5d18-4da2-ab49-abfe37e59742\workers\c487e249-7225-4836-b7f0-b840f1a05732\artifacts: A required privilege is
       not held by the client.
              at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) ~[?:1.8.0_121]
              at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:1.8.0_121]
              at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[?:1.8.0_121]
              at sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(WindowsFileSystemProvider.java:585) ~[?:1.8.0_121]
              at java.nio.file.Files.createSymbolicLink(Files.java:1043) ~[?:1.8.0_121]
              at org.apache.storm.daemon.supervisor.AdvancedFSOps.createSymlink(AdvancedFSOps.java:354) ~[storm-core-1.0.3.jar:1.0.3]
              at org.apache.storm.daemon.supervisor.Container.createArtifactsLink(Container.java:383) ~[storm-core-1.0.3.jar:1.0.3]
              at org.apache.storm.daemon.supervisor.Container.setup(Container.java:321) ~[storm-core-1.0.3.jar:1.0.3]
              at org.apache.storm.daemon.supervisor.LocalContainerLauncher.launchContainer(LocalContainerLauncher.java:44) ~[storm-core-1.0.3.jar:1.0.3]
              at org.apache.storm.daemon.supervisor.Slot.handleWaitingForBlobLocalization(Slot.java:387) ~[storm-core-1.0.3.jar:1.0.3]
              at org.apache.storm.daemon.supervisor.Slot.stateMachineStep(Slot.java:275) ~[storm-core-1.0.3.jar:1.0.3]
              at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:741) [storm-core-1.0.3.jar:1.0.3]
      17:22:48 [SLOT_1027] ERROR org.apache.storm.utils.Utils - Halting process: Error when processing an event
      java.lang.RuntimeException: Halting process: Error when processing an event
              at org.apache.storm.utils.Utils.exitProcess(Utils.java:1749) [storm-core-1.0.3.jar:1.0.3]
              at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:774) [storm-core-1.0.3.jar:1.0.3]
      

      Attachments

        1. javaFlux.zip
          7 kB
          Mauro Giusti

        Activity

          People

            Unassigned Unassigned
            maurgi Mauro Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: