You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hdfs.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,13 +76,15 @@ Keytabs are valid infinitely, while tickets can expire. Especially for long-runn
76
76
77
77
Submit the job with the keytab:
78
78
79
-
dcos spark run --submit-args="--principal user@REALM --keytab <keytab-file-path>..."
79
+
dcos spark run --kerberos-principal=user@REALM --keytab-secret-path=<secret_path> \
80
+
--submit-args=" ... "
80
81
81
82
### TGT Authentication
82
83
83
84
Submit the job with the ticket:
84
-
85
-
dcos spark run --principal user@REALM --tgt <ticket-file-path>
85
+
```$bash
86
+
dcos spark run --kerberos-principal user@REALM --submit-args="--tgt <ticket-file-path> ..."
87
+
```
86
88
87
89
**Note:** These credentials are security-critical. We highly recommended configuring SSL encryption between the Spark components when accessing Kerberos-secured HDFS clusters. See the Security section for information on how to do this.
0 commit comments