Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dlink
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
zhaowei
dlink
Commits
7698c3e4
Commit
7698c3e4
authored
Mar 20, 2022
by
wenmo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gateway format
parent
4bb764c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
53 deletions
+51
-53
ClusterConfig.java
...src/main/java/com/dlink/gateway/config/ClusterConfig.java
+2
-2
FlinkConfig.java
...y/src/main/java/com/dlink/gateway/config/FlinkConfig.java
+9
-10
KubernetesGateway.java
.../java/com/dlink/gateway/kubernetes/KubernetesGateway.java
+40
-41
No files found.
dlink-gateway/src/main/java/com/dlink/gateway/config/ClusterConfig.java
View file @
7698c3e4
...
@@ -26,8 +26,8 @@ public class ClusterConfig {
...
@@ -26,8 +26,8 @@ public class ClusterConfig {
this
.
yarnConfigPath
=
yarnConfigPath
;
this
.
yarnConfigPath
=
yarnConfigPath
;
}
}
public
static
ClusterConfig
build
(
String
flinkConfigPath
,
String
flinkLibPath
,
String
yarnConfigPath
){
public
static
ClusterConfig
build
(
String
flinkConfigPath
,
String
flinkLibPath
,
String
yarnConfigPath
)
{
return
new
ClusterConfig
(
flinkConfigPath
,
flinkLibPath
,
yarnConfigPath
);
return
new
ClusterConfig
(
flinkConfigPath
,
flinkLibPath
,
yarnConfigPath
);
}
}
@Override
@Override
...
...
dlink-gateway/src/main/java/com/dlink/gateway/config/FlinkConfig.java
View file @
7698c3e4
...
@@ -7,9 +7,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
...
@@ -7,9 +7,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import
lombok.Getter
;
import
lombok.Getter
;
import
lombok.Setter
;
import
lombok.Setter
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
/**
/**
...
@@ -26,12 +24,13 @@ public class FlinkConfig {
...
@@ -26,12 +24,13 @@ public class FlinkConfig {
private
ActionType
action
;
private
ActionType
action
;
private
SavePointType
savePointType
;
private
SavePointType
savePointType
;
private
String
savePoint
;
private
String
savePoint
;
// private List<ConfigPara> configParas;
// private List<ConfigPara> configParas;
private
Map
<
String
,
String
>
configuration
=
new
HashMap
<>();
private
Map
<
String
,
String
>
configuration
=
new
HashMap
<>();
private
static
final
ObjectMapper
mapper
=
new
ObjectMapper
();
private
static
final
ObjectMapper
mapper
=
new
ObjectMapper
();
public
static
final
String
DEFAULT_SAVEPOINT_PREFIX
=
"hdfs:///flink/savepoints/"
;
public
static
final
String
DEFAULT_SAVEPOINT_PREFIX
=
"hdfs:///flink/savepoints/"
;
public
FlinkConfig
()
{
public
FlinkConfig
()
{
}
}
...
@@ -48,7 +47,7 @@ public class FlinkConfig {
...
@@ -48,7 +47,7 @@ public class FlinkConfig {
this
.
configuration
=
configuration
;
this
.
configuration
=
configuration
;
}
}
public
static
FlinkConfig
build
(
Map
<
String
,
String
>
paras
){
public
static
FlinkConfig
build
(
Map
<
String
,
String
>
paras
)
{
/*List<ConfigPara> configParasList = new ArrayList<>();
/*List<ConfigPara> configParasList = new ArrayList<>();
for (Map.Entry<String, String> entry : paras.entrySet()) {
for (Map.Entry<String, String> entry : paras.entrySet()) {
configParasList.add(new ConfigPara(entry.getKey(),entry.getValue()));
configParasList.add(new ConfigPara(entry.getKey(),entry.getValue()));
...
@@ -56,27 +55,27 @@ public class FlinkConfig {
...
@@ -56,27 +55,27 @@ public class FlinkConfig {
return
new
FlinkConfig
(
paras
);
return
new
FlinkConfig
(
paras
);
}
}
public
static
FlinkConfig
build
(
String
jobName
,
String
jobId
,
String
actionStr
,
String
savePointTypeStr
,
String
savePoint
,
String
configParasStr
){
public
static
FlinkConfig
build
(
String
jobName
,
String
jobId
,
String
actionStr
,
String
savePointTypeStr
,
String
savePoint
,
String
configParasStr
)
{
// List<ConfigPara> configParasList = new ArrayList<>();
// List<ConfigPara> configParasList = new ArrayList<>();
Map
<
String
,
String
>
configMap
=
new
HashMap
<>();
Map
<
String
,
String
>
configMap
=
new
HashMap
<>();
JsonNode
paras
=
null
;
JsonNode
paras
=
null
;
if
(
Asserts
.
isNotNullString
(
configParasStr
))
{
if
(
Asserts
.
isNotNullString
(
configParasStr
))
{
try
{
try
{
paras
=
mapper
.
readTree
(
configParasStr
);
paras
=
mapper
.
readTree
(
configParasStr
);
}
catch
(
JsonProcessingException
e
)
{
}
catch
(
JsonProcessingException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
paras
.
forEach
((
JsonNode
node
)
->
{
paras
.
forEach
((
JsonNode
node
)
->
{
configMap
.
put
(
node
.
get
(
"key"
).
asText
(),
node
.
get
(
"value"
).
asText
());
configMap
.
put
(
node
.
get
(
"key"
).
asText
(),
node
.
get
(
"value"
).
asText
());
// configParasList.add(new ConfigPara(node.get("key").asText(), node.get("value").asText()));
// configParasList.add(new ConfigPara(node.get("key").asText(), node.get("value").asText()));
}
}
);
);
}
}
return
new
FlinkConfig
(
jobName
,
jobId
,
ActionType
.
get
(
actionStr
),
SavePointType
.
get
(
savePointTypeStr
),
savePoint
,
configMap
);
return
new
FlinkConfig
(
jobName
,
jobId
,
ActionType
.
get
(
actionStr
),
SavePointType
.
get
(
savePointTypeStr
),
savePoint
,
configMap
);
}
}
public
static
FlinkConfig
build
(
String
jobId
,
String
actionStr
,
String
savePointTypeStr
,
String
savePoint
){
public
static
FlinkConfig
build
(
String
jobId
,
String
actionStr
,
String
savePointTypeStr
,
String
savePoint
)
{
return
new
FlinkConfig
(
null
,
jobId
,
ActionType
.
get
(
actionStr
),
SavePointType
.
get
(
savePointTypeStr
),
savePoint
,
null
);
return
new
FlinkConfig
(
null
,
jobId
,
ActionType
.
get
(
actionStr
),
SavePointType
.
get
(
savePointTypeStr
),
savePoint
,
null
);
}
}
}
}
dlink-gateway/src/main/java/com/dlink/gateway/kubernetes/KubernetesGateway.java
View file @
7698c3e4
...
@@ -22,7 +22,6 @@ import org.apache.flink.kubernetes.kubeclient.FlinkKubeClient;
...
@@ -22,7 +22,6 @@ import org.apache.flink.kubernetes.kubeclient.FlinkKubeClient;
import
org.apache.flink.kubernetes.kubeclient.FlinkKubeClientFactory
;
import
org.apache.flink.kubernetes.kubeclient.FlinkKubeClientFactory
;
import
org.apache.flink.runtime.client.JobStatusMessage
;
import
org.apache.flink.runtime.client.JobStatusMessage
;
import
org.apache.flink.runtime.jobgraph.SavepointConfigOptions
;
import
org.apache.flink.runtime.jobgraph.SavepointConfigOptions
;
import
org.apache.flink.yarn.configuration.YarnConfigOptions
;
import
java.util.*
;
import
java.util.*
;
import
java.util.concurrent.CompletableFuture
;
import
java.util.concurrent.CompletableFuture
;
...
@@ -44,24 +43,24 @@ public abstract class KubernetesGateway extends AbstractGateway {
...
@@ -44,24 +43,24 @@ public abstract class KubernetesGateway extends AbstractGateway {
super
(
config
);
super
(
config
);
}
}
public
void
init
(){
public
void
init
()
{
initConfig
();
initConfig
();
initKubeClient
();
initKubeClient
();
}
}
private
void
initConfig
(){
private
void
initConfig
()
{
configuration
=
GlobalConfiguration
.
loadConfiguration
(
config
.
getClusterConfig
().
getFlinkConfigPath
());
configuration
=
GlobalConfiguration
.
loadConfiguration
(
config
.
getClusterConfig
().
getFlinkConfigPath
());
if
(
Asserts
.
isNotNull
(
config
.
getFlinkConfig
().
getConfiguration
()))
{
if
(
Asserts
.
isNotNull
(
config
.
getFlinkConfig
().
getConfiguration
()))
{
addConfigParas
(
config
.
getFlinkConfig
().
getConfiguration
());
addConfigParas
(
config
.
getFlinkConfig
().
getConfiguration
());
}
}
configuration
.
set
(
DeploymentOptions
.
TARGET
,
getType
().
getLongValue
());
configuration
.
set
(
DeploymentOptions
.
TARGET
,
getType
().
getLongValue
());
if
(
Asserts
.
isNotNullString
(
config
.
getFlinkConfig
().
getSavePoint
()))
{
if
(
Asserts
.
isNotNullString
(
config
.
getFlinkConfig
().
getSavePoint
()))
{
configuration
.
setString
(
SavepointConfigOptions
.
SAVEPOINT_PATH
,
config
.
getFlinkConfig
().
getSavePoint
());
configuration
.
setString
(
SavepointConfigOptions
.
SAVEPOINT_PATH
,
config
.
getFlinkConfig
().
getSavePoint
());
}
}
if
(
Asserts
.
isNotNullString
(
config
.
getFlinkConfig
().
getJobName
()))
{
if
(
Asserts
.
isNotNullString
(
config
.
getFlinkConfig
().
getJobName
()))
{
configuration
.
set
(
KubernetesConfigOptions
.
CLUSTER_ID
,
config
.
getFlinkConfig
().
getJobName
());
configuration
.
set
(
KubernetesConfigOptions
.
CLUSTER_ID
,
config
.
getFlinkConfig
().
getJobName
());
}
}
if
(
getType
().
isApplicationMode
())
{
if
(
getType
().
isApplicationMode
())
{
String
uuid
=
UUID
.
randomUUID
().
toString
().
replace
(
"-"
,
""
);
String
uuid
=
UUID
.
randomUUID
().
toString
().
replace
(
"-"
,
""
);
if
(
configuration
.
contains
(
CheckpointingOptions
.
CHECKPOINTS_DIRECTORY
))
{
if
(
configuration
.
contains
(
CheckpointingOptions
.
CHECKPOINTS_DIRECTORY
))
{
configuration
.
set
(
CheckpointingOptions
.
CHECKPOINTS_DIRECTORY
,
configuration
.
getString
(
CheckpointingOptions
.
CHECKPOINTS_DIRECTORY
)
+
"/"
+
uuid
);
configuration
.
set
(
CheckpointingOptions
.
CHECKPOINTS_DIRECTORY
,
configuration
.
getString
(
CheckpointingOptions
.
CHECKPOINTS_DIRECTORY
)
+
"/"
+
uuid
);
...
@@ -72,94 +71,94 @@ public abstract class KubernetesGateway extends AbstractGateway {
...
@@ -72,94 +71,94 @@ public abstract class KubernetesGateway extends AbstractGateway {
}
}
}
}
private
void
initKubeClient
(){
private
void
initKubeClient
()
{
client
=
FlinkKubeClientFactory
.
getInstance
().
fromConfiguration
(
configuration
,
"client"
);
client
=
FlinkKubeClientFactory
.
getInstance
().
fromConfiguration
(
configuration
,
"client"
);
}
}
private
void
addConfigParas
(
Map
<
String
,
String
>
configMap
){
private
void
addConfigParas
(
Map
<
String
,
String
>
configMap
)
{
if
(
Asserts
.
isNotNull
(
configMap
))
{
if
(
Asserts
.
isNotNull
(
configMap
))
{
for
(
Map
.
Entry
<
String
,
String
>
entry
:
configMap
.
entrySet
())
{
for
(
Map
.
Entry
<
String
,
String
>
entry
:
configMap
.
entrySet
())
{
this
.
configuration
.
setString
(
entry
.
getKey
(),
entry
.
getValue
());
this
.
configuration
.
setString
(
entry
.
getKey
(),
entry
.
getValue
());
}
}
}
}
}
}
public
SavePointResult
savepointCluster
(){
public
SavePointResult
savepointCluster
()
{
return
savepointCluster
(
null
);
return
savepointCluster
(
null
);
}
}
public
SavePointResult
savepointCluster
(
String
savePoint
){
public
SavePointResult
savepointCluster
(
String
savePoint
)
{
if
(
Asserts
.
isNull
(
client
))
{
if
(
Asserts
.
isNull
(
client
))
{
init
();
init
();
}
}
SavePointResult
result
=
SavePointResult
.
build
(
getType
());
SavePointResult
result
=
SavePointResult
.
build
(
getType
());
configuration
.
set
(
KubernetesConfigOptions
.
CLUSTER_ID
,
config
.
getClusterConfig
().
getAppId
());
configuration
.
set
(
KubernetesConfigOptions
.
CLUSTER_ID
,
config
.
getClusterConfig
().
getAppId
());
KubernetesClusterClientFactory
clusterClientFactory
=
new
KubernetesClusterClientFactory
();
KubernetesClusterClientFactory
clusterClientFactory
=
new
KubernetesClusterClientFactory
();
String
clusterId
=
clusterClientFactory
.
getClusterId
(
configuration
);
String
clusterId
=
clusterClientFactory
.
getClusterId
(
configuration
);
if
(
Asserts
.
isNull
(
clusterId
)){
if
(
Asserts
.
isNull
(
clusterId
))
{
throw
new
GatewayException
(
"No cluster id was specified. Please specify a cluster to which you would like to connect."
);
throw
new
GatewayException
(
"No cluster id was specified. Please specify a cluster to which you would like to connect."
);
}
}
KubernetesClusterDescriptor
clusterDescriptor
=
clusterClientFactory
.
createClusterDescriptor
(
configuration
);
KubernetesClusterDescriptor
clusterDescriptor
=
clusterClientFactory
.
createClusterDescriptor
(
configuration
);
try
(
ClusterClient
<
String
>
clusterClient
=
clusterDescriptor
.
retrieve
(
try
(
ClusterClient
<
String
>
clusterClient
=
clusterDescriptor
.
retrieve
(
clusterId
).
getClusterClient
()){
clusterId
).
getClusterClient
())
{
List
<
JobInfo
>
jobInfos
=
new
ArrayList
<>();
List
<
JobInfo
>
jobInfos
=
new
ArrayList
<>();
CompletableFuture
<
Collection
<
JobStatusMessage
>>
listJobsFuture
=
clusterClient
.
listJobs
();
CompletableFuture
<
Collection
<
JobStatusMessage
>>
listJobsFuture
=
clusterClient
.
listJobs
();
for
(
JobStatusMessage
jobStatusMessage:
listJobsFuture
.
get
())
{
for
(
JobStatusMessage
jobStatusMessage
:
listJobsFuture
.
get
())
{
JobInfo
jobInfo
=
new
JobInfo
(
jobStatusMessage
.
getJobId
().
toHexString
());
JobInfo
jobInfo
=
new
JobInfo
(
jobStatusMessage
.
getJobId
().
toHexString
());
jobInfo
.
setStatus
(
JobInfo
.
JobStatus
.
RUN
);
jobInfo
.
setStatus
(
JobInfo
.
JobStatus
.
RUN
);
jobInfos
.
add
(
jobInfo
);
jobInfos
.
add
(
jobInfo
);
}
}
runSavePointJob
(
jobInfos
,
clusterClient
,
savePoint
);
runSavePointJob
(
jobInfos
,
clusterClient
,
savePoint
);
result
.
setJobInfos
(
jobInfos
);
result
.
setJobInfos
(
jobInfos
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
result
.
fail
(
LogUtil
.
getError
(
e
));
result
.
fail
(
LogUtil
.
getError
(
e
));
}
}
return
null
;
return
null
;
}
}
public
SavePointResult
savepointJob
(){
public
SavePointResult
savepointJob
()
{
return
savepointJob
(
null
);
return
savepointJob
(
null
);
}
}
public
SavePointResult
savepointJob
(
String
savePoint
){
public
SavePointResult
savepointJob
(
String
savePoint
)
{
if
(
Asserts
.
isNull
(
client
))
{
if
(
Asserts
.
isNull
(
client
))
{
init
();
init
();
}
}
if
(
Asserts
.
isNull
(
config
.
getFlinkConfig
().
getJobId
()))
{
if
(
Asserts
.
isNull
(
config
.
getFlinkConfig
().
getJobId
()))
{
throw
new
GatewayException
(
"No job id was specified. Please specify a job to which you would like to savepont."
);
throw
new
GatewayException
(
"No job id was specified. Please specify a job to which you would like to savepont."
);
}
}
if
(
Asserts
.
isNotNullString
(
config
.
getClusterConfig
().
getYarnConfigPath
()))
{
if
(
Asserts
.
isNotNullString
(
config
.
getClusterConfig
().
getYarnConfigPath
()))
{
configuration
=
GlobalConfiguration
.
loadConfiguration
(
config
.
getClusterConfig
().
getYarnConfigPath
());
configuration
=
GlobalConfiguration
.
loadConfiguration
(
config
.
getClusterConfig
().
getYarnConfigPath
());
}
else
{
}
else
{
configuration
=
new
Configuration
();
configuration
=
new
Configuration
();
}
}
SavePointResult
result
=
SavePointResult
.
build
(
getType
());
SavePointResult
result
=
SavePointResult
.
build
(
getType
());
configuration
.
set
(
KubernetesConfigOptions
.
CLUSTER_ID
,
config
.
getClusterConfig
().
getAppId
());
configuration
.
set
(
KubernetesConfigOptions
.
CLUSTER_ID
,
config
.
getClusterConfig
().
getAppId
());
KubernetesClusterClientFactory
clusterClientFactory
=
new
KubernetesClusterClientFactory
();
KubernetesClusterClientFactory
clusterClientFactory
=
new
KubernetesClusterClientFactory
();
String
clusterId
=
clusterClientFactory
.
getClusterId
(
configuration
);
String
clusterId
=
clusterClientFactory
.
getClusterId
(
configuration
);
if
(
Asserts
.
isNull
(
clusterId
)){
if
(
Asserts
.
isNull
(
clusterId
))
{
throw
new
GatewayException
(
"No cluster id was specified. Please specify a cluster to which you would like to connect."
);
throw
new
GatewayException
(
"No cluster id was specified. Please specify a cluster to which you would like to connect."
);
}
}
KubernetesClusterDescriptor
clusterDescriptor
=
clusterClientFactory
.
createClusterDescriptor
(
configuration
);
KubernetesClusterDescriptor
clusterDescriptor
=
clusterClientFactory
.
createClusterDescriptor
(
configuration
);
try
(
ClusterClient
<
String
>
clusterClient
=
clusterDescriptor
.
retrieve
(
clusterId
).
getClusterClient
())
{
try
(
ClusterClient
<
String
>
clusterClient
=
clusterDescriptor
.
retrieve
(
clusterId
).
getClusterClient
())
{
List
<
JobInfo
>
jobInfos
=
new
ArrayList
<>();
List
<
JobInfo
>
jobInfos
=
new
ArrayList
<>();
jobInfos
.
add
(
new
JobInfo
(
config
.
getFlinkConfig
().
getJobId
(),
JobInfo
.
JobStatus
.
FAIL
));
jobInfos
.
add
(
new
JobInfo
(
config
.
getFlinkConfig
().
getJobId
(),
JobInfo
.
JobStatus
.
FAIL
));
runSavePointJob
(
jobInfos
,
clusterClient
,
savePoint
);
runSavePointJob
(
jobInfos
,
clusterClient
,
savePoint
);
result
.
setJobInfos
(
jobInfos
);
result
.
setJobInfos
(
jobInfos
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
result
.
fail
(
LogUtil
.
getError
(
e
));
result
.
fail
(
LogUtil
.
getError
(
e
));
}
}
return
result
;
return
result
;
}
}
private
void
runSavePointJob
(
List
<
JobInfo
>
jobInfos
,
ClusterClient
<
String
>
clusterClient
,
String
savePoint
)
throws
Exception
{
private
void
runSavePointJob
(
List
<
JobInfo
>
jobInfos
,
ClusterClient
<
String
>
clusterClient
,
String
savePoint
)
throws
Exception
{
for
(
JobInfo
jobInfo:
jobInfos
)
{
for
(
JobInfo
jobInfo
:
jobInfos
)
{
if
(
ActionType
.
CANCEL
==
config
.
getFlinkConfig
().
getAction
())
{
if
(
ActionType
.
CANCEL
==
config
.
getFlinkConfig
().
getAction
())
{
clusterClient
.
cancel
(
JobID
.
fromHexString
(
jobInfo
.
getJobId
()));
clusterClient
.
cancel
(
JobID
.
fromHexString
(
jobInfo
.
getJobId
()));
jobInfo
.
setStatus
(
JobInfo
.
JobStatus
.
CANCEL
);
jobInfo
.
setStatus
(
JobInfo
.
JobStatus
.
CANCEL
);
continue
;
continue
;
}
}
switch
(
config
.
getFlinkConfig
().
getSavePointType
()){
switch
(
config
.
getFlinkConfig
().
getSavePointType
())
{
case
TRIGGER:
case
TRIGGER:
CompletableFuture
<
String
>
triggerFuture
=
clusterClient
.
triggerSavepoint
(
JobID
.
fromHexString
(
jobInfo
.
getJobId
()),
savePoint
);
CompletableFuture
<
String
>
triggerFuture
=
clusterClient
.
triggerSavepoint
(
JobID
.
fromHexString
(
jobInfo
.
getJobId
()),
savePoint
);
jobInfo
.
setSavePoint
(
triggerFuture
.
get
());
jobInfo
.
setSavePoint
(
triggerFuture
.
get
());
...
@@ -179,20 +178,20 @@ public abstract class KubernetesGateway extends AbstractGateway {
...
@@ -179,20 +178,20 @@ public abstract class KubernetesGateway extends AbstractGateway {
}
}
}
}
public
TestResult
test
(){
public
TestResult
test
()
{
try
{
try
{
initConfig
();
initConfig
();
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
"测试 Flink 配置失败:"
+
e
.
getMessage
());
logger
.
error
(
"测试 Flink 配置失败:"
+
e
.
getMessage
());
return
TestResult
.
fail
(
"测试 Flink 配置失败:"
+
e
.
getMessage
());
return
TestResult
.
fail
(
"测试 Flink 配置失败:"
+
e
.
getMessage
());
}
}
try
{
try
{
initKubeClient
();
initKubeClient
();
logger
.
info
(
"配置连接测试成功"
);
logger
.
info
(
"配置连接测试成功"
);
return
TestResult
.
success
();
return
TestResult
.
success
();
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
"测试 Kubernetes 配置失败:"
+
e
.
getMessage
());
logger
.
error
(
"测试 Kubernetes 配置失败:"
+
e
.
getMessage
());
return
TestResult
.
fail
(
"测试 Kubernetes 配置失败:"
+
e
.
getMessage
());
return
TestResult
.
fail
(
"测试 Kubernetes 配置失败:"
+
e
.
getMessage
());
}
}
}
}
}
}
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