Created on 02-20-2018 04:06 AM - edited 09-16-2022 01:42 AM
Introduction
This post enumerates the steps necessary to setup Atlas development environment using IntelliJ on Mac and Windows.
This setup uses the BerkeleyDB for backend and embedded Solr as index engine.
Setup with other backend and index engine variations are similar but will involve additional setup.
Prerequisites
These should be present on your machine before you begin:
Code Base Setup
Download code base from GitHub location. Clone it under c:\work\Apache\atlas on Window and ~/Apache/atlas on Mac.
Change directory to the location above and initiate a build (using mvn clean install package).
Deploy Directory Setup
Create a directory say Deploy (say c:\work on Windows or ~/work on Mac) with a structure below it:
When done, your directory layout should look like this:
WinUtils (for Windows only)
Install WinUtils (link below).
Copy WinUtils.exe from C:\Program Files (x86)\WinUtil\WinUtil.exe to C:\Users\ashut\.m2\repository\org\apache\hadoop\bin\WinUtils.exe
IntelliJ: 'Atlas - Local' Configuration
From IntelliJ's Run/Edit Configurations menu option, create a new configuration, call it 'Atlas - Local'.
Details are:
See screen shots below.
Debug Run
Within IntelliJ:
Check if server is up by accessing: http://localhost:31000/
Screen Shots
Atlas - Local Profile:
Attachments
conf-directory.zip: Contents of configuration directory.
References
Credits