atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhan Neethiraj <mad...@apache.org>
Subject Instructions to build & run Atlas in dev environment
Date Tue, 28 Nov 2017 08:19:29 GMT
Atlas dev,

 

Please follow the instructions at the end of this email to build & run Apache Atlas in
your local dev environment.

 

This setup uses the following configuration:

  - Graph DB: titan-0.5.4

  - Embedded HBase

  - Embedded Solr

 

Thanks to Ashutosh for compiling these instructions.

 

Hope this helps.

 

Madhan

 

 

Add the following to a script file, like build-start-atlas.sh, and execute the script.

 

 

ATLAS_SOURCE_DIR=/tmp/atlas-source

ATLAS_HOME=/tmp/atlas-bin

 

# Clone Apache Atlas sources

mkdir -p ${ATLAS_SOURCE_DIR}

cd ${ATLAS_SOURCE_DIR}

git clone https://github.com/apache/atlas.git -b master

 

# build Apache Atlas

cd atlas

mvn clean -DskipTests -DGRAPH_PROVIDER=titan0 install -Pdist,embedded-hbase-solr,graph-provider-titan0

 

# Install Apache Atlas

mkdir -p ${ATLAS_HOME}

tar xfz distro/target/apache-atlas-*bin.tar.gz --strip-components 1 -C ${ATLAS_HOME}

 

# Setup environment and configuration

export MANAGE_LOCAL_HBASE=true

export MANAGE_LOCAL_SOLR=true

export PATH=${PATH}:/tmp/atlas-bin/bin

echo atlas.graphdb.backend=org.apache.atlas.repository.graphdb.titan0.Titan0GraphDatabase
>> ${ATLAS_HOME}/conf/atlas-application.properties

 

# Start Apache Atlas

atlas_start.py

 

# Access Apache Atlas at http://localhost:21000

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message