Make HDFSState public

This change breaks advanced users.