hadoop-cos
hadoop-cos copied to clipboard
cos 支持创建同名的文件和目录,使用 fileSystem.isDirectory 返回的是文件不合理,无法判断目录是文件合适目录,而 hadoop 是不支持在同一个目录创建同名的文件和目录。
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
通过文件后缀判断不太合理呀。
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.