swsnu / swppspr2015

Repository for discussing common issues that are not project-specific, SNU SWPP Spring 2015
https://sites.google.com/site/snuswppspr2015/
0 stars 0 forks source link

definition of job & passing `n` to service #25

Open kuna opened 9 years ago

kuna commented 9 years ago

I have two questions.

  1. in REEF docs, task and job is treated differently. then, kills the job means kill job driver. am I correct?
  2. is n is a configuration parameter means that I need to pass n as argument like bindNamedParameter(as far as there's no method to pass argument in ServiceConfiguration), or it means client(user) just configurable(like hard-coded one)?

thank you.

jsjason commented 9 years ago
  1. Killing the job is to stop the whole application. This is related to killing the job driver, yes.
  2. Both is correct. The client should be able to configure n, which then gets passed as an argument.
kuna commented 9 years ago

thank you!

HurSungYun commented 9 years ago

I still can't understand what the 'Kill the job' is. After the job killed, a user can't send other command or should I make other driver after the job killed?

bgchun commented 9 years ago

There's a bit of confusion here.

You can describe your assumptions in your README and design a system based on the assumptions, but I think the following makes more sense.

In this assignment, a job can be interpreted as a command requested by a user. So, after the job gets killed, a user can still send another command.

On Mon, Jun 8, 2015 at 7:29 PM, HurSungYeon notifications@github.com wrote:

I still can't understand what the 'Kill the job' is. After the job killed, a user can't send other command or should I make other driver after the job killed?

— Reply to this email directly or view it on GitHub https://github.com/swsnu/discussionswppspr2015/issues/25#issuecomment-109944401 .

Byung-Gon Chun

jsjason commented 9 years ago

Sorry, I think my comment has created ambiguity on what it means to kill a job. As @bgchun said, please clarify your interpretation in your README so we don't misunderstand your intentions.

HurSungYun commented 9 years ago

Now I understand well. Thanks for quick replying.