LM317 voltage regulator R2 is getting very hot? why?

Work out the math. You can't have a voltage regulated (constant voltage) constant current source. What is your load?