A Grand National trainer is sentenced for the “appalling” beating of a dog walker with a hockey stick.