Search in sources :

Example 1 with SimpleRelocator

use of org.apache.storm.hack.relocation.SimpleRelocator 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;
}
Also used : SimpleRelocator(org.apache.storm.hack.relocation.SimpleRelocator) ResourceTransformer(org.apache.storm.hack.resource.ResourceTransformer) Relocator(org.apache.storm.hack.relocation.Relocator) SimpleRelocator(org.apache.storm.hack.relocation.SimpleRelocator) ClojureTransformer(org.apache.storm.hack.resource.ClojureTransformer)

Aggregations

Relocator (org.apache.storm.hack.relocation.Relocator)1 SimpleRelocator (org.apache.storm.hack.relocation.SimpleRelocator)1 ClojureTransformer (org.apache.storm.hack.resource.ClojureTransformer)1 ResourceTransformer (org.apache.storm.hack.resource.ResourceTransformer)1