Xavier Stevens wrote:
Thanks for everything so far.  It has been really helpful.  I have one
more question.  Is there a way to merge MapFile index/data files?

No.

To append text files you can use 'bin/hadoop fs -getmerge'.

To merge sorted SequenceFiles (like MapFile/index files) you can use:

http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/io/SequenceFile.Sorter.html#merge(org.apache.hadoop.fs.Path[],%20org.apache.hadoop.fs.Path,%20boolean)

But this doesn't generate a MapFile.

Why is a single file preferable?

Doug

Reply via email to