package water.api;

import water.util.Log;

public class LogAndEchoHandler extends Handler {
  @SuppressWarnings("unused") // called through reflection by RequestServer
  public LogAndEchoV3 echo(int version, LogAndEchoV3 u) { Log.info(u.message); return u; }
}

@@ -13,16 +13,37 @@
 r.api;%0A%0A
+import water.MRTask;%0A
 import w
@@ -222,16 +222,22 @@
 version,
+ final
  LogAndE
@@ -250,29 +250,107 @@
 u) %7B
- Log.info(u.message);
+%0A    new MRTask() %7B @Override public void setupLocal() %7B Log.info(u.message); %7D %7D.doAllNodes();%0A   
  ret
@@ -359,9 +359,10 @@
 n u;
+%0A 
  %7D%0A%7D
-%0A

make log and echo perform on all nodes