No, in practical environment, Namenode is on a separate host and job tracker is on a separate host.