Two Arabs convicted of beating a rabbi and a yeshiva director in an anti-Semitic attack will not spend any time in jail, but instead have been handed community service sentences of less than one year.