use of org.apache.hadoop.yarn.webapp.SubView in project hadoop by apache.
the class TestHsJobBlock method createBlockToCreateTo.
private static HtmlBlock.Block createBlockToCreateTo(OutputStream outputStream) {
PrintWriter printWriter = new PrintWriter(outputStream);
HtmlBlock html = new HtmlBlockForTest();
return new BlockForTest(html, printWriter, 10, false) {
@Override
protected void subView(Class<? extends SubView> cls) {
}
};
}
Aggregations