Skip to content

Commit

Permalink
[SPARK-4889] update history server example cmds
Browse files Browse the repository at this point in the history
Author: Ryan Williams <ryan.blake.williams@gmail.com>

Closes apache#3736 from ryan-williams/hist and squashes the following commits:

421d8ff [Ryan Williams] add another random typo fix
76d6a4c [Ryan Williams] remove hdfs example
a2d0f82 [Ryan Williams] code review feedback
9ca7629 [Ryan Williams] [SPARK-4889] update history server example cmds
  • Loading branch information
ryan-williams authored and Andrew Or committed Dec 19, 2014
1 parent 336cd34 commit cdb2c64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions conf/metrics.properties.template
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
# sample false Whether to show entire set of samples for histograms ('false' or 'true')
#
# * Default path is /metrics/json for all instances except the master. The master has two paths:
# /metrics/aplications/json # App information
# /metrics/master/json # Master information
# /metrics/applications/json # App information
# /metrics/master/json # Master information

# org.apache.spark.metrics.sink.GraphiteSink
# Name: Default: Description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,12 @@ class HistoryServer(

/**
* The recommended way of starting and stopping a HistoryServer is through the scripts
* start-history-server.sh and stop-history-server.sh. The path to a base log directory
* is must be specified, while the requested UI port is optional. For example:
* start-history-server.sh and stop-history-server.sh. The path to a base log directory,
* as well as any other relevant history server configuration, should be specified via
* the $SPARK_HISTORY_OPTS environment variable. For example:
*
* ./sbin/spark-history-server.sh /tmp/spark-events
* ./sbin/spark-history-server.sh hdfs://1.2.3.4:9000/spark-events
* export SPARK_HISTORY_OPTS="-Dspark.history.fs.logDirectory=/tmp/spark-events"
* ./sbin/start-history-server.sh
*
* This launches the HistoryServer as a Spark daemon.
*/
Expand Down

0 comments on commit cdb2c64

Please sign in to comment.