If the water is not emptying out of the drain hose then the humming noise will be the drain pump. Probably something in it stopping it from turning. Do not leave it humming too long as it will overheat & damage it. It would also help if you told us what machine you are talking about.
Lincoln Appliance NZ
October 2008