Re: Atlas Startup Failure with HBase Backend

2018-04-12 Thread Pierre Padovani
gt; > > > *From: *Pierre Padovani <pie...@padovani.org> > *Date: *Monday, April 9, 2018 at 12:48 PM > *To: *Ashutosh Mestry <ames...@hortonworks.com>, "nixon.rodrigues@ > freestoneinfotech.com" <nixon.rodrig...@freestoneinfotech.com> > *Cc:

Re: Atlas Startup Failure with HBase Backend

2018-04-11 Thread Ashutosh Mestry
ig...@freestoneinfotech.com> Cc: "dev@atlas.apache.org" <dev@atlas.apache.org> Subject: Re: Atlas Startup Failure with HBase Backend If one of you wants to update the in-flight patch, here is the code that will retry connecting to Cassandra for up to 9 seconds. CassandraAuditRepositor

Re: Atlas Startup Failure with HBase Backend

2018-04-09 Thread Pierre Padovani
I believe this may be environmental... this test works locally for me: Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest Running org.apache.atlas.repository.userprofile.UserProfileServiceTest Tests run: 6,

Re: Atlas Startup Failure with HBase Backend

2018-04-09 Thread Pierre Padovani
If one of you wants to update the in-flight patch, here is the code that will retry connecting to Cassandra for up to 9 seconds. CassandraAuditRepositoryTest.java - Add these constants to the top of the file: private static final String TEST_CLUSTER_NAME = "Test Cluster"; private static

Re: Atlas Startup Failure with HBase Backend

2018-04-09 Thread Nixon Rodrigues
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

Atlas Startup Failure with HBase Backend

2018-04-09 Thread Ashutosh Mestry
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