[
https://issues.apache.org/jira/browse/STORM-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15377063#comment-15377063
]
Paul Milliken commented on STORM-1193:
--------------------------------------
This is occurring in our development environment. We have many developers each
starting and stopping their own isolated storm clusters.
Unfortunately, the nature of the work being done means that they can't really
share instances. It's also very unlikely (I'd go as far as to say impossible)
that we'll be able to get the relevant security policies set up on all the
environments that we would need to.
We were hoping to upgrade to 1.0.1 in order to take advantage of the
performance improvements that have been put in. Unfortunately, this is likely
to prevent us from doing that.
> supervisor-test error creating symlinks on windows
> --------------------------------------------------
>
> Key: STORM-1193
> URL: https://issues.apache.org/jira/browse/STORM-1193
> Project: Apache Storm
> Issue Type: Bug
> Environment: Windows7
> Java7
> Reporter: Chuck Burgess
> Priority: Minor
>
> The test-worker-launch-command-run-as-user testcase errors rather than fails,
> due to what seems to be a privilege issue with creating a symlink.
> {quote}
> 5701 \[main] INFO b.s.d.supervisor - Creating symlinks for worker-id:
> fake-worker-id storm-id: fake-storm-id to its port artifacts directory
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.nio.file.FileSystemException:
> C:\path\to\Temp\storm-local8914443830909286033\workers\fake-worker-id\artifacts:
> A required privilege is not held by the client.
> at sun.nio.fs.WindowsException.translateToIOException
> (WindowsException.java:86)
> sun.nio.fs.WindowsException.rethrowAsIOException
> (WindowsException.java:97)
> sun.nio.fs.WindowsException.rethrowAsIOException
> (WindowsException.java:102)
> sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink
> (WindowsFileSystemProvider.java:577)
> java.nio.file.Files.createSymbolicLink (Files.java:994)
> backtype.storm.util$create_symlink_BANG_.invoke (util.clj:604)
> backtype.storm.daemon.supervisor$create_artifacts_link.invoke
> (supervisor.clj:811)
> backtype.storm.daemon.supervisor/fn (supervisor.clj:898)
> clojure.lang.MultiFn.invoke (MultiFn.java:251)
> backtype.storm.supervisor_test$fn__498$fn__501$fn__502$fn__503.invoke
> (supervisor_test.clj:472)
> clojure.core$with_redefs_fn.invoke (core.clj:7209)
> backtype.storm.supervisor_test$fn__498$fn__501$fn__502.invoke
> (supervisor_test.clj:462)
> backtype.storm.supervisor_test$fn__498$fn__501.invoke
> (supervisor_test.clj:462)
> backtype.storm.supervisor_test/fn (supervisor_test.clj:451)
> {quote}
> I don't know if the testcase itself should be catching the error and
> presenting it as a failed test, or if the original code should be catching it
> and reacting.
> What's odd here is that if this is using my own user account and privileges,
> then it should work, because my account _does_ have permission to create
> symlinks.
> Tested against master branch (c12e28c829)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)