1. While defining a series of steps in a Scalding script, if I need to reuse a previous pipe, what should that pipe be stored as. Should it be lazy val or val?
Also, where can I find the job flow DAG in Scalding? In Pig, I used to be able to see the logical plan. However, if I define different pipes as vale, they seem to be executed over and over again.
--tool.graph
" command will create you dot file which then you can see you flow schema.Hi,I have a couple of really basic questions as I am new to scalding1. While defining a series of steps in a Scalding script, if I need to reuse a previous pipe, what should that pipe be stored as. Should it be lazy val or val?
2. Also, where can I find the job flow DAG in Scalding? In Pig, I used to be able to see the logical plan. However, if I define different pipes as vale, they seem to be executed over and over again.Any help would be appreciated.Cheers!
--
You received this message because you are subscribed to the Google Groups "cascading-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cascading-use...@googlegroups.com.
To post to this group, send email to cascadi...@googlegroups.com.
Visit this group at http://groups.google.com/group/cascading-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/cascading-user/fb76921c-59d7-43fe-a285-a64e1a532c32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
val is fine here. lazy is not useful unless you might not actually access the result.
Also, if you make everything lazy, then there will be no resulting job. Something must be strict to trigger the definition of the FlowDef.