You should not remove the localhost.localdomain and localhost entires. There are quite a few applications that depend on those being in there.
Just add your new entries instead of replacing the old one..
127.0.0.1 localhost.localdomain localhost node1.localdomain node1
And yes, you may need to reboot for the changes to be effective.