public class TestYarnJob extends Object implements org.apache.zookeeper.Watcher
MiniYARNCluster to run a small test job through our
GiraphYarnClient -> GiraphApplicationMaster -gt; GiraphYarnTask (2 no-ops)
No "real" BSP code need be tested here, as it is not aware it is running on
YARN once the job is in progress, so the existing MRv1 BSP tests are fine.| Constructor and Description |
|---|
TestYarnJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.zookeeper.WatchedEvent zkEvent)
Logging this stuff will help you debug integration test issues.
|
void |
testPureYarnJob() |
public void testPureYarnJob()
public void process(org.apache.zookeeper.WatchedEvent zkEvent)
process in interface org.apache.zookeeper.WatcherzkEvent - incoming event for our current test ZK's znode tree.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.