When you open a SequenceFile, there are API calls getKeyClass and
getValueClass which will give you the Writable classes.

On Thu, Dec 29, 2011 at 12:42 PM, Sean Owen <[email protected]> wrote:
> SequenceFile isn't quite one format -- it's a container format for
> key-value pairs, where keys and values can be of any type. Yes it's
> the same SequenceFile in Hadoop and Mahout, though one file written
> using SequenceFile may hold completely different data types.
>
> I suppose it's like saying that both XHTML and ebXML are both XML
> documents, but, they are not all the same format. You can deal with
> both as XML files; you can't render ebXML as a web page though.
>
> On Thu, Dec 29, 2011 at 9:32 AM, Josh Patterson <[email protected]> wrote:
>> They both map to the same class in hadoop:
>>
>> http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/io/SequenceFile.html
>>
>> JP
>>
>> On Thu, Dec 29, 2011 at 3:32 AM, rahul raghavendhra
>> <[email protected]> wrote:
>>> Thanks jose,
>>>  thank you for your reply, i have one more silly doubt, mahout sequence
>>> file format and hadoop sequence file format are same or different ?
>>> please reply
>>> ./rahul
>>>



-- 
Lance Norskog
[email protected]

Reply via email to