As with all other scripts we have presented so far, we will begin by setting some global variables.
Livy requires some configuration files from Hadoop. Thus, as part of this script, we allow you to install Hadoop should it not be present on your machine. That is why we now allow you to pass arguments to the downloadThePackage, unpack, and moveTheBinaries functions.
Installing Livy drills down literally to downloading the package, ...