Print

Print


xrootdfs does merge duplicate items.

Depend on how you view xrdfs. In some use cases, you may want it to remove the repeated entries. In other cases, one may want it to show those items multiple times - xrdfs is also a tool that can show us how things actually work in the xrootd cluster, at a lower / raw level. I guess the question is whether we want make it optional…

regards,

--

Wei Yang | [log in to unmask]<mailto:[log in to unmask]> | 650-926-3338(O)

From: olifre <[log in to unmask]<mailto:[log in to unmask]>>
Reply-To: xrootd/xrootd <[log in to unmask]<mailto:[log in to unmask]>>
Date: Tuesday, July 11, 2017 at 2:50 PM
To: xrootd/xrootd <[log in to unmask]<mailto:[log in to unmask]>>
Cc: Subscribed <[log in to unmask]<mailto:[log in to unmask]>>
Subject: Re: [xrootd/xrootd] xrdfs ls lists files multiply (#541)


Well, some people could call it a feature, though obviously, for you, it’s a bug.

Thanks for your reply! This at least clarifies it's not a configuration mistake on my end. Then indeed, I guess what I really want is rather an "enhancement".

That works just fine for JBOD setups but not for DFS setups (i.e. your Lustre setup) and the client really doesn’t know which kind you have.

This raises the question: How does xrootdfs know that? It presents the files only once in our configuration, even though it knows all the data servers. So I guess it does some kind of merging already.

Based on that, I would go with the option to let xrdfs ls do what xrootdfs does. This appears to be the "least surprising" solution for the user.
My guess is, without reading the code, that xrootdfs uses some kind of option "c", i.e. some clever merging.
Does that sound sensible?

Cheers, Oliver


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/xrootd/xrootd/issues/541#issuecomment-314582692>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AE9TAwSNA0Oj5vJAoSMGIJKcZkKZQFr4ks5sM-47gaJpZM4OU1JX>.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@wyang007 in #541: xrootdfs does merge duplicate items.\r\n\r\nDepend on how you view xrdfs. In some use cases, you may want it to remove the repeated entries. In other cases, one may want it to show those items multiple times - xrdfs is also a tool that can show us how things actually work in the xrootd cluster, at a lower / raw level. I guess the question is whether we want make it optional…\r\n\r\nregards,\r\n\r\n--\r\n\r\nWei Yang | [log in to unmask]\u003cmailto:[log in to unmask]\u003e | 650-926-3338(O)\r\n\r\nFrom: olifre \[log in to unmask]\u003cmailto:[log in to unmask]\u003e\u003e\r\nReply-To: xrootd/xrootd \[log in to unmask]\u003cmailto:[log in to unmask]\u003e\u003e\r\nDate: Tuesday, July 11, 2017 at 2:50 PM\r\nTo: xrootd/xrootd \[log in to unmask]\u003cmailto:[log in to unmask]\u003e\u003e\r\nCc: Subscribed \[log in to unmask]\u003cmailto:[log in to unmask]\u003e\u003e\r\nSubject: Re: [xrootd/xrootd] xrdfs ls lists files multiply (#541)\r\n\r\n\r\nWell, some people could call it a feature, though obviously, for you, it’s a bug.\r\n\r\nThanks for your reply! This at least clarifies it's not a configuration mistake on my end. Then indeed, I guess what I really want is rather an \"enhancement\".\r\n\r\nThat works just fine for JBOD setups but not for DFS setups (i.e. your Lustre setup) and the client really doesn’t know which kind you have.\r\n\r\nThis raises the question: How does xrootdfs know that? It presents the files only once in our configuration, even though it knows all the data servers. So I guess it does some kind of merging already.\r\n\r\nBased on that, I would go with the option to let xrdfs ls do what xrootdfs does. This appears to be the \"least surprising\" solution for the user.\r\nMy guess is, without reading the code, that xrootdfs uses some kind of option \"c\", i.e. some clever merging.\r\nDoes that sound sensible?\r\n\r\nCheers, Oliver\r\n\r\n—\r\nYou are receiving this because you are subscribed to this thread.\r\nReply to this email directly, view it on GitHub\u003chttps://github.com/xrootd/xrootd/issues/541#issuecomment-314582692\u003e, or mute the thread\u003chttps://github.com/notifications/unsubscribe-auth/AE9TAwSNA0Oj5vJAoSMGIJKcZkKZQFr4ks5sM-47gaJpZM4OU1JX\u003e.\r\n"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/541#issuecomment-314596096"}}}

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1