add official sample from hadoop