Under the bottom row of glowstone is water in slabs so that shouldn’t be the problem.
Why does my sugar cane farm not work?