This is the preferred method if you're collecting small objects from the Spark Cluster because it is otherwise easy to set up, doesn't appear to cause many "out of memory" errors, and requires fewer dependencies.
- Install and configure Java.
- Install Java 8
brew tap AdoptOpenJDK/openjdk