Skip to content

Commit

Permalink
Add Apache Atlas version 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sburn committed Dec 15, 2022
1 parent ae1bea8 commit 6ab54ed
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:20.04
LABEL maintainer="[email protected]"

ARG VERSION=2.2.0
ARG VERSION=2.3.0
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
ENV MAVEN_OPTS="-Xms2g -Xmx2g"
Expand All @@ -24,7 +24,7 @@ RUN apt-get update \
patch \
unzip \
&& cd /tmp \
&& wget https://archive.apache.org/dist/atlas/${VERSION}/apache-atlas-${VERSION}-sources.tar.gz \
&& wget https://dlcdn.apache.org/atlas/${VERSION}/apache-atlas-${VERSION}-sources.tar.gz \
&& tar --strip 1 -xzvf apache-atlas-${VERSION}-sources.tar.gz -C /tmp/atlas-src \
&& rm apache-atlas-${VERSION}-sources.tar.gz \
&& cd /tmp/atlas-src \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[![Atlas version](https://img.shields.io/badge/Atlas-2.2.0-brightgreen.svg)](https://github.com/sburn/docker-apache-atlas)
[![Atlas version](https://img.shields.io/badge/Atlas-2.3.0-brightgreen.svg)](https://github.com/sburn/docker-apache-atlas)
[![Docker Pulls](https://img.shields.io/docker/pulls/sburn/apache-atlas.svg)](https://hub.docker.com/repository/docker/sburn/apache-atlas)
[![License: Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

Apache Atlas Docker image
=======================================

This `Apache Atlas` is built from the 2.2.0-release source tarball and patched to be run in a Docker container.
This `Apache Atlas` is built from the 2.3.0-release source tarball and patched to be run in a Docker container.

Atlas is built with `embedded HBase + Solr` and it is pre-initialized, so you can use it right after image download without additional steps.

Expand Down
18 changes: 13 additions & 5 deletions atlas_start.py.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
--- atlas_start.py.orig 2022-12-14 14:49:45.000000000 +0000
+++ atlas_start.py 2022-12-15 15:37:31.143089911 +0000
@@ -117,6 +117,9 @@
--- atlas_start.py.orig 2020-01-22 15:10:15.000000000 +0000
+++ atlas_start.py 2022-12-15 19:26:33.306245271 +0000
@@ -18,6 +18,7 @@
import os
import sys
import traceback
+from time import sleep

import atlas_config as mc

@@ -117,6 +118,9 @@
mc.run_hbase_action(mc.hbaseBinDir(atlas_home), "start", hbase_conf_dir, logdir)

print("Local HBase started!")
Expand All @@ -10,7 +18,7 @@

#solr setup
if mc.is_solr_local(confdir):
@@ -135,6 +138,9 @@
@@ -135,6 +139,9 @@
mc.run_solr(mc.solrBinDir(atlas_home), "start", mc.get_solr_zk_url(confdir), mc.solrPort(), logdir, True, mc.solrHomeDir(atlas_home))

print("Local Solr started!")
Expand All @@ -20,7 +28,7 @@

print("\nCreating Solr collections for Atlas using config: " + mc.solrConfDir(atlas_home))

@@ -155,8 +161,22 @@
@@ -155,8 +162,22 @@
web_app_path = mc.convertCygwinPath(web_app_path)
if not is_setup:
start_atlas_server(atlas_classpath, atlas_pid_file, jvm_logdir, jvm_opts_list, web_app_path)
Expand Down

0 comments on commit 6ab54ed

Please sign in to comment.