replace bigdata by mapdb