Skip to content

Commit

Permalink
ACCUMULO-3409 Move fixed ports out of ephemeral range
Browse files Browse the repository at this point in the history
  • Loading branch information
joshelser committed Jul 8, 2015
1 parent a7021b6 commit 1c091b3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions INSTALL.md
Expand Up @@ -142,9 +142,9 @@ Accumulo shell.

./bin/accumulo shell -u root

Use your web browser to connect the Accumulo monitor page on port 50095.
Use your web browser to connect the Accumulo monitor page on port 9995.

http://<hostname in conf/monitor>:50095/
http://<hostname in conf/monitor>:9995/

When finished, use the following command to stop Accumulo.

Expand Down
Expand Up @@ -340,15 +340,15 @@ public enum Property {
GC_CYCLE_START("gc.cycle.start", "30s", PropertyType.TIMEDURATION, "Time to wait before attempting to garbage collect any old files."),
GC_CYCLE_DELAY("gc.cycle.delay", "5m", PropertyType.TIMEDURATION, "Time between garbage collection cycles. In each cycle, old files "
+ "no longer in use are removed from the filesystem."),
GC_PORT("gc.port.client", "50091", PropertyType.PORT, "The listening port for the garbage collector's monitor service"),
GC_PORT("gc.port.client", "9998", PropertyType.PORT, "The listening port for the garbage collector's monitor service"),
GC_DELETE_THREADS("gc.threads.delete", "16", PropertyType.COUNT, "The number of threads used to delete files"),
GC_TRASH_IGNORE("gc.trash.ignore", "false", PropertyType.BOOLEAN, "Do not use the Trash, even if it is configured."),
GC_FILE_ARCHIVE("gc.file.archive", "false", PropertyType.BOOLEAN, "Archive any files/directories instead of moving to the HDFS trash or deleting."),
GC_TRACE_PERCENT("gc.trace.percent", "0.01", PropertyType.FRACTION, "Percent of gc cycles to trace"),

// properties that are specific to the monitor server behavior
MONITOR_PREFIX("monitor.", null, PropertyType.PREFIX, "Properties in this category affect the behavior of the monitor web server."),
MONITOR_PORT("monitor.port.client", "50095", PropertyType.PORT, "The listening port for the monitor's http service"),
MONITOR_PORT("monitor.port.client", "9995", PropertyType.PORT, "The listening port for the monitor's http service"),
MONITOR_LOG4J_PORT("monitor.port.log4j", "4560", PropertyType.PORT, "The listening port for the monitor's log4j logging collection."),
MONITOR_BANNER_TEXT("monitor.banner.text", "", PropertyType.STRING, "The banner text displayed on the monitor page."),
MONITOR_BANNER_COLOR("monitor.banner.color", "#c4c4c4", PropertyType.STRING, "The color of the banner text displayed on the monitor page."),
Expand Down
6 changes: 3 additions & 3 deletions docs/src/main/asciidoc/chapters/administration.txt
Expand Up @@ -49,12 +49,12 @@ their value in conf/accumulo-site.xml.
|Port | Description | Property Name
|4445 | Shutdown Port (Accumulo MiniCluster) | n/a
|4560 | Accumulo monitor (for centralized log display) | monitor.port.log4j
|9995 | Accumulo HTTP monitor | monitor.port.client
|9997 | Tablet Server | tserver.port.client
|9998 | Accumulo GC | gc.port.client
|9999 | Master Server | master.port.client
|12234 | Accumulo Tracer | trace.port.client
|42424 | Accumulo Proxy Server | n/a
|50091 | Accumulo GC | gc.port.client
|50095 | Accumulo HTTP monitor | monitor.port.client
|10001 | Master Replication service | master.replication.coordinator.port
|10002 | TabletServer Replication service | replication.receipt.service.port
|====
Expand Down Expand Up @@ -434,7 +434,7 @@ when the tablets are re-hosted.
==== Accumulo Monitor
The Accumulo Monitor provides an interface for monitoring the status and health of
Accumulo components. The Accumulo Monitor provides a web UI for accessing this information at
+http://_monitorhost_:50095/+.
+http://_monitorhost_:9995/+.

Things highlighted in yellow may be in need of attention.
If anything is highlighted in red on the monitor page, it is something that definitely needs attention.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/chapters/design.txt
Expand Up @@ -175,6 +175,6 @@ grouped by tablet. TabletServers can quickly apply the mutations from the sorte
that are destined for the tablets they have now been assigned.

TabletServer failures are noted on the Master's monitor page, accessible via
+http://master-address:50095/monitor+.
+http://master-address:9995/monitor+.

image::failure_handling.png[width=500]
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/chapters/troubleshooting.txt
Expand Up @@ -44,7 +44,7 @@ There's a small web server that collects information about all the
components that make up a running Accumulo instance. It will highlight
unusual or unexpected conditions.

*A*: Point your browser to the monitor (typically the master host, on port 50095). Is anything red or yellow?
*A*: Point your browser to the monitor (typically the master host, on port 9995). Is anything red or yellow?

*Q*: My browser is reporting connection refused, and I cannot get to the monitor

Expand All @@ -65,7 +65,7 @@ from your browser.
It is sometimes helpful to use a text-only browser to sanity-check the
monitor while on the machine running the monitor:

$ links http://localhost:50095
$ links http://localhost:9995

*A*: Verify that you are not firewalled from the monitor if it is running on a remote host.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/resources/examples/README.helloworld
Expand Up @@ -35,7 +35,7 @@ Launch a Java program that inserts data with a BatchWriter:

On the accumulo status page at the URL below (where 'master' is replaced with the name or IP of your accumulo master), you should see 50K entries

http://master:50095/
http://master:9995/

To view the entries, use the shell to scan the table:

Expand Down

0 comments on commit 1c091b3

Please sign in to comment.