This demo requires a custom library from this project: https://github.com/hortonworks/fieldeng-scythe.To install custom Scala dependencies from github using IntelliJ IDEA on Mac, perform these steps (replace descriptions in <carets> with appropriate values.
Open IntelliJ, create a new project under File -> New -> Project From Existing Sources, import from existing sources cloned to new directory created above
Add dependencies when prompted
Set up the project to create a JAR file.
In IntelliJ, add a JAR file to the outputs using File -> Project Structure, Artifacts. Select Create new Artifact -> JAR -> From modules with Dependencies.
Check "Include in project build” checkbox.
Path should default to: …/IdeaProjects/<projectname>/out/artifacts/<jarname>_jar. Give the JAR file an appropriate name.
Build the project by selecting Build -> Build Project (will likely rebuild the project completely due to the changes above)
Verify creation of JAR in local directory
Add the JAR as a dependency in the Zeppelin interpreter.
Copy JAR to Zeppelin server. Zeppelin will handle distributing the dependency to the Spark nodes.
In Zeppelin Interpreter config, edit %Spark or %Spark2 interpreter as needed. At bottom of configuration settings, add dependency to file location with absolute path: