Hydrogen can be dangerous, but if we filled a tube with it and ignited it, the gas would just burn, not explode. Now if the tube was closed, the hydrogen would be isolated from oxygen. I don't think an arc inside the closed tube could do anything more then ionize the hydrogen