forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-556] Kerberos support in history server (apache#233)
* Kerberos support in history server. Added kerberos config: krb5conf, principal, keytab secret path, and updated marathon.json to use them. * Build the history server stub universe in the Makefile, use a fixture to add stub repos. * Adding history server to tests * Fixed the adding of stub universes. Added a job that logs to the history server. Test passes. * Add configure_universe as a dependency * Updated history server docs. * Fixed the Makefile, made the user configurable, made the default user "nobody". * Made the keytab path configurable * Made spark-history package/service name in tests configurable from env var.
- Loading branch information
1 parent
9be6d18
commit 772d064
Showing
13 changed files
with
227 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import pytest | ||
import sdk_repository | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
def configure_universe(): | ||
yield from sdk_repository.universe_session() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"id": "hdfsclient", | ||
"mem": 1024, | ||
"user": "nobody", | ||
"container": { | ||
"type": "MESOS", | ||
"docker": { | ||
"image": "nvaziri/hdfs-client:dev", | ||
"forcePullImage": true | ||
}, | ||
"volumes": [ | ||
{ | ||
"containerPath": "/hadoop-2.6.0-cdh5.9.1/hdfs.keytab", | ||
"secret": "hdfs_keytab", | ||
"hostPath": "" | ||
} | ||
] | ||
}, | ||
"secrets": { | ||
"hdfs_keytab": { | ||
"source": "__dcos_base64___keytab" | ||
} | ||
}, | ||
"networks": [ | ||
{ | ||
"mode": "host" | ||
} | ||
], | ||
"env": { | ||
"REALM": "LOCAL", | ||
"KDC_ADDRESS": "kdc.marathon.autoip.dcos.thisdcos.directory:2500", | ||
"JAVA_HOME": "/usr/lib/jvm/default-java", | ||
"KRB5_CONFIG": "/etc/krb5.conf", | ||
"HDFS_SERVICE_NAME": "hdfs" | ||
} | ||
} |
Oops, something went wrong.