syncronized with HdfsLoader