It's ok I worked it out! I had to execute it like this
$ ./bin/wayang-submit org.apache.wayang.apps.wordcount.WordCountScala exp\(test1\) java file://$(pwd)/README.md
I'm not sure what the purpose of the exp(...) parameter is but it has to be present and I didn't notice any difference no matter what I put inside the parentheses. I had to also modify the wayang-submit script though because the shell would not execute a parameter that had a parenthesis, so I added a few lines to wrap every argument in quotes.
Thanks, Michalis On 20-Apr-23 5:12 PM, Zoi Kaoudi wrote:
Hi Michalis, I have to check carefully but I assume you need to specify an input file to do the word count Sent from Yahoo Mail for iPhone On Thursday, April 20, 2023, 15:13, Michalis Vargiamis <[email protected]> wrote: Hello, When running e.g. org.apache.wayang.apps.wordcount.WordCountScala without parameters I get the following message about its usage Usage: <main class> exp(<ID>[,tags=<tag>,...][,conf=<key>:<value>,...]) <plugin(,plugin)*> <input file> [<words per line a..b[~confidence]>] I'd like to ask what are the "exp(<ID>[,tags=<tag>,...][,conf=<key>:<value>,...])" and "<plugin(,plugin)*>" arguments. Thank you, Michalis
