Thanks very much for the reply, Sorry if I gave the impression that Hadoop ought to support this feature in general. No, I was only asking about my own setup and I'm happy to maintain my own private branch.
Can you help by telling me if changes to INode.java are all the changes I need to make? The layer you describe is a great idea, so I will certainly consider this option. -paul On Thu, Mar 5, 2009 at 8:48 PM, Doug Cutting <[email protected]> wrote: > Paul Sheer wrote: > >> I have the requirement to use Hadoop with case-insensitivity and >> case-preservation ala Windows. >> > > I think you may have difficultly convincing folks that Hadoop should > directly support this mode of operation, and it's also a bad idea to run a > hacked version of HDFS, since that will be hard to maintain. > > The safest and simplest way to support this might be to layer it on top of > the standard API. You can implement a FilterFileSystem that, when opening > files or listing directories, uses case-insensitive comparisons. So, to > open "/foo/bar" you'd first list "/" looking for subdirectories which > case-insensitively match "foo", then, if one is found, list it looking for a > file which case-insensitively matches "bar". Could this suffice? > > Doug >
