A Grand National trainer is sentenced for the "appalling" beating on a dog walker with a hockey stick.