Hey Cos, No problem at all. Just want to know the reason. Always good to have constructive discussion to improve our code base!
I think it’s good to switch to python. Please note that there’s an environmental check logic in docket-hadoop.sh, which check whether ruby installed. Please also update that part as well :) Konstantin Boudnik <[email protected]>於 2019年5月28日 週二,下午8:59寫道: > On Tue, May 28, 2019 at 08:34PM, Evans Ye wrote: > > I wrote it with ruby just because it works. I’d favor to reduce any > package > > required to be installed, if possible. > > Yup, I totally understand and appreciate it - no critique here ;) > > > Just wondering what’s the problem you are facing? Is Python most likely > to > > be available out of the box? > > Well, funny enough it was the case with this box. The Python was right > there. > But nonetheless, I think the reliance on two (or more) things instead of > one > just adds the complexity and could be reduced. If there's no objection I > will > take a shot at it. > > And once again - I am so glad the docker provisioner is here! Makes my life > easier...! > > Thanks, > Cos > > > Konstantin Boudnik <[email protected]>於 2019年5月28日 週二,下午8:21寫道: > > > > > Hey fellas. > > > > > > I am preparing for a small demo, using a brand new install Linux > > > installation. And a couple of things came to my attention: > > > > > > -- python is missing 'six' package > > > -- the docker-hadoop.sh is using Ruby > > > > > > The first one is a small env issue, but I wonder why do we need need > Ruby > > > to > > > (if I am not mistaken) parse a yaml config? It seems like an old code > going > > > back to 2016. Would anyone mind if I supply a patch to replace it with > some > > > tiny python hack? > > > > > > Thoughts? > > > Cos > > > >
