Fixes syntax errors for hadoop module