[ 
https://issues.apache.org/jira/browse/YARN-3529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vrushali C updated YARN-3529:
-----------------------------
    Attachment: output_minicluster.rtf

Thanks [~gtCarrera9] for filing the jira!

Current status:
I presently am using the hbase minicluster from HBaseTestingUtility  in the 
unit tests for YARN-3411. Right now, I have my setup working in eclipse. 
Attaching the eclipse log that shows that a mini hbase cluster/zookeeper/ 
regionservers are starting and creating tables and shutting down when I run the 
unit test from 
org.apache.hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineWriterImpl.
 

Some relevant code bits:
{code}
  private static HBaseTestingUtility UTIL;

  @BeforeClass
  public static void setupBeforeClass() throws Exception {
    UTIL = new HBaseTestingUtility();
    UTIL.startMiniCluster();
    createSchema();
  }

  @AfterClass
  public static void tearDownAfterClass() throws Exception {
    UTIL.shutdownMiniCluster();
  }
{code} 


> Add miniHBase cluster and Phoenix support to ATS v2 unit tests
> --------------------------------------------------------------
>
>                 Key: YARN-3529
>                 URL: https://issues.apache.org/jira/browse/YARN-3529
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Li Lu
>            Assignee: Li Lu
>         Attachments: output_minicluster.rtf
>
>
> After we have our HBase and Phoenix writer implementations, we may want to 
> find a way to set up HBase and Phoenix in our unit tests. We need to do this 
> integration before the branch got merged back to trunk. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to