[Ndn-interest] trouble with downloading File size > 1MB

Ishita Dasgupta ishita.dasgupta at gmail.com
Wed Jul 26 14:42:54 PDT 2017


Hi Junxiao,

Thank you. I will do that.

Regards,
Ishita Dasgupta


On Wed, Jul 26, 2017 at 5:40 PM, Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Hi Ishita
>
> It seems there's a bug in the server implementation.
> https://github.com/remap/ndnfs-port/blob/4d312c0edd23ae43e8013118e369f2
> 41cf58d84a/server/servermodule.cc#L300-L308
> In the quoted code snippet, the server is not responding with Data packet
> if segment size is zero. This causes the client to experience an Interest
> timeout.
> I suggest reporting a bug on ndnfs-port GitHub issue tracker.
>
> Yours, Junxiao
>
> On Wed, Jul 26, 2017 at 14:28 Ishita Dasgupta <ishita.dasgupta at gmail.com>
> wrote:
>
>> I agree with you Nick, which is why I thought its a problem on the
>> ndnfs-end. I should have been more clearer, but the "File is empty" error
>> appears on the ndnfs-server log, when trying to download either
>> via ndnfs-client or PyNDN client.
>>
>> I am writing down the exact outputs that might help us towards a better
>> conclusion.
>>
>> *When I use ndnfs client
>> <https://github.com/remap/ndnfs-port/blob/master/test/client.cc> or my
>> PyNDN client to download the 10MB file (exact multiple of 8KB):*
>> Step 1: Last few lines of ndnfs log while moving the file to mount point
>> (before trying downloading it from the client) :
>>
>>> - 1501103069 DEBUG: sign_segment: path=/oneMB.txt, ver=1501103054,
>>> seg=127, len=8192
>>> - 1501103069 DEBUG: sign_segment: segment name is
>>> /ndn/broadcast/ndnfs/oneMB.txt/%FDYy%03%CE/%00%7F
>>> seg:127size:8192
>>> - 1501103069 DEBUG: sign_segment: path=/oneMB.txt, ver=1501103054,
>>> seg=128, len=0
>>> - 1501103069 DEBUG: sign_segment: segment name is
>>> /ndn/broadcast/ndnfs/oneMB.txt/%FDYy%03%CE/%00%80
>>> seg:128size:0
>>
>> Step 2: Now, when trying to downloading with ndnfs remote client, the
>> application times out.
>> Step 3: Last few lines of ndnfs-server log when using ndnfs client:
>>
>>> - 1501103131 DEBUG: sendFileContent: Data returned with name:
>>> /ndn/broadcast/ndnfs/oneMB.txt/%FDYy%03%CE/%00%7F
>>> - 1501103131 DEBUG: sendFileContent: File is empty. Name:
>>> /ndn/broadcast/ndnfs/oneMB.txt/%FDYy%03%CE/%00%80
>>
>>  Last few lines of ndnfs-server log when using PyNDN client:
>>
>>> - 1501103887 DEBUG: sendFileMeta: Data returned with name:
>>> /ndn/broadcast/ndnfs/oneMB.txt/%C1.FS.file/%FDYy%03%CE
>>> - 1501103887 ERROR: onInterest: child selectors, min/maxSuffixComponents
>>> or excludes are not supported in current implementation.
>>> - 1501103887 DEBUG: sendFileContent: Data returned with name:
>>> /ndn/broadcast/ndnfs/oneMB.txt/%FDYy%03%CE/%00%00
>>> - 1501103887 ERROR: onInterest: child selectors, min/maxSuffixComponents
>>> or excludes are not supported in current implementation.
>>> - 1501103887 DEBUG: sendFileContent: File is empty. Name:
>>> /ndn/broadcast/ndnfs/oneMB.txt/%FDYy%03%CE/%00%80
>>
>>
>> Regards,
>> Ishita
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20170726/853ed497/attachment.html>


More information about the Ndn-interest mailing list