Add more logging to BeamWriter for easier debugging of stuck stages
Add more logging to BeamWriter for easier debugging of stuck stages

PiperOrigin-RevId: 484468355

tensorflow/datasets,tensorflow/datasets,tensorflow/datasets,tensorflow/datasets,tensorflow/datasets