fix all local ii test cases
fix generic job test
reformat java code
format inverted-index java code
merge with Hongbin