use of org.apache.storm.hack.resource.ClojureTransformer in project storm by apache.
the class StormShadeRequest method makeRequest.
public static ShadeRequest makeRequest() {
ShadeRequest request = new ShadeRequest();
request.setRelocators(Arrays.asList((Relocator) new SimpleRelocator("backtype.storm", "org.apache.storm"), (Relocator) new SimpleRelocator("storm.trident", "org.apache.storm.trident"), (Relocator) new SimpleRelocator("org.apache.thrift7", "org.apache.storm.thrift")));
request.setResourceTransformers(Arrays.asList((ResourceTransformer) new ClojureTransformer()));
return request;
}
Aggregations