TaskAttemptContextImpl is an object, new is required