Ethiopia and Eritrea fought a 2.5-year border war between May 1998 and December 2000 in which tens of thousands of people were killed .