mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 05:09:48 +08:00
fix download resource file that under the directory error (#3007)
* add mybatis-3 notice in the top-level notice * fix download resource file that under the directory error
This commit is contained in:
parent
1c47a15ddb
commit
25607f8815
@ -1021,7 +1021,7 @@ public class ResourcesService extends BaseService {
|
||||
|
||||
String tenantCode = tenant.getTenantCode();
|
||||
|
||||
String hdfsFileName = HadoopUtils.getHdfsFileName(resource.getType(), tenantCode, resource.getAlias());
|
||||
String hdfsFileName = HadoopUtils.getHdfsFileName(resource.getType(), tenantCode, resource.getFullName());
|
||||
|
||||
String localFileName = FileUtils.getDownloadFilename(resource.getAlias());
|
||||
logger.info("resource hdfs path is {} ", hdfsFileName);
|
||||
|
Loading…
Reference in New Issue
Block a user