Which fuel pump? The injection pump or the lift pump? Not even sure if your model has a lift pump or not but a lot of diesels do. The lift pumps are usually cheap and the injection pumps not so cheap.
I doubt your machine is under warranty but it is very unusual for an injection pump to go that early unless contaminants or moisture got to it.