I remembered only some bizarre details about this novel.
Space pirates that are really incompetent, they try to steal some stuff from an enormous ship on an enormous space habitat... This ship is actually an oceangoing vessel on an artificial ocean? Somehow screws it up even when everything is abandoned, because everything will be blown up because of a war that is in the background, I think. Then ends up on an artificial island? With cannibals...
Just remembered this bizarre stuff, sure I read it around 2001, so published before this date. Pretty sure was a novel, not a short story.