Closed dhorgan closed 4 years ago
Hello @dhorgan. Happy to hear that Flintrock is useful to you.
Thank you for submitting a well-written report. I can confirm that Flintrock is not attaching the correct user data to new slaves when it adds them to an existing cluster.
I suspect something is going wrong here, probably with the encoding of the data: https://github.com/nchammas/flintrock/blob/52c6c84c9a1845b0ce89ca138172a6ec4cf0d632/flintrock/ec2.py#L281
By the way, Flintrock's default (and my recommendation) is to use Hadoop 2.8.5.
I think I've found a bug in the
add-slaves
command (or maybe I'm just misunderstanding how it's supposed to work). Here are my version specs:I create my cluster with a configuration file that looks like this:
The user data script at
scripts/install-python3.sh
installs Python 3.7 and looks like this:As expected, when I run
flintrock launch
the cluster is created and each node has Python 3 installed. I've verified this manually by SSH'ing into each node and checking.Next, I add a single node by running
flintrock add-slaves --num-slaves 1
. When I log into the new node, Python 3.7 is unavailable. This is an unexpected result (in my opinion), but I'm not sure whether it's the intended behaviour or not so I'm reporting it here.Thanks for the otherwise excellent tool! :)