diff options
author | Andrew Or <andrew@databricks.com> | 2014-11-25 15:48:02 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2014-11-25 15:48:12 -0800 |
commit | 58c840dde8776efefd5e180d95379598fd061172 (patch) | |
tree | d8bfae16f07b50fd8f6556ea8ef1a486514f3e6a /docs/monitoring.md | |
parent | ee0317509ee1dfd9c5807890412f9ac5ebf16eb3 (diff) | |
download | spark-58c840dde8776efefd5e180d95379598fd061172.tar.gz spark-58c840dde8776efefd5e180d95379598fd061172.tar.bz2 spark-58c840dde8776efefd5e180d95379598fd061172.zip |
[SPARK-4546] Improve HistoryServer first time user experience
The documentation points the user to run the following
```
sbin/start-history-server.sh
```
The first thing this does is throw an exception that complains a log directory is not specified. The exception message itself does not say anything about what to set. Instead we should have a default and a landing page with a better message. The new default log directory is `file:/tmp/spark-events`.
This is what it looks like as of this PR:
![after](https://issues.apache.org/jira/secure/attachment/12682985/after.png)
Author: Andrew Or <andrew@databricks.com>
Closes #3411 from andrewor14/minor-history-improvements and squashes the following commits:
f33d6b3 [Andrew Or] Point user to set config if default log dir does not exist
fc4c17a [Andrew Or] Improve HistoryServer UX
(cherry picked from commit 9afcbe494a3535a9bf7958429b72e989972f82d9)
Signed-off-by: Andrew Or <andrew@databricks.com>
Diffstat (limited to 'docs/monitoring.md')
-rw-r--r-- | docs/monitoring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/monitoring.md b/docs/monitoring.md index e3f81a76ac..f32cdef240 100644 --- a/docs/monitoring.md +++ b/docs/monitoring.md @@ -79,7 +79,7 @@ follows: </tr> <tr> <td>spark.history.fs.logDirectory</td> - <td>(none)</td> + <td>file:/tmp/spark-events</td> <td> Directory that contains application event logs to be loaded by the history server </td> |