[prev in list] [next in list] [prev in thread] [next in thread]
List: hadoop-user
Subject: Using LinkedHashMap with MapWritable
From: madhu phatak <phatak.dev () gmail ! com>
Date: 2012-06-29 9:16:55
Message-ID: CANpNmWVXtJ3tF2jTU-R1YAgBDJNjaj0wUGZUayhhKoq5tcJzSw () mail ! gmail ! com
[Download RAW message or body]
hi,
Current implementation of MapWritable only support HashMap implementation.
But for my application I need a LinkedHashMap since order of keys is
important for me. I m trying to customize the MapWritable
to accommodate custom implementation but whenever I make change to
Writable, all the sequence files written prior to the change, starts to
give EOF exceptions. In Hadoop, as I observed its not possible to change
writables once they r used to persist data into HDFS. Is there anyway
overcoming this limitation?
--
https://github.com/zinnia-phatak-dev/Nectar
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic