An accumulation of urine in the pelvis of the kidney.