1.9

## Partnership for Advanced Computing in Europe (PRACE)

Starting DFS, YARN and RStudio

We need to quickly check whether everything is working in our virtual machine and to become familiar with the environment we will be working with.

Open the terminal by clicking on the black icon on the bottom left and type (note that the symbol $is the prompt in the terminal and not part of the command you type in):$ start-dfs.sh
$start-yarn.sh$ hadoop fs -ls

Then type:

\$ rstudio &

to open the RStudio GUI. We should open an R script file and save it (e.g., init.R) to the local or any other folder up to our choice. Next we should set up system variables by copying the following lines into the script file and execute them:

Sys.setenv(JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64")

Alternatively, we can execute the above lines one by one in the GUI terminal of RStudio.