Support Questions

Find answers, ask questions, and share your expertise

Error while installing Apache Atlas ?

avatar

Hi all, I am using linux 14.04, for testing the capabilities of Apache Atlas. Flow of installation Apache Atlas in linux:

1) install zoo keeper

2) install kafka

3) git clone https://github.com/apache/atlas.git

4) mkdir libext inside atlas and copy je-5.0.73.jar to this folder.

5) mvn clean install -DskipTests -X > target.txt

6) Here are the errors and warnings that pop up to screen :

mvn clean -DskipTests install -X > trace.txt

/home/kafka/atlas/intg/src/main/java/org/apache/atlas/type/AtlasTypeUtil.java:437:84: unexpected token: > /home/kafka/atlas/repository/src/main/java/org/apache/atlas/discovery/EntityLineageService.java:133:28: expecting SEMI, found ',' log4j:WARN No such property [maxFileSize] in org.apache.log4j.PatternLayout. log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.PatternLayout. log4j:WARN No such property [maxFileSize] in org.apache.log4j.PatternLayout. log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.PatternLayout. log4j:WARN No such property [maxFileSize] in org.apache.log4j.PatternLayout. Exception in thread "Connection evictor" java.lang.NoClassDefFoundError: org/apache/http/pool/AbstractConnPool$4 at org.apache.http.pool.AbstractConnPool.closeExpired(AbstractConnPool.java:558) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.closeExpiredConnections(PoolingHttpClientConnectionManager.java:409) at org.apache.http.impl.client.IdleConnectionEvictor$1.run(IdleConnectionEvictor.java:67) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: org.apache.http.pool.AbstractConnPool$4 at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:487) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:428)

... 4 more

Give me some suggestions so that I can start Apache Atlas on Ubuntu 14.04.

Thanks and Regards,

Manoj

2 REPLIES 2

avatar
Expert Contributor

Can you please use branch-0.8 instead of master?

What version of Maven are you using?

What configuration are you attempting? (Since you are copying je*.jar, I assume it is BerkeleyDB and ES combination. Can you please confirm.)

Please build using this command line: mvn clean package -Pdist,berkeley-elasticsearch. This should create a properties file with correct configuration. The attached properties file atlas-application-berkeleyproperties.zip.

I have a deployment directory structure where I have the properties file, and the libext set. I use these command line arguments to pass that information to Atlas.

-Datlas.home=./deploy/ -Datlas.conf=./deploy/conf -Datlas.data=./deploy/data -Datlas.log.dir=./deploy/logs

avatar

Hi @Ashutosh Mestry,

I will try branch-0.8.

Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T03:58:13-04:00)

Yes, it is for BerkeleyDB and ES combination.

Thank you,

Manoj