In the very early episodes of the series, Andy Griffith plays Andy Taylor as a bit of a rube. He talks with an exagerated accent and is hardly the all-knowing Andy we've come to love.
With this in mind, all is wrong in Mayberry. Otis is in jail--not for drinking, but for taking a swing at his wife with a leg of lamb. Luckily, he missed and hit his mother-in-law in the mouth with the mutton weapon. Marital violence doesn't exactly spell comedy, even in Mayberry.
During a conversation between Andy and his date Ellie, he expresses of the most condescending ideas about women since Ralph Kramden declared himself 'king of the castle'. Sure, it's small-town America in the pre women's lib era, but to hear it come out of Andy's mouth is quite ugly.
Luckily, they quickly fine-tuned Andy's character and soon he would be THE smart guy in the town full of kooks. Until then, we have these few odd episodes that seem to not fit with the rest of the series.