Skip to main content

Posts

Showing posts from August, 2013

Featured

Space Explorers Book 7: Answers and Explanations

Memunic Space Explorers › Book 7: Memoon and the Search for Another Home › Answers and Explanations Answers and Explanations Habitable means life could live there; inhabited means life does live there. A world can be habitable and empty, as an unoccupied flat has a roof and water but nobody in it. The Moon has almost no air, so water would boil or freeze, and its gravity is only about one-sixth of Earth’s, too weak to keep air. Accept also: no greenhouse blanket, so it swings between very hot and very cold. Venus. It matches Earth in size and roughly in mass, but its thick carbon dioxide air traps heat, making it hot and crushing. “Twin” is only true for size and weight. A dip of 1 per cent means (planet width divided by star width) squared is 0.01, so the ratio is 0.1: the planet is about a tenth as wide as the star. Repeats at the same gap show the planet is going round the star in 12 days, and rule out a one-time event such as a passing object. A planet shines only by reflected l...

An Example Java Map Reduce Program - NYSE Yearly Analysis

High Level Map Reduce Execution in Brief: Firstly, a MapReduce job is split into the Mapping phase and the Reduce phase on a high level. The mapping part of a job is distributed to all nodes on a cluster which hold the blocks of the input files used in the job. Each node can then spawn multiple mappers, ie using all the cores of a Quad core CPU, to process the data residing on that computer. All of this occurs in parallel. The mapper class is mainly for data filtering and transformations. The Reducers run on different nodes and the number of reducers to be run are defined by the programmer in the job configuration. The selection of nodes to run reducer is done by the job tracker based on availability of resources. The process that a MapReduce job goes through to complete a job is as follows: The number of map and reduce functions are defined by the job you are running. Each map processes its input data, sorts it to group the keys and writes it to disk. The job define...