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:02 -0800 |
commit | 9afcbe494a3535a9bf7958429b72e989972f82d9 (patch) | |
tree | 395e85f9f0ee890ec326fe8c86895f0f3de912ef /docs | |
parent | 1b2ab1cd1b7cab9076f3c511188a610eda935701 (diff) | |
download | spark-9afcbe494a3535a9bf7958429b72e989972f82d9.tar.gz spark-9afcbe494a3535a9bf7958429b72e989972f82d9.tar.bz2 spark-9afcbe494a3535a9bf7958429b72e989972f82d9.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
Diffstat (limited to 'docs')
-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> |