NonRootStatusReporter listener = new NonRootStatusReporter(context, tunnel);
FragmentRoot rootOperator = bee.getContext().getPlanReader().readFragmentOperator(fragment.getFragmentJson());
FragmentExecutor fr = new FragmentExecutor(context, bee, rootOperator, listener);
bee.addFragmentRunner(fr);
}else{ // isIntermediate, store for incoming data.
NonRootFragmentManager manager = new NonRootFragmentManager(fragment, bee);
bee.getContext().getWorkBus().setFragmentManager(manager);
}
} catch (Exception e) {
throw new UserRpcException(bee.getContext().getEndpoint(), "Failure while trying to start remote fragment", e);