Permalink
Browse files

Update Hadoop 1.0.0 -> 1.0.1.

  • Loading branch information...
1 parent fc6db50 commit afc83d429af3251f840789b8dd2346d9fdebbabc @tomwhite committed Feb 26, 2012
Showing with 5 additions and 71 deletions.
  1. +2 −2 README
  2. +3 −69 hadoop-meta/pom.xml
View
4 README
@@ -9,7 +9,7 @@ for the first edition at http://github.com/tomwhite/hadoop-book/tree/1e, and
for the second edition at http://github.com/tomwhite/hadoop-book/tree/2e.
This version of the code has been tested with:
- * Hadoop 1.0.0/0.22.0/0.23.0
+ * Hadoop 1.0.1/0.22.0/0.23.0
* Avro 1.5.4
* Pig 0.9.1
* Hive 0.8.0
@@ -25,7 +25,7 @@ You also need to install Maven.
Then you can build the code with:
-% mvn package -DskipTests -Dhadoop.version=1.0.0
+% mvn package -DskipTests -Dhadoop.version=1.0.1
You should then be able to run the examples from the book.
View
@@ -80,15 +80,15 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
</build>
</profile>
<profile>
- <id>apache-203</id>
+ <id>apache-1.0.1</id>
<activation>
<property>
<name>hadoop.version</name>
- <value>0.20.203.0</value>
+ <value>1.0.1</value>
</property>
</activation>
<properties>
- <hadoop.version>0.20.203.0</hadoop.version>
+ <hadoop.version>1.0.1</hadoop.version>
</properties>
<dependencies>
<dependency>
@@ -124,77 +124,11 @@ A module which allows the Hadoop dependencies to be specified by a Maven profile
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
- <exclude>MaxTemperatureWithMultipleInputs.java</exclude>
- <exclude>PartitionByStationUsingMultipleOutputs.java</exclude>
- <exclude>PartitionByStationYearUsingMultipleOutputs.java</exclude>
- <exclude>JoinRecordWithStationName.java</exclude>
<exclude>LookupRecordByTemperature.java</exclude>
<exclude>LookupRecordsByTemperature.java</exclude>
<exclude>MaxTemperatureByStationNameUsingDistributedCacheFileApi.java</exclude>
<exclude>NewMissingTemperatureFields.java</exclude>
<exclude>SortByTemperatureToMapFile.java</exclude>
- <exclude>SortByTemperatureUsingTotalOrderPartitioner.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>apache-1.0.0</id>
- <activation>
- <property>
- <name>hadoop.version</name>
- <value>1.0.0</value>
- </property>
- </activation>
- <properties>
- <hadoop.version>1.0.0</hadoop.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-core</artifactId>
- <version>${hadoop.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-test</artifactId>
- <version>${hadoop.version}</version>
- </dependency>
- <!-- Required to run -->
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-core</artifactId>
- <version>1.8</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>1.5.2</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>MaxTemperatureWithMultipleInputs.java</exclude>
- <exclude>PartitionByStationUsingMultipleOutputs.java</exclude>
- <exclude>PartitionByStationYearUsingMultipleOutputs.java</exclude>
- <exclude>JoinRecordWithStationName.java</exclude>
- <exclude>LookupRecordByTemperature.java</exclude>
- <exclude>LookupRecordsByTemperature.java</exclude>
- <exclude>MaxTemperatureByStationNameUsingDistributedCacheFileApi.java</exclude>
- <exclude>NewMissingTemperatureFields.java</exclude>
- <exclude>SortByTemperatureToMapFile.java</exclude>
- <exclude>SortByTemperatureUsingTotalOrderPartitioner.java</exclude>
</excludes>
</configuration>
</plugin>

0 comments on commit afc83d4

Please sign in to comment.