Fix hadoop stat error and add unittest