Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
d54f19dc
Unverified
Commit
d54f19dc
authored
Feb 16, 2024
by
Zzm0809
Committed by
GitHub
Feb 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Optimization]optimization resource manager (#3154)
parent
cfdc97fa
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
24 deletions
+51
-24
ResourceServiceImpl.java
.../org/dinky/service/resource/impl/ResourceServiceImpl.java
+4
-3
HdfsResourceManager.java
...ain/java/org/dinky/resource/impl/HdfsResourceManager.java
+10
-9
LocalResourceManager.java
...in/java/org/dinky/resource/impl/LocalResourceManager.java
+5
-7
OssResourceManager.java
...main/java/org/dinky/resource/impl/OssResourceManager.java
+4
-4
Status.java
dinky-common/src/main/java/org/dinky/data/enums/Status.java
+9
-0
messages_en_US.properties
...-common/src/main/resources/i18n/messages_en_US.properties
+10
-1
messages_zh_CN.properties
...-common/src/main/resources/i18n/messages_zh_CN.properties
+9
-0
No files found.
dinky-admin/src/main/java/org/dinky/service/resource/impl/ResourceServiceImpl.java
View file @
d54f19dc
...
@@ -64,7 +64,7 @@ public class ResourceServiceImpl extends ServiceImpl<ResourcesMapper, Resources>
...
@@ -64,7 +64,7 @@ public class ResourceServiceImpl extends ServiceImpl<ResourcesMapper, Resources>
public
boolean
syncRemoteDirectoryStructure
()
{
public
boolean
syncRemoteDirectoryStructure
()
{
Resources
rootResource
=
getOne
(
new
LambdaQueryWrapper
<
Resources
>().
eq
(
Resources:
:
getPid
,
-
1
));
Resources
rootResource
=
getOne
(
new
LambdaQueryWrapper
<
Resources
>().
eq
(
Resources:
:
getPid
,
-
1
));
if
(
rootResource
==
null
)
{
if
(
rootResource
==
null
)
{
throw
new
BusException
(
"root directory is not exists!! please check database"
);
throw
new
BusException
(
Status
.
RESOURCE_ROOT_DIR_NOT_EXIST
);
}
}
List
<
Resources
>
local
=
list
();
List
<
Resources
>
local
=
list
();
Map
<
Integer
,
Resources
>
localMap
=
Map
<
Integer
,
Resources
>
localMap
=
...
@@ -96,7 +96,7 @@ public class ResourceServiceImpl extends ServiceImpl<ResourcesMapper, Resources>
...
@@ -96,7 +96,7 @@ public class ResourceServiceImpl extends ServiceImpl<ResourcesMapper, Resources>
long
count
=
count
(
long
count
=
count
(
new
LambdaQueryWrapper
<
Resources
>().
eq
(
Resources:
:
getPid
,
pid
).
eq
(
Resources:
:
getFileName
,
fileName
));
new
LambdaQueryWrapper
<
Resources
>().
eq
(
Resources:
:
getPid
,
pid
).
eq
(
Resources:
:
getFileName
,
fileName
));
if
(
count
>
0
)
{
if
(
count
>
0
)
{
throw
new
BusException
(
"folder is exists!"
);
throw
new
BusException
(
Status
.
RESOURCE_FOLDER_EXISTS
);
}
}
String
path
=
"/"
+
fileName
;
String
path
=
"/"
+
fileName
;
Resources
resources
=
new
Resources
();
Resources
resources
=
new
Resources
();
...
@@ -145,7 +145,7 @@ public class ResourceServiceImpl extends ServiceImpl<ResourcesMapper, Resources>
...
@@ -145,7 +145,7 @@ public class ResourceServiceImpl extends ServiceImpl<ResourcesMapper, Resources>
.
eq
(
Resources:
:
getPid
,
byId
.
getPid
())
.
eq
(
Resources:
:
getPid
,
byId
.
getPid
())
.
eq
(
Resources:
:
getFileName
,
fileName
)
.
eq
(
Resources:
:
getFileName
,
fileName
)
.
ne
(
Resources:
:
getId
,
id
));
.
ne
(
Resources:
:
getId
,
id
));
Assert
.
isFalse
(
count
>
0
,
()
->
new
BusException
(
"folder is exists!"
));
Assert
.
isFalse
(
count
>
0
,
()
->
new
BusException
(
Status
.
RESOURCE_FOLDER_EXISTS
));
List
<
String
>
split
=
StrUtil
.
split
(
sourceFullName
,
"/"
);
List
<
String
>
split
=
StrUtil
.
split
(
sourceFullName
,
"/"
);
split
.
remove
(
split
.
size
()
-
1
);
split
.
remove
(
split
.
size
()
-
1
);
split
.
add
(
fileName
);
split
.
add
(
fileName
);
...
@@ -254,6 +254,7 @@ public class ResourceServiceImpl extends ServiceImpl<ResourcesMapper, Resources>
...
@@ -254,6 +254,7 @@ public class ResourceServiceImpl extends ServiceImpl<ResourcesMapper, Resources>
* @param pResource pResource
* @param pResource pResource
* @param size size
* @param size size
*/
*/
@Transactional
(
rollbackFor
=
Exception
.
class
)
private
void
upload
(
private
void
upload
(
Integer
pid
,
String
desc
,
Consumer
<
String
>
uploadAction
,
String
fileName
,
Resources
pResource
,
long
size
)
{
Integer
pid
,
String
desc
,
Consumer
<
String
>
uploadAction
,
String
fileName
,
Resources
pResource
,
long
size
)
{
Resources
currentUploadResource
=
getOne
(
Resources
currentUploadResource
=
getOne
(
...
...
dinky-client/dinky-client-base/src/main/java/org/dinky/resource/impl/HdfsResourceManager.java
View file @
d54f19dc
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
package
org
.
dinky
.
resource
.
impl
;
package
org
.
dinky
.
resource
.
impl
;
import
org.dinky.data.enums.Status
;
import
org.dinky.data.exception.BusException
;
import
org.dinky.data.exception.BusException
;
import
org.dinky.data.model.ResourcesVO
;
import
org.dinky.data.model.ResourcesVO
;
import
org.dinky.resource.BaseResourceManager
;
import
org.dinky.resource.BaseResourceManager
;
...
@@ -47,7 +48,7 @@ public class HdfsResourceManager implements BaseResourceManager {
...
@@ -47,7 +48,7 @@ public class HdfsResourceManager implements BaseResourceManager {
try
{
try
{
getHdfs
().
delete
(
new
Path
(
getFilePath
(
path
)),
true
);
getHdfs
().
delete
(
new
Path
(
getFilePath
(
path
)),
true
);
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
BusException
.
valueOf
(
"file.delete.failed"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_DELETE_FAILED
,
e
);
}
}
}
}
...
@@ -56,7 +57,7 @@ public class HdfsResourceManager implements BaseResourceManager {
...
@@ -56,7 +57,7 @@ public class HdfsResourceManager implements BaseResourceManager {
try
{
try
{
getHdfs
().
rename
(
new
Path
(
getFilePath
(
path
)),
new
Path
(
getFilePath
(
newPath
)));
getHdfs
().
rename
(
new
Path
(
getFilePath
(
path
)),
new
Path
(
getFilePath
(
newPath
)));
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
BusException
.
valueOf
(
"file.rename.failed"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_RENAME_FAILED
,
e
);
}
}
}
}
...
@@ -68,7 +69,7 @@ public class HdfsResourceManager implements BaseResourceManager {
...
@@ -68,7 +69,7 @@ public class HdfsResourceManager implements BaseResourceManager {
stream
.
flush
();
stream
.
flush
();
stream
.
close
();
stream
.
close
();
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
BusException
.
valueOf
(
"file.upload.failed"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_UPLOAD_FAILED
,
e
);
}
}
}
}
...
@@ -80,7 +81,7 @@ public class HdfsResourceManager implements BaseResourceManager {
...
@@ -80,7 +81,7 @@ public class HdfsResourceManager implements BaseResourceManager {
stream
.
flush
();
stream
.
flush
();
stream
.
close
();
stream
.
close
();
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
BusException
.
valueOf
(
"file.upload.failed"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_UPLOAD_FAILED
,
e
);
}
}
}
}
...
@@ -122,7 +123,7 @@ public class HdfsResourceManager implements BaseResourceManager {
...
@@ -122,7 +123,7 @@ public class HdfsResourceManager implements BaseResourceManager {
.
fileName
(
file
.
getPath
().
getName
())
.
fileName
(
file
.
getPath
().
getName
())
.
isDirectory
(
file
.
isDirectory
())
.
isDirectory
(
file
.
isDirectory
())
.
type
(
0
)
.
type
(
0
)
.
size
(
file
.
get
BlockSize
())
.
size
(
file
.
get
Len
())
.
build
();
.
build
();
resList
.
add
(
resources
);
resList
.
add
(
resources
);
...
@@ -135,13 +136,13 @@ public class HdfsResourceManager implements BaseResourceManager {
...
@@ -135,13 +136,13 @@ public class HdfsResourceManager implements BaseResourceManager {
try
{
try
{
return
getHdfs
().
open
(
new
Path
(
getFilePath
(
path
)));
return
getHdfs
().
open
(
new
Path
(
getFilePath
(
path
)));
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
BusException
.
valueOf
(
"file.read.failed"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_READ_FAILED
,
e
);
}
}
}
}
public
FileSystem
getHdfs
()
{
public
FileSystem
getHdfs
()
{
if
(
hdfs
==
null
&&
instances
.
getResourcesEnable
().
getValue
())
{
if
(
hdfs
==
null
&&
instances
.
getResourcesEnable
().
getValue
())
{
throw
BusException
.
valueOf
(
"Resource configuration error, HDFS is not enabled"
);
throw
new
BusException
(
Status
.
RESOURCE_HDFS_CONFIGURATION_ERROR
);
}
}
return
hdfs
;
return
hdfs
;
}
}
...
@@ -154,7 +155,7 @@ public class HdfsResourceManager implements BaseResourceManager {
...
@@ -154,7 +155,7 @@ public class HdfsResourceManager implements BaseResourceManager {
try
{
try
{
getHdfs
().
exists
(
new
Path
(
path
));
getHdfs
().
exists
(
new
Path
(
path
));
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
BusException
.
valueOf
(
"hdfs.dir.or.file.not.exist"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_DIR_OR_FILE_NOT_EXIST
,
e
);
}
}
}
}
...
@@ -162,7 +163,7 @@ public class HdfsResourceManager implements BaseResourceManager {
...
@@ -162,7 +163,7 @@ public class HdfsResourceManager implements BaseResourceManager {
try
{
try
{
return
getHdfs
().
listStatus
(
new
Path
(
path
));
return
getHdfs
().
listStatus
(
new
Path
(
path
));
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
BusException
.
valueOf
(
"file.path.visit.failed"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_PATH_VISIT_FAILED
,
e
);
}
}
}
}
...
...
dinky-client/dinky-client-base/src/main/java/org/dinky/resource/impl/LocalResourceManager.java
View file @
d54f19dc
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
package
org
.
dinky
.
resource
.
impl
;
package
org
.
dinky
.
resource
.
impl
;
import
org.dinky.data.enums.Status
;
import
org.dinky.data.exception.BusException
;
import
org.dinky.data.exception.BusException
;
import
org.dinky.data.model.ResourcesVO
;
import
org.dinky.data.model.ResourcesVO
;
import
org.dinky.resource.BaseResourceManager
;
import
org.dinky.resource.BaseResourceManager
;
...
@@ -51,8 +52,7 @@ public class LocalResourceManager implements BaseResourceManager {
...
@@ -51,8 +52,7 @@ public class LocalResourceManager implements BaseResourceManager {
throw
new
BusException
(
"remove file failed,reason unknown"
);
throw
new
BusException
(
"remove file failed,reason unknown"
);
}
}
}
catch
(
IORuntimeException
e
)
{
}
catch
(
IORuntimeException
e
)
{
log
.
error
(
"remove file failed"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_DELETE_FAILED
,
e
);
throw
new
BusException
(
e
.
getMessage
());
}
}
}
}
...
@@ -62,8 +62,7 @@ public class LocalResourceManager implements BaseResourceManager {
...
@@ -62,8 +62,7 @@ public class LocalResourceManager implements BaseResourceManager {
String
newName
=
FileUtil
.
getName
(
newPath
);
String
newName
=
FileUtil
.
getName
(
newPath
);
FileUtil
.
rename
(
new
File
(
getFilePath
(
path
)),
newName
,
true
);
FileUtil
.
rename
(
new
File
(
getFilePath
(
path
)),
newName
,
true
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"rename file failed"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_RENAME_FAILED
,
e
);
throw
new
BusException
(
e
.
getMessage
());
}
}
}
}
...
@@ -72,8 +71,7 @@ public class LocalResourceManager implements BaseResourceManager {
...
@@ -72,8 +71,7 @@ public class LocalResourceManager implements BaseResourceManager {
try
{
try
{
FileUtil
.
writeFromStream
(
fileStream
,
getFilePath
(
path
));
FileUtil
.
writeFromStream
(
fileStream
,
getFilePath
(
path
));
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"putFile file failed"
,
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_UPLOAD_FAILED
,
e
);
throw
new
BusException
(
e
.
getMessage
());
}
}
}
}
...
@@ -121,7 +119,7 @@ public class LocalResourceManager implements BaseResourceManager {
...
@@ -121,7 +119,7 @@ public class LocalResourceManager implements BaseResourceManager {
.
filter
(
Objects:
:
nonNull
)
.
filter
(
Objects:
:
nonNull
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_PATH_VISIT_FAILED
,
e
);
}
}
}
}
...
...
dinky-client/dinky-client-base/src/main/java/org/dinky/resource/impl/OssResourceManager.java
View file @
d54f19dc
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
package
org
.
dinky
.
resource
.
impl
;
package
org
.
dinky
.
resource
.
impl
;
import
org.dinky.data.enums.Status
;
import
org.dinky.data.exception.BusException
;
import
org.dinky.data.exception.BusException
;
import
org.dinky.data.exception.DinkyException
;
import
org.dinky.data.model.ResourcesVO
;
import
org.dinky.data.model.ResourcesVO
;
import
org.dinky.oss.OssTemplate
;
import
org.dinky.oss.OssTemplate
;
import
org.dinky.resource.BaseResourceManager
;
import
org.dinky.resource.BaseResourceManager
;
...
@@ -66,7 +66,7 @@ public class OssResourceManager implements BaseResourceManager {
...
@@ -66,7 +66,7 @@ public class OssResourceManager implements BaseResourceManager {
try
{
try
{
getOssTemplate
().
putObject
(
getOssTemplate
().
getBucketName
(),
getFilePath
(
path
),
fileStream
);
getOssTemplate
().
putObject
(
getOssTemplate
().
getBucketName
(),
getFilePath
(
path
),
fileStream
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
throw
new
DinkyException
(
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_UPLOAD_FAILED
,
e
);
}
}
}
}
...
@@ -76,7 +76,7 @@ public class OssResourceManager implements BaseResourceManager {
...
@@ -76,7 +76,7 @@ public class OssResourceManager implements BaseResourceManager {
getOssTemplate
()
getOssTemplate
()
.
putObject
(
getOssTemplate
().
getBucketName
(),
getFilePath
(
path
),
FileUtil
.
getInputStream
(
file
));
.
putObject
(
getOssTemplate
().
getBucketName
(),
getFilePath
(
path
),
FileUtil
.
getInputStream
(
file
));
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
throw
new
DinkyException
(
e
);
throw
new
BusException
(
Status
.
RESOURCE_FILE_UPLOAD_FAILED
,
e
);
}
}
}
}
...
@@ -136,7 +136,7 @@ public class OssResourceManager implements BaseResourceManager {
...
@@ -136,7 +136,7 @@ public class OssResourceManager implements BaseResourceManager {
public
OssTemplate
getOssTemplate
()
{
public
OssTemplate
getOssTemplate
()
{
if
(
ossTemplate
==
null
&&
instances
.
getResourcesEnable
().
getValue
())
{
if
(
ossTemplate
==
null
&&
instances
.
getResourcesEnable
().
getValue
())
{
throw
BusException
.
valueOf
(
"Resource configuration error, OSS is not enabled"
);
throw
new
BusException
(
Status
.
RESOURCE_OSS_CONFIGURATION_ERROR
);
}
}
return
ossTemplate
;
return
ossTemplate
;
}
}
...
...
dinky-common/src/main/java/org/dinky/data/enums/Status.java
View file @
d54f19dc
...
@@ -296,6 +296,15 @@ public enum Status {
...
@@ -296,6 +296,15 @@ public enum Status {
*/
*/
ROOT_DIR_NOT_ALLOW_DELETE
(
9031
,
"resource.root.dir.not.allow.delete"
),
ROOT_DIR_NOT_ALLOW_DELETE
(
9031
,
"resource.root.dir.not.allow.delete"
),
RESOURCE_DIR_OR_FILE_NOT_EXIST
(
9032
,
"resource.dir.or.file.not.exist"
),
RESOURCE_DIR_OR_FILE_NOT_EXIST
(
9032
,
"resource.dir.or.file.not.exist"
),
RESOURCE_FILE_PATH_VISIT_FAILED
(
9033
,
"file.path.visit.failed"
),
RESOURCE_HDFS_CONFIGURATION_ERROR
(
9034
,
"resource.hdfs.configuration.error"
),
RESOURCE_FILE_UPLOAD_FAILED
(
9035
,
"file.upload.failed"
),
RESOURCE_FILE_RENAME_FAILED
(
9036
,
"file.rename.failed"
),
RESOURCE_FILE_DELETE_FAILED
(
9037
,
"file.delete.failed"
),
RESOURCE_FILE_READ_FAILED
(
9038
,
"file.read.failed"
),
RESOURCE_OSS_CONFIGURATION_ERROR
(
9039
,
"resource.oss.configuration.error"
),
RESOURCE_ROOT_DIR_NOT_EXIST
(
9040
,
"resource.root.dir.not.exist"
),
RESOURCE_FOLDER_EXISTS
(
9041
,
"resource.folder.exists"
),
/**
/**
* global exception
* global exception
...
...
dinky-common/src/main/resources/i18n/messages_en_US.properties
View file @
d54f19dc
...
@@ -158,6 +158,9 @@ role.binding.row.permission=Role Already Binding Row Permission , Can Not Delete
...
@@ -158,6 +158,9 @@ role.binding.row.permission=Role Already Binding Row Permission , Can Not Delete
unknown.i18n
=
Unknown i18n information, please check. . .
unknown.i18n
=
Unknown i18n information, please check. . .
file.upload.failed
=
File upload failed, reason: {0}
file.upload.failed
=
File upload failed, reason: {0}
file.rename.failed
=
File rename failed, reason: {0}
file.delete.failed
=
File delete failed, reason: {0}
file.read.failed
=
File read failed, reason: {0}
# dinky-alert
# dinky-alert
alert.rule.jobFail
=
Job Failure
alert.rule.jobFail
=
Job Failure
...
@@ -263,7 +266,7 @@ sys.resource.settings.hdfs.fs.defaultFS.note=fs.defaultFS configuration items, s
...
@@ -263,7 +266,7 @@ sys.resource.settings.hdfs.fs.defaultFS.note=fs.defaultFS configuration items, s
sys.resource.settings.hdfs.core.site
=
core-site.xml
sys.resource.settings.hdfs.core.site
=
core-site.xml
sys.resource.settings.hdfs.core.site.note
=
core-site.xml configuration file content,High availability required
sys.resource.settings.hdfs.core.site.note
=
core-site.xml configuration file content,High availability required
sys.resource.settings.hdfs.hdfs.site
=
hdfs-site.xml
sys.resource.settings.hdfs.hdfs.site
=
hdfs-site.xml
sys.resource.settings.hdfs.hdfs.site.note
=
hdfs-site.xml configuration file content
\u
FF0C
High availability required
sys.resource.settings.hdfs.hdfs.site.note
=
hdfs-site.xml configuration file content
,
High availability required
#Dinky Gateway
#Dinky Gateway
...
@@ -284,3 +287,8 @@ process.register.exits=The current task is executing, do not submit it repeatedl
...
@@ -284,3 +287,8 @@ process.register.exits=The current task is executing, do not submit it repeatedl
# resource
# resource
resource.root.dir.not.allow.delete
=
The root directory is not allowed to be deleted
resource.root.dir.not.allow.delete
=
The root directory is not allowed to be deleted
resource.dir.or.file.not.exist
=
The directory or file does not exist
resource.dir.or.file.not.exist
=
The directory or file does not exist
file.path.visit.failed
=
File path access failed, please check whether the path is correct/exist on the corresponding storage system
resource.hdfs.configuration.error
=
Resource configuration error, HDFS is not enabled
resource.oss.configuration.error
=
Resource configuration error, OSS is not enabled
resource.root.dir.not.exist
=
The root directory does not exist, please check the database
resource.folder.exists
=
The folder already exists
\ No newline at end of file
dinky-common/src/main/resources/i18n/messages_zh_CN.properties
View file @
d54f19dc
...
@@ -158,6 +158,9 @@ role.binding.row.permission=该角色已绑定行权限,无法删除
...
@@ -158,6 +158,9 @@ role.binding.row.permission=该角色已绑定行权限,无法删除
unknown.i18n
=
未知 i18n 信息,请检查. . .
unknown.i18n
=
未知 i18n 信息,请检查. . .
file.upload.failed
=
文件上传失败, 原因: {0}
file.upload.failed
=
文件上传失败, 原因: {0}
file.rename.failed
=
文件重命名失败, 原因: {0}
file.delete.failed
=
文件删除失败, 原因: {0}
file.read.failed
=
文件读取失败, 原因: {0}
daemon.task.config.not.exist
=
线程任务配置不能为空
daemon.task.config.not.exist
=
线程任务配置不能为空
daemon.task.not.support
=
不支持线程任务类型:
daemon.task.not.support
=
不支持线程任务类型:
...
@@ -285,3 +288,8 @@ process.register.exits=当前任务正在执行,请勿重复提交,如有问
...
@@ -285,3 +288,8 @@ process.register.exits=当前任务正在执行,请勿重复提交,如有问
# resource
# resource
resource.root.dir.not.allow.delete
=
根目录不允许删除
resource.root.dir.not.allow.delete
=
根目录不允许删除
resource.dir.or.file.not.exist
=
资源目录或文件不存在
resource.dir.or.file.not.exist
=
资源目录或文件不存在
file.path.visit.failed
=
文件路径访问失败,请检查路径在对应存储系统上是否正确/是否存在
resource.hdfs.configuration.error
=
资源配置错误,未启用HDFS
resource.oss.configuration.error
=
资源配置错误,未启用OSS
resource.root.dir.not.exist
=
根目录不存在,请检查数据库
resource.folder.exists
=
文件夹已存在
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment