use of org.apache.myriad.scheduler.ServiceResourceProfile in project incubator-myriad by apache.
the class ByteBufferSupportTest method setUp.
@Before
public void setUp() throws Exception {
task = new NodeTask(new ServiceResourceProfile("profile", 0.1, 1024.0, new TreeMap<String, Long>()), new LikeConstraint("hostname", "host-[0-9]*.example.com"));
task.setHostname("localhost");
task.setTaskPrefix("prefix");
task.setExecutorInfo(getExecutorInfo());
}
Aggregations