Please sign in to comment.
[SPARK-23209][core] Allow credential manager to work when Hive not av…
…ailable. The JVM seems to be doing early binding of classes that the Hive provider depends on, causing an error to be thrown before it was caught by the code in the class. The fix wraps the creation of the provider in a try..catch so that the provider can be ignored when dependencies are missing. Added a unit test (which fails without the fix), and also tested that getting tokens still works in a real cluster. Author: Marcelo Vanzin <email@example.com> Closes #20399 from vanzin/SPARK-23209. (cherry picked from commit b834446) Signed-off-by: Imran Rashid <firstname.lastname@example.org>
- Loading branch information...
Showing with 72 additions and 3 deletions.