concept memory in category hadoop
appears as: memory, memory

This is an excerpt from Manning's book Hadoop in Practice, Second Edition.
17 Although HDFS Federation in Hadoop 2 has introduced a way for multiple NameNodes to share file metadata, the fact remains that metadata is stored in memory.
# define source, channel and sink agent1.sources = tail_source1 agent1.channels = ch1 agent1.sinks = hdfs_sink1 # define tail source agent1.sources.tail_source1.type = exec agent1.sources.tail_source1.channels = ch1 agent1.sources.tail_source1.shell = /bin/bash -c agent1.sources.tail_source1.command = tail -F /var/log/messages agent1.sources.tail_source1.interceptors = ts agent1.sources.tail_source1.interceptors.ts.type = timestamp # define in-memory channel agent1.channels.ch1.type = memory agent1.channels.ch1.capacity = 100000 agent1.channels.ch1.transactionCapacity = 1000 # define HDFS sink properties agent1.sinks.hdfs_sink1.type = hdfs agent1.sinks.hdfs_sink1.hdfs.path = /flume/%y%m%d/%H%M%S agent1.sinks.hdfs_sink1.hdfs.fileType = DataStream agent1.sinks.hdfs_sink1.channel = ch1
Semi-join —Another map-side join where one dataset is initially too large to fit into memory, but after some filtering can be reduced down to a size that can fit in memory
In this section we’ll look at three different flavors of map-side joins. Technique 56 works well in situations where one of the datasets is already small enough to cache in memory. Technique 57 is more involved, and it also requires that one dataset can fit in memory after filtering out records where the join key exists in both datasets. Technique 58 works in situations where your data is sorted and distributed across your files in a certain way.