A cannabis farmer arrested more than four years ago for cultivating a crop in a residential property has been jailed following the execution of a bench warrant.