Commit 334429a8 by Hemanth Yamijala

ATLAS-682 Set HBase root dir to be relative to test target directory for…

ATLAS-682 Set HBase root dir to be relative to test target directory for HBaseBasedAuditRepositoryTest (shwethags via yhemanth)
parent 33354e32
...@@ -18,6 +18,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset ...@@ -18,6 +18,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset
ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags) ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags)
ALL CHANGES: ALL CHANGES:
ATLAS-682 Set HBase root dir to be relative to test target directory for HBaseBasedAuditRepositoryTest (shwethags via yhemanth)
ATLAS-742 Avoid downloading hbase multiple times (shwethags via yhemanth) ATLAS-742 Avoid downloading hbase multiple times (shwethags via yhemanth)
ATLAS-659 atlas_start fails on Windows (dkantor via shwethags) ATLAS-659 atlas_start fails on Windows (dkantor via shwethags)
ATLAS-732 Dashboard v2 build fails on Windows (vmadugun via yhemanth) ATLAS-732 Dashboard v2 build fails on Windows (vmadugun via yhemanth)
......
...@@ -33,7 +33,7 @@ public class HBaseTestUtils { ...@@ -33,7 +33,7 @@ public class HBaseTestUtils {
public static void startCluster() throws Exception { public static void startCluster() throws Exception {
Configuration hbaseConf = Configuration hbaseConf =
HBaseBasedAuditRepository.getHBaseConfiguration(ApplicationProperties.get()); HBaseBasedAuditRepository.getHBaseConfiguration(ApplicationProperties.get());
hbaseTestUtility = new HBaseTestingUtility(hbaseConf); hbaseTestUtility = HBaseTestingUtility.createLocalHTU(hbaseConf);
int zkPort = hbaseConf.getInt("hbase.zookeeper.property.clientPort", 19026); int zkPort = hbaseConf.getInt("hbase.zookeeper.property.clientPort", 19026);
hbaseTestUtility.startMiniZKCluster(1, zkPort); hbaseTestUtility.startMiniZKCluster(1, zkPort);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment