repalce hiveExeption in MetastoreClient