LM317 voltage regulator R2 is getting very hot? why?

The 317 can also be configured as a current regulator (for relatively Constant Currents BELOW 1A). And,, you canconfigure one 317 as a voltage regulator (for desired Vout+1.25V) and follow it with a second 317 configured as a current limiter. It works. It kills batteries. It wastes parts. I've done it many times and with regret, will probablly continue to do so...