Skip to content

Instantly share code, notes, and snippets.

@abruzzi
Created May 22, 2014 01:44
Show Gist options
  • Save abruzzi/9c7be20603e2c5b52591 to your computer and use it in GitHub Desktop.
Save abruzzi/9c7be20603e2c5b52591 to your computer and use it in GitHub Desktop.
hadoop cluster
digraph gis_hadoop{
fontname="Microsoft YaHei";
fontsize=12;
splines=line;
node [shape="Mrecord", fontname="Microsoft YaHei", fontsize=10];
edge [color="#F1C40F", fontname="Microsoft YaHei", fontsize=10];
oozie [label="workflow", shape="none", image="oozie-logo.png", labelloc="b"];
subgraph cluster_master {
label="Hadoop master";
node [shape="box"];
nassvr [label="nassvr(10.144.245.203)", shape="none", image="hadoop-logo.png", labelloc="b"];
hive [label="", shape="none", image="hive-logo.png"];
}
subgraph cluster_nodes {
label = "Hadoop cluster"
color="orange";
node [shape="box", style="dashed", color="lightskyblue", labelloc="b"];
ubuntu [label="ubuntu(10.144.245.202)", shape="none", image="ubuntu.png"];
suse [label="suse(10.144.245.204)", shape="none", image="suse.png"];
taurus [label="taurus(10.144.245.205)", shape="none", image="suse.png"];
pisces [label="pisces(10.144.245.xxx)", shape="none", image="ubuntu.png"];
};
oozie -> hive;
hive -> nassvr;
nassvr -> ubuntu [label="schedule"];
nassvr -> suse [label="schedule"];
nassvr -> taurus [label="schedule"];
nassvr -> pisces [label="schedule", style="dotted"];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment