It's not the wood that's giving you the problems nor the glue. Black pipe is prone to do this. Grab it with your bare hand and your hand turns black. Black pipe or gas pipe as its known, is cheap and causes more problems than what's it worth. Down the road, you'll encounter flakes of rust falling of that pipe as well. Just another stain waiting to happen.
Best to use galvanized pipe.
***Please fill in your profile, at least your location. As this will help us help you better.***
"Whether active duty, retired, national guard or reserve - is someone who, at one point in their life, wrote a blank check made payable to "The United States of America", for an amount of "up to and including my life". That is HONOR, and there are way too many people in this country who no longer understand it." -Author Unknown