alibaba / alibaba/x-deeplearning

yarn DistributedCache用的有问题

Open
#52 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PureBasic
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

```
private void setupResource(Path resourcePath, LocalResource localResource) throws IOException {
FileStatus fileStatus;
fileStatus = FileSystem.get(conf).getFileStatus(resourcePath);

localResource.setResource(URL.fromPath(resourcePath));
localResource.setSize(fileStatus.getLen());
localResource.setTimestamp(fileStatus.getModificationTime());
localResource.setType(LocalResourceType.FILE);
localResource.setVisibility(LocalResourceVisibility.PUBLIC);
}
```
LocalResourceVisibility.PUBLIC应该是LocalResourceVisibility.PRIVATE
上传到/user/xxx/.xdl除非每一层路径都是755

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the setupResource method shown in the issue and inspect how LocalResourceVisibility is assigned. Verify the behavior for resources uploaded under /user/xxx/.xdl, where the issue says PUBLIC requires every parent path to be 755. Done means the resource uses private visibility and the relevant behavior is covered by the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
hadoop, java
Domain
distributed-systems, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.