check dist type before init partition