Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storm.zip visibility should be detected automatically #38

Open
anfeng opened this issue Aug 9, 2013 · 0 comments
Open

storm.zip visibility should be detected automatically #38

anfeng opened this issue Aug 9, 2013 · 0 comments

Comments

@anfeng
Copy link
Contributor

anfeng commented Aug 9, 2013

It would be nice if we auto-detected the visibility based on the file system permissions.

If you look in ClientDistributedCacheManager.isPublic in the mapreduce project for Hadoop. There is some code I wrote there a while ago that will do this same thing. You should be able to copy it.

http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/filecache/ClientDistributedCacheManager.java?revision=1431166&view=markup

line 235

anfeng added a commit to anfeng/storm-yarn that referenced this issue Aug 9, 2013
anfeng added a commit to anfeng/storm-yarn that referenced this issue Aug 9, 2013
revans2 added a commit that referenced this issue Aug 12, 2013
Issue #38: detect visibility of storm.zip programatically
revans2 added a commit that referenced this issue Aug 12, 2013
Issue #38: detect visibility of storm.zip programatically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant