Fixed ready logic
Fixed ready logic

juju-solutions/layer-apache-hadoop-namenode,juju-solutions/layer-apache-hadoop-namenode,juju-solutions/layer-apache-hadoop-resourcemanager,juju-solutions/layer-apache-hadoop-resourcemanager