Skip to content

Commit ac9d5c6

Browse files
committed
SPARK-8064 turn
1 parent 70a784c commit ac9d5c6

File tree

3 files changed

+78
-3
lines changed

3 files changed

+78
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Kerberos and Hadoop: The Madness beyond the Gate
1+
# Hadoop and Kerberos: The Madness beyond the Gate
22

33

44
> The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.

SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Summary
22

33
* [The Madness beyond the gate](sections/kerberos_the_madness.md)
4-
* [The Limits of Hadoop Security](sections/the_limits_of_hadoop_security.md)
54
* [What is Kerberos?](sections/what_is_kerberos.md)
65
* [Hadoop and Kerberos](sections/hadoop_and_kerberos.md)
76
* [HDFS and Kerberos](sections/hdfs.md)
8-
* [YARN and YARN Applications](sections/yarn.md)
97
* [UGI](sections/ugi.md)
108
* [Java and JDK Versions](sections/jdk_versions.md)
119
* [Hadoop IPC Security](sections/ipc.md)
1210
* [Web and REST](sections/web_and_rest.md)
11+
* [YARN and YARN Applications](sections/yarn.md)
1312
* [Zookeeper](sections/zookeeper.md)
1413
* [Testing](sections/testing.md)
1514
* [Low-Level Secrets](sections/secrets.md)
1615
* [Error Messages to Fear](sections/errors.md)
16+
* [The Limits of Hadoop Security](sections/the_limits_of_hadoop_security.md)
1717
* [Checklists](sections/checklists.md)
1818
* [Glossary](sections/glossary.md)
1919
* [Bibliography](sections/biblography.md)

src/uml/hdfs_uml.txt

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
see: http://plantuml.com/sequence.html
20+
21+
22+
@startuml
23+
24+
autonumber
25+
26+
actor Client
27+
database NN
28+
database DN
29+
database LocalFS
30+
database fsEditLog
31+
32+
Title HDFS Startup
33+
34+
== Initialization ==
35+
36+
NN -> LocalFS: load keytab
37+
LocalFS --> NN: keytab
38+
NN -> KDC: authenticate(hdfs@namenode)
39+
KDC --> NN: TGT
40+
41+
NN -> fsEditLog : replay
42+
fsEditLog --> NN : history
43+
44+
rnote over NN
45+
rebuilds state: all delegation token
46+
events rebuild delegation token tables.
47+
endrnote
48+
49+
== Datanode ==
50+
51+
DN -> LocalFS: load keytab
52+
LocalFS --> DN: keytab
53+
DN -> KDC: authenticate(hdfs@datanode)
54+
KDC --> DN: TGT
55+
56+
DN -> LocalFS: load block metadata
57+
LocalFS --> DN: all block information, including BlockKeys
58+
59+
rnote over DN
60+
DN init BlockTokenSecretManager
61+
endrnote
62+
63+
DN -> NN : RPC.open
64+
NN --> DN : authenticate(hdfs@namenode)
65+
DN -> KDC : request-ticket(hdfs@namenode, TGT)
66+
KDC -> DN : ticket(hdfs@namenode, hdfs@datanode)
67+
DN -> NN: ticket(hdfs@namenode, hdfs@datanode)
68+
DN -> NN : heartbeat (block info, block keys)
69+
70+
rnote over NN
71+
NN init BlockTokenSecretManager
72+
endrnote
73+
74+
75+
@enduml

0 commit comments

Comments
 (0)