Using hdfsLength over length