nobolity commented on a change in pull request #8637:
URL: https://github.com/apache/dolphinscheduler/pull/8637#discussion_r819247930
##########
File path:
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java
##########
@@ -756,20 +749,19 @@ private boolean upload(User loginUser, String fullName,
MultipartFile file, Reso
Tenant tenant = tenantMapper.queryById(loginUser.getTenantId());
if (tenant != null) {
String tenantCode = tenant.getTenantCode();
-
try {
- String hdfsFilename =
HadoopUtils.getHdfsFileName(type,tenantCode,fullName);
- if (HadoopUtils.getInstance().exists(hdfsFilename)) {
- logger.error("resource type:{} name:{} has exist in
hdfs {}, can't create again.", type, RegexUtils.escapeNRT(fullName),
hdfsFilename);
- putMsg(result,
Status.RESOURCE_FILE_EXIST,hdfsFilename);
+ //xxx
Review comment:
had removed it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]