This phase II trial is studying how well FR901228 works in treating patients with relapsed or refractory non-Hodgkin's lymphoma. Drugs used in chemotherapy, such as FR901228, work in different ways to stop tumor cells from dividing so they stop growing or die.