I second this. But it would still be useful to keep the current NDFS config entries. This is because if these URI's become the main method of using ndfs, they could end up in a lot of scripts users write. Then it would be inconvenient to change the namenode. Maybe we could use ndfs:///path (three slashes as in file:///) to specify NDFS dir on the default namenode.
- Feng Zhou On Wed, 30 Mar 2005 17:11:52 -0800, John X <[EMAIL PROTECTED]> wrote: > 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. > > John > -- - Feng
