[
https://issues.apache.org/jira/browse/ATLAS-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827740#comment-16827740
]
Madhan Neethiraj edited comment on ATLAS-3167 at 4/27/19 8:17 PM:
------------------------------------------------------------------
If no specific profile is provided, the build generates for
"external-hbase-solr" - see the following in distro/pom.xml:
{code}
<profile>
<id>external-hbase-solr</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
{code}
I suggest to add necessary profiles for Cassandra - like
"external-cassandra-solr", and override guava version for these profiles.
was (Author: madhan.neethiraj):
If no specific profile is provides, the build generates for
"external-hbase-solr" - see the following in distro/pom.xml:
{code}
<profile>
<id>external-hbase-solr</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
{code}
I suggest to add necessary profiles for Cassandra - like
"external-cassandra-solr", and override guava version for these profiles.
> Exception while starting Atlas with Cassandra
> ---------------------------------------------
>
> Key: ATLAS-3167
> URL: https://issues.apache.org/jira/browse/ATLAS-3167
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 2.0.0
> Reporter: Chaitra Rao
> Assignee: Madhan Neethiraj
> Priority: Critical
> Fix For: 2.0.0
>
> Attachments: ATLAS-3167.patch
>
>
> When I try to start Atlas (2.0.0-SNAPSHOT), I get the following error -
> ======================================================
> 019-04-23 19:11:37,094 ERROR - [MemtableFlushWriter:1:] ~ Exception in thread
> Thread[MemtableFlushWriter:1,5,main] (CassandraDaemon$1:223)
> java.lang.NoSuchMethodError:
> com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;
> at
> org.apache.cassandra.db.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1127)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
>
> ======================================================
> Guava jar - com.google.guava:guava:jar:25.1 is used throughout. Do not see
> any conflicting guava jars, except for com.google.guava:guava:jar:12.0.1 from
> kafka-bridge pom. Excluding this did not work as well.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)