General high-order rogue wave solutions for the (1+1)-dimensional Yajima-Oikawa (YO) system are derived by using Hirotas bilinear method and the KP-hierarchy reduction technique. These rogue wave solutions are presented in terms of determinants in which the elements are algebraic expressions. The dynamics of first and higher-order rogue wave are investigated in details for different values of the free parameters. It is shown that the fundamental (first-order) rogue waves can be classified into three different patterns: bright, intermediate and dark ones. The high-order rogue waves correspond to the superposition of fundamental rogue waves. Especially, compared with the nonlinear Schodinger equation, there exists an essential parameter alpha to control the pattern of rogue wave for both first- and high-order rogue waves since the YO system does not possess the Galilean invariance.