GitHub user holdenk opened a pull request:
https://github.com/apache/spark/pull/8567
[SPARK-9723][ML] params getordefault should throw more useful error
Params.getOrDefault should throw a more meaningful exception than what you
get from a bad key lookup.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/holdenk/spark
SPARK-9723-params-getordefault-should-throw-more-useful-error
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8567.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #8567
----
commit 98fb73665a6cf71c2b7b9e17c9a519abec0d43b6
Author: Holden Karau <[email protected]>
Date: 2015-09-02T07:07:00Z
Make a test for the current state of the world
commit 2f6c14d8678e2c4a81ab71a200dfa4cc4b8deea2
Author: Holden Karau <[email protected]>
Date: 2015-09-02T07:10:25Z
Try keeping the same exception, but providing a string which explains the
detail
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]