Yes. Up to you whether it fits. I think the API is a bit specialized, even odd, for what you want to do.
On 4/19/08 4:56 PM, "Karl Wettin" <[EMAIL PROTECTED]> wrote: > You mean MapFile? > > http://hadoop.apache.org/core/docs/r0.16.3/api/org/apache/hadoop/io/MapFile.ht > ml > > It says: The index file is read entirely into memory. Thus key > implementations should try to keep themselves small. > > I'll support it though. > > > Ted Dunning skrev: >> >> There is a MapTable available in Hadoop. It is a bit slow because random >> reads from HDFS are kind of slow. >> >> It might be just what you need. >> >> On 4/19/08 3:47 PM, "Karl Wettin" <[EMAIL PROTECTED]> wrote: >> >>> We could implement our own transactionless variant that use Writable for >>> serialization. Is it possible to seek on DFS? >>> >>> >>> karl >>> >>> Grant Ingersoll skrev: >>>> Yeah, I think it does the good ol' download process, meaning it isn't >>>> compatible :-( >>>> >>>> How much work to roll your own? Or, I suppose, find something that is >>>> compatible. >>>> >>>> On Apr 19, 2008, at 12:45 PM, Karl Wettin wrote: >>>> >>>>> trunk/contrib/db/bdb-je to be precise >>>>> >>>>> but I notice it is not in the libs there. >>>>> >>>>> >>>>> Grant Ingersoll skrev: >>>>>> Is that what Lucene Java contrib/db/bdb uses? Or at least a >>>>>> different version? >>>>>> On Apr 18, 2008, at 5:58 PM, Karl Wettin wrote: >>>>>>> http://www.oracle.com/technology/software/products/berkeley-db/htdocs/li >>>>>>> ce >>>>>>> nsing.html >>>>>>> >>>>>>> >>>>>>> >>>>>>> Grant Ingersoll skrev: >>>>>>>> What's the license? >>>>>>>> On Apr 18, 2008, at 5:37 PM, Karl Wettin wrote: >>>>>>>>> I need to persist my tree is some way. Was thinking ad hoc: >>>>>>>>> >>>>>>>>> a file with branch node pks >>>>>>>>> a file with branch node records >>>>>>>>> a file with leaf node pks >>>>>>>>> a file with leaf node records >>>>>>>>> an optional file with node mean instances >>>>>>>>> >>>>>>>>> Will probably start with BDB JE though. Any comments to adding >>>>>>>>> that to the libs? >>>>>>>>> >>>>>>>>> >>>>>>>>> karl >> >
