adding outline of hadoop job to build index
minor changes to use newer hadoop api calls