Ashutosh, Pierre,

Can you review below unit testcase, its failing in precommit jenkins job.

Tests run: 7, Failures: 1, Errors: 0, Skipped: 6, Time elapsed: 17.872 sec
<<< FAILURE! - in org.apache.atlas.repository.au
dit.CassandraAuditRepositoryTest
setup(org.apache.atlas.repository.audit.CassandraAuditRepositoryTest)  Time
elapsed: 17.709 sec  <<< FAILURE!
org.apache.atlas.AtlasException: com.datastax.driver.core.excep
tions.NoHostAvailableException: All host(s) tried for query failed (tried:
localhost/127.0.0.1:9042(com.datastax.driver.core.exceptions.TransportException:
[localhost/127.0.0.1:9042] Cannot connect))
        at com.datastax.driver.core.ControlConnection.reconnectInternal
(ControlConnection.java:233)
        at com.datastax.driver.core.ControlConnection.connect(ControlCo
nnection.java:79)
        at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1483)
        at com.datastax.driver.core.Cluster.init(Cluster.java:159)
        at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:330)
        at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:305)
        at com.datastax.driver.core.Cluster.connect(Cluster.java:247)
        at org.apache.atlas.repository.audit.CassandraBasedAuditReposit
ory.createSession(CassandraBasedAuditRepository.java:217)
        at org.apache.atlas.repository.audit.CassandraBasedAuditReposit
ory.startInternal(CassandraBasedAuditRepository.java:208)
        at org.apache.atlas.repository.audit.CassandraBasedAuditReposit
ory.start(CassandraBasedAuditRepository.java:196)
        at org.apache.atlas.repository.audit.CassandraAuditRepositoryTe
st.setup(CassandraAuditRepositoryTest.java:48)

On Mon, Apr 9, 2018, 11:40 PM Pierre Padovani <pie...@padovani.org> wrote:

> Hi Ashtosh,
>
> Good catch! This looks good to me.
>
> Thanks!
>
> Pierre
>
> On Mon, Apr 9, 2018 at 12:48 PM, Ashutosh Mestry <ames...@hortonworks.com>
> wrote:
>
> > Hi
> >
> >
> >
> > Thanks for adding Cassandra support to Atlas. With this update, Atlas
> > fails on startup when used with *HBase* backend.
> >
> >
> >
> > Attached is the patch that addresses the problem. I verified it in an
> > environment with *HBase* backend. I was not able to verify it with
> > Cassandra as backend. Can you please review and let me know if the change
> > is OK? Other things look fine, I think.
> >
> >
> >
> > Best regards,
> >
> >
> >
> > *~ ashutosh*
> >
> > *Ashutosh Mestry* <ames...@hortonworks.com>* . Staff Software Engineer .
> > Hortonworks, Inc. .  +1-310-988 0670 <%2B1-310-988%200670>*
> >
> > .......
> >
> > *No hurry, no pause. – Tim Ferriss, Life Hacker, Author*
> >
> >
> >
>

Reply via email to