Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flink-ha-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢森
flink-ha-test
Commits
63acaa30
Commit
63acaa30
authored
Oct 16, 2020
by
谢森
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
<dev> 修改异常打印
parent
12cc45a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/main/java/FlinkYarnHaTest.java
src/main/java/FlinkYarnHaTest.java
+8
-8
No files found.
src/main/java/FlinkYarnHaTest.java
View file @
63acaa30
...
@@ -32,14 +32,14 @@ public class FlinkYarnHaTest {
...
@@ -32,14 +32,14 @@ public class FlinkYarnHaTest {
String
username
=
prop
.
getProperty
(
HadoopSecurityUtil
.
USER_NAME
);
String
username
=
prop
.
getProperty
(
HadoopSecurityUtil
.
USER_NAME
);
String
authentication
=
prop
.
getProperty
(
HadoopSecurityUtil
.
HADOOP_SECURITY_AUTHENTICATION
);
String
authentication
=
prop
.
getProperty
(
HadoopSecurityUtil
.
HADOOP_SECURITY_AUTHENTICATION
);
if
(!
ParamUtil
.
check
(
yarnConfDir
,
keytabFile
,
kerberosPrincipal
,
krb5Conf
,
username
))
{
if
(!
ParamUtil
.
check
(
yarnConfDir
,
keytabFile
,
kerberosPrincipal
,
krb5Conf
,
username
,
authentication
))
{
throw
new
RuntimeException
(
String
.
format
(
"(Please check the parameters) 请检查参数 [
{ "
+
HadoopSecurityUtil
.
YARN_CONF_DIR
throw
new
RuntimeException
(
String
.
format
(
"(Please check the parameters) 请检查参数 [
%s],[%s],[%s],[%s],[%s],[%s]"
,
+
" }],[{ "
+
HadoopSecurityUtil
.
ZORK_KEYTAB_FILE_KEY
HadoopSecurityUtil
.
HADOOP_SECURITY_AUTHENTICATION
,
+
" }],[{ "
+
HadoopSecurityUtil
.
ZORK_KERBEROS_PRINCIPAL
HadoopSecurityUtil
.
ZORK_KEYTAB_FILE_KEY
,
+
" }],[{ "
+
HadoopSecurityUtil
.
HADOOP_SECURITY_KRB_5_CONF
HadoopSecurityUtil
.
ZORK_KERBEROS_PRINCIPAL
,
+
" }],[{ "
+
HadoopSecurityUtil
.
USER_NAME
HadoopSecurityUtil
.
HADOOP_SECURITY_KRB_5_CONF
,
+
" }],[{"
+
HadoopSecurityUtil
.
HADOOP_SECURITY_AUTHENTICATION
+
"}]"
HadoopSecurityUtil
.
USER_NAME
,
));
HadoopSecurityUtil
.
HADOOP_SECURITY_AUTHENTICATION
));
}
}
...
...
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