fix bug not to fetch twice or more for hiveserver2