Skip to content

Commit a24f8af

Browse files
Merge pull request #17 from zeddee/cleaner-readme
Cleaned up readme for better usability
2 parents fe7cb6d + fd1c664 commit a24f8af

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

Diff for: README.md

+14-9
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,25 @@ Version 1.1.0 introduces healthchecks for the containers.
1010
* 2.7.1 with OpenJDK 7
1111
* 2.7.1 with OpenJDK 8
1212

13-
## Description
13+
## Quick Start
1414

1515
To deploy an example HDFS cluster, run:
1616
```
1717
docker-compose up
1818
```
1919

20+
`docker-compose` creates a docker network that can be found by running `docker network list`, e.g. `dockerhadoop_default`.
21+
22+
Run `docker network inpect` on the network (e.g. `dockerhadoop_default`) to find the IP the hadoop interfaces are published on. Access these interfaces with the following URLs:
23+
24+
* Namenode: http://<dockerhadoop_IP_address>:50070/dfshealth.html#tab-overview
25+
* History server: http://<dockerhadoop_IP_address>:8188/applicationhistory
26+
* Datanode: http://<dockerhadoop_IP_address>:50075/
27+
* Nodemanager: http://<dockerhadoop_IP_address>:8042/node
28+
* Resource manager: http://<dockerhadoop_IP_address>:8088/
29+
30+
## Configure Environment Variables
31+
2032
The configuration parameters can be specified in the hadoop.env file or as environmental variables for specific services (e.g. namenode, datanode etc.):
2133
```
2234
CORE_CONF_fs_defaultFS=hdfs://namenode:8020
@@ -38,11 +50,4 @@ The available configurations are:
3850
* /etc/hadoop/httpfs-site.xml HTTPFS_CONF
3951
* /etc/hadoop/kms-site.xml KMS_CONF
4052

41-
If you need to extend some other configuration file, refer to base/entrypoint.sh bash script.
42-
43-
After starting the example Hadoop cluster, you should be able to access interfaces of all the components (substitute domain names by IP addresses from ```network inspect hadoop``` command):
44-
* Namenode: http://namenode:50070/dfshealth.html#tab-overview
45-
* History server: http://historyserver:8188/applicationhistory
46-
* Datanode: http://datanode:50075/
47-
* Nodemanager: http://nodemanager:8042/node
48-
* Resource manager: http://resourcemanager:8088/
53+
If you need to extend some other configuration file, refer to base/entrypoint.sh bash script.

0 commit comments

Comments
 (0)