fixed the JoinSpec for hadoop2