BigData_Setup_guide
BigData_Setup_guide
BigData_Setup_guide
General tips
● If you get an error, restart your IDE or terminal and try again. This often fixes the
error.
Windows
1. Install Maven & Java
1) Unpack the archive where you would like to store the binaries, e.g.:
unzip apache-maven-3.x.y.zip
Verify JAVA_HOME
● Create a folder named C:\hadoop\bin. T wo files must be added which both can be
found on https://github.com/cdarlint/winutils (choose Hadoop version 2.6.5). Add the
following files to C:\hadoop\bin:
○ hadoop.dll
○ winutils.exe
● Add hadoop.dll to C:\Windows\System32
!! Only configure System variables (bottom panel), NOT User variables (upper panel) !!
● Click on ‘New…’:
1. name: HADOOP_HOME
value: C:\hadoop\
2. name: MAVEN_HOME
value: C:\Program Files\apache-maven-3.6.3
3. name: M2_HOME
value: C:\Program Files\apache-maven-3.6.3
4. name: JAVA_HOME
value: path to your Java JDK (example: C:\Program Files\Java\jdk1.8.0_281)
● Click on the Path variable and choose ‘Edit…’. Then choose ‘New’ and write
C:\Program Files\apache-maven-3.6.3
MAC OS
Go to https://www.journaldev.com/2348/install-maven-mac-os and follow the steps.
After installing, follow step 4 Start IDE and build project from the Windows setup (i.e. build
project and run unit tests). In the case of a Mac OS, you don’t need to run as administrator.
LINUX
Go to https://linuxize.com/post/how-to-install-apache-maven-on-ubuntu-18-04/ and follow the
steps.
In the case that you get errors due to a wrong JDK version, you have to switch between
versions. For more information see
https://blogs.igalia.com/dpino/2011/10/13/configuring-different-jdks-with-alternatives/.
After installing, follow step 4 Start IDE and build project from the Windows setup (i.e. build
project and run unit tests). In the case of a Linux OS, you don’t need to run as administrator.