Hi Zoi, Thanks for your reply Allow me to explain what I'm trying to do at the moment:
Below is a screenshot of the planBuilder that implements the WordCount example from the Wayang repository [image: image.png] So in order to incorporate wayang in our FL framework, we essentially need to serialise this WayangPlan (or alternatively the planBuilder) The approach we were taking involved extracting the operators from the planBuilder, serializing them, sending these serialized operators as pekko messages to clients, deserializing them locally, and recreating the plan using those operators and executing the plan However the issue we are facing at the moment is that we are unable to uncover the WayangPlan object using the planBuilder object. The reason is that most of the methods that we require to do this are private, and hence can't be accessed outside the class. Could you please suggest a remedy to this, or an alternate approach perhaps? Kaustubh said you would connect us with Juri, and he would be able to help out Appreciate your inputs, and grateful for the same Thanks, Vedanta On Tue, Oct 15, 2024 at 5:08 PM Zoi Kaoudi <zkao...@yahoo.gr.invalid> wrote: > Hi Vedana, > here is a json serializer: > https://github.com/apache/incubator-wayang/blob/31b5a295186f3d6d9ac3e0a18b2adf15b2304cc4/wayang-commons/wayang-core/src/main/java/org/apache/wayang/core/util/JsonSerializer.java > Hope this works for you. > Let us know if you need anything else. > Best > -- > Zoi > > > Στις Δευτέρα 14 Οκτωβρίου 2024 στις 12:25:07 μ.μ. CEST, ο χρήστης > vedanta neogi <vedantane...@gmail.com> έγραψε: > > Just to give some context: > I am trying to implement a FL framework where the computation at the > client’s end is abstracted out as a wayang job. > > On Mon, 14 Oct 2024 at 1:43 PM vedanta neogi <vedantane...@gmail.com> > wrote: > > > Is there some pre-existing code that serialises a wayang job in Java? > > Could you share it? Thanks >