Change command for create rsa keys.
command => 'cp /root/.ssh/id_rsa* /home/hdadmin/.ssh/ && chown
hdadmin:hadoop /home/hdadmin/.ssh/id_rsa*'