You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Yuhao Bi <by...@gmail.com> on 2015/05/31 16:46:53 UTC

Fwd: Infinite recursive loop in next(List results) method of BaseRegionScanner

---------- Forwarded message ----------
From: Yuhao Bi <by...@gmail.com>
Date: 2015-05-30 16:20 GMT+08:00
Subject: Infinite recursive loop in next(List<Cell> results) method of
BaseRegionScanner
To: dev@phoenix.apache.org


Hi there,

I'm a little confused about the implement of the next(List<Cell> results)
method in BaseRegionScanner.
It seems to be a infinite recursive loop there.

    @Override
    public boolean next(List<Cell> results) throws IOException {
        return next(results);
    }

I noticed that, each place of using "return new BaseRegionScanner()..." has
overrided this method.

So, is it necessary to slightly modify the implement of this method?


Thanks,
Yuhao Bi