[Ndn-interest] Ndn-interest Digest, Vol 37, Issue 17

Ishita Dasgupta ishita.dasgupta at gmail.com
Mon May 1 12:57:05 PDT 2017


Hi Zhehao,

I had been following the same steps but somehow it started working this
time.
I am now trying to fetch the files from a remote client :

*fetch /ndn/broadcast/ndnfs/test.txt /users/idasgupt/test.txt*

Output:

Saving file: /ndn/broadcast/ndnfs/test.txt to /users/idasgupt/test.txt
> This is a file
> name:  /ndn/broadcast/ndnfs/test.txt/%C1.FS.file/%FDY%07%8B%0A
> size:  14
> version:   1493666570
> total segments: 1
> Signature verification: VERIFIED
> onFileData: Received content. Size 14
> Last segment received.


But, when I look into
 /users/idasgupt/
directory in the local client, I cannot find the file in this directory.
Note: Before fetching,
*/users/idasgupt/test.txt*
*​ *doesn't exist*​*


Regards,
Ishita Dasgupta

*Graduate Student**College of Information and Computer Sciences*
*,UMass Amherst*
*Email*: ishitadg at cs.umass.edu

On Tue, Apr 18, 2017 at 3:00 PM, <ndn-interest-request at lists.cs.ucla.edu>
wrote:

> Send Ndn-interest mailing list submissions to
>         ndn-interest at lists.cs.ucla.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
> or, via email, send a message with subject or body 'help' to
>         ndn-interest-request at lists.cs.ucla.edu
>
> You can reach the person managing the list at
>         ndn-interest-owner at lists.cs.ucla.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ndn-interest digest..."
>
>
> Today's Topics:
>
>    1. Re: Trouble with testing sample ndnfs client application
>       (Zhehao Wang)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 18 Apr 2017 10:57:41 -0700
> From: Zhehao Wang <wangzhehao410305 at gmail.com>
> To: Ishita Dasgupta <ishita.dasgupta at gmail.com>
> Cc: Junxiao Shi <shijunxiao at email.arizona.edu>,
>         "Ndn-interest at lists.cs.ucla.edu" <ndn-interest at lists.cs.ucla.edu>
> Subject: Re: [Ndn-interest] Trouble with testing sample ndnfs client
>         application
> Message-ID:
>         <CAMZEEWGzVtwi74n=na5As_Hr6fCgmVc0J-EjhuVxpGkVD0G4vQ at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Ishita,
>
> Sorry for the late reply! I was on vacation last week.
>
> 3. I started the ndnfs on server: ./build/ndnfs -d /users/idasgupt/dataset
> > /tmp/ndnfs4.
>
> In ndnfs-port argument list, the second directory is the mount path, and
> the first is the actual path.
> So in order for your file to be processed by ndnfs-port (fuse hooks
> executed), please put it in "/tmp/ndnfs4" instead of
> /users/idasgupt/dataset.
>
> Please let me know if this helps!
>
> Thanks,
> Zhehao
>
> On Thu, Apr 13, 2017 at 2:49 PM, Ishita Dasgupta <
> ishita.dasgupta at gmail.com>
> wrote:
>
> > Hi Junxiao,
> >
> > So I just created a file i.txt in /users/idasgupt/dataset after i started
> > nfd, ndnfd and ndnfs-server. I double-checked to see if it became
> available
> > at /tmp/ndnfs as well.
> > At client: show /ndn/broadcast/ndnfs/i.txt
> > Output: Similar timeout and no such file found in ndnfs-server.log
> >
> > Regards,
> > Ishita Dasgupta
> >
> > *Graduate Student**College of Information and Computer Sciences*
> > *,UMass Amherst*
> > *Email*: ishitadg at cs.umass.edu
> >
> > On Thu, Apr 13, 2017 at 5:34 PM, Junxiao Shi <
> shijunxiao at email.arizona.edu
> > > wrote:
> >
> >> Hi Ishita
> >>
> >> Did you put the file into the server?
> >> Note that ndnfs-port will not recognize files previously in
> >> /users/idasgupt/dataset. You must put the file into /tmp/ndnfs when the
> >> server is running.
> >>
> >> Yours, Junxiao
> >>
> >> On Apr 13, 2017 14:16, "Ishita Dasgupta" <ishita.dasgupta at gmail.com>
> >> wrote:
> >>
> >> Hi,
> >> I am having trouble trying to show/fetch files hosted by ndnfs-server
> via
> >> ndnfs-client with the simple test-client application provided here
> >> <https://github.com/remap/ndnfs-port>.
> >>
> >> Here are the steps:
> >>
> >> *To start the server:*
> >> 1. My data directory: /users/idasgupt/dataset
> >> 2. Mounting directory: /tmp/ndnfs
> >> 3. I started the ndnfs on server: ./build/ndnfs -d
> >> /users/idasgupt/dataset /tmp/ndnfs4.
> >> 4. I start the ndnfs-server: ./build/ndnfs-server -p
> >> /ndn/broadcast/ndnfs -l ndnfs-server.log -f /tmp/ndnfs -d ndnfs.db
> (Thus, prefix:
> >> /ndn/broadcast/ndnfs/)
> >>
> >> *To start/test the client(localhost): *
> >> I am trying to see the metadata/fetch a file *a.txt* that I confirmed
> >> exists both in my data and mount directory. (Also the file permission
> was
> >> 777)
> >>
> >> 1. nfd-start; ./build/test-client
> >> I skipped nfdc register as this was localhost. I have tried with nfdc
> >> register from remote client as well and I still get the same error
> >> described next
> >> 2. show /ndn/broadcast/ndnfs/a.txt (KEEPS TIMING OUT, same with fetch)
> >> *OUTPUT: *
> >> Displaying info of file by name: /ndn/broadcast/ndnfs/a.txt
> >> Timeout /ndn/broadcast/ndnfs/a.txt
> >> *NDNFS-SERVER.LOG*
> >> - 1491847947 DEBUG: Ndnfs-server logging.
> >> - 1491847947 DEBUG: main: sqlite database open ok
> >> - 1491847947 DEBUG: main: db file: ndnfs.db
> >> - 1491847947 DEBUG: main: fs root path: /tmp/ndnfs
> >> - 1491847947 DEBUG: main: serving prefix: /ndn/broadcast/ndnfs
> >> - 1491848080 DEBUG: onInterest: no such file found in ndnfs: /a.txt
> >> - 1491848080 DEBUG: sendDirMeta: no such folder found: /a.txt
> >>
> >>
> >> Has anyone come across this problem before?
> >> Am I writing the prefix or filepath wrong?
> >> I have ndn-cpp,  ndnfs-port , ndn-tools, NFD,  PyNDN2 installed both on
> >> server and client(when remote) as well as their dependent libraries. Do
> >> I need to manually setup some sqlite db or anything to do with ndn-js
> >> library?
> >> Please let me know if you have any idea where I might be going wrong.
> Any
> >> guidance would be helpful.
> >>
> >> _______________________________________________
> >> Ndn-interest mailing list
> >> Ndn-interest at lists.cs.ucla.edu
> >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
> >>
> >>
> >>
> >
> > _______________________________________________
> > Ndn-interest mailing list
> > Ndn-interest at lists.cs.ucla.edu
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachm
> ents/20170418/fb825956/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>
>
> ------------------------------
>
> End of Ndn-interest Digest, Vol 37, Issue 17
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20170501/748072aa/attachment.html>


More information about the Ndn-interest mailing list