zrlio / crail

[Archived] A Fast Multi-tiered Distributed Storage System based on User-Level I/O

Home Page:http://crail.incubator.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recursive call typo

animeshtrivedi opened this issue · comments

https://github.com/zrlio/crail/blob/master/hdfs/src/main/java/com/ibm/crail/hdfs/CrailHDFSInputStream.java#L164

I think you want to do :

  • readFully(position, buf);
  • readFully(position, buf, 0, buf.length);

Currently it is an infinite recursion.