Yes, flip suggested such solution, but his files are text, so he could combine them all in a large text file, with each lined representing initial files. My files, however, are binary, so I do not see how I could combine them.
However, since my numbers are limited by about 1 billion files total, I should be OK to put them all in a few directories with under, say, 10,000 files each. Maybe a little balanced tree, but 3-4 four levels should suffice. Thank you, Mark On Sun, Jan 25, 2009 at 11:43 AM, Carfield Yim <[email protected]>wrote: > Possible simple having a file large in size instead of having a lot of > small files? > > On Sat, Jan 24, 2009 at 7:03 AM, Mark Kerzner <[email protected]> > wrote: > > > > Hi, > > > > there is a performance penalty in Windows (pardon the expression) if you > put > > too many files in the same directory. The OS becomes very slow, stops > seeing > > them, and lies about their status to my Java requests. I do not know if > this > > is also a problem in Linux, but in HDFS - do I need to balance a > directory > > tree if I want to store millions of files, or can I put them all in the > same > > directory? > > > > Thank you, > > Mark >
