hadoop-cos icon indicating copy to clipboard operation
hadoop-cos copied to clipboard

cos 支持创建同名的文件和目录,使用 fileSystem.isDirectory 返回的是文件不合理,无法判断目录是文件合适目录,而 hadoop 是不支持在同一个目录创建同名的文件和目录。

Open e-mhui opened this issue 5 months ago • 4 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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. image

通过文件后缀判断不太合理呀。

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.

e-mhui avatar Sep 02 '24 08:09 e-mhui