On Thu, Mar 31, 2005 at 12:45:39AM +0200, Stefan Groschupf wrote:
Actually it is difficult to have tools using ndfs and local file system.
What do people think about introducing a ndfs notation in paths like it is used in protocol handlers? (ala http:// or file://)
I don't mean to write a protocoll hander for ndfs (this would be nice to have) but I just mean something like:
bin/nutch generate ndfs://namenode:8010/myNDFSFolder/mydb /mylocalsegment/
ndfs path: ndfs://namenode:8010/myNDFSFolder/mydb
local path: /mylocalsegment/
I agree.
Me too. It would be nice to use the standard URL class for parsing these, but you need to register the protocol first, I think there was a message recently that pointed to a howto.
This also nicely solves the non-obvious requirement that all ndfs paths must begin with a slash...
-- Best regards, Andrzej Bialecki ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com
