Permalink
Browse files

Switching to Maven

  • Loading branch information...
1 parent 728c83e commit 68b781617caa8bb8ec8fc11daa4f95c8ef1e9380 @xstevens xstevens committed Jul 22, 2011
Showing with 564 additions and 88 deletions.
  1. +3 −0 .gitignore
  2. +4 −4 README.md
  3. +0 −27 build.properties
  4. +0 −57 build.xml
  5. BIN lib/commons-logging-1.1.1.jar
  6. BIN lib/hadoop-core-0.20.2-cdh3u0.jar
  7. BIN lib/hadoop-lzo-0.4.8.jar
  8. BIN lib/hbase-0.90.1-cdh3u0.jar
  9. BIN lib/jackson-core-asl-1.8.1.jar
  10. BIN lib/jackson-mapper-asl-1.8.1.jar
  11. BIN lib/log4j-1.2.16.jar
  12. BIN lib/lucene-analyzers-3.1.0.jar
  13. BIN lib/lucene-core-3.1.0.jar
  14. BIN lib/mahout-collections-1.0.jar
  15. BIN lib/mahout-core-0.5.jar
  16. BIN lib/mahout-math-0.5.jar
  17. BIN lib/mahout-utils-0.5.jar
  18. BIN lib/{opencloud.jar → opencloud-0.2.jar}
  19. BIN lib/pig-0.8.0-cdh3u0-core.jar
  20. BIN lib/riak-client-0.14.1-SNAPSHOT.jar
  21. BIN lib/zookeeper-3.3.3-cdh3u0.jar
  22. +520 −0 pom.xml
  23. +37 −0 src/assembly/job.xml
  24. 0 src/{ → main}/java/com/mozilla/hadoop/Backup.java
  25. 0 src/{ → main}/java/com/mozilla/hadoop/ClusterHealth.java
  26. 0 src/{ → main}/java/com/mozilla/hadoop/UnknownPathFinder.java
  27. 0 src/{ → main}/java/com/mozilla/hadoop/fs/Dictionary.java
  28. 0 src/{ → main}/java/com/mozilla/hadoop/fs/SequenceFileDirectoryReader.java
  29. 0 src/{ → main}/java/com/mozilla/hadoop/hbase/mapreduce/MultiScanTableInputFormat.java
  30. 0 src/{ → main}/java/com/mozilla/hadoop/hbase/mapreduce/MultiScanTableMapReduceUtil.java
  31. 0 src/{ → main}/java/com/mozilla/hadoop/mapreduce/lib/UniqueIdentityReducer.java
  32. 0 src/{ → main}/java/com/mozilla/hadoop/riak/RiakExportToHDFS.java
  33. 0 src/{ → main}/java/com/mozilla/hive/serde/TestPilotJsonSerde.java
  34. 0 src/{ → main}/java/com/mozilla/lucene/analysis/en/EnglishAnalyzer.java
  35. 0 src/{ → main}/java/com/mozilla/lucene/analysis/en/NGramEnglishAnalyzer.java
  36. 0 src/{ → main}/java/com/mozilla/lucene/analysis/en/ShingleAllStopFilter.java
  37. 0 src/{ → main}/java/com/mozilla/mahout/clustering/display/kmeans/DisplayKMeansBase.java
  38. 0 src/{ → main}/java/com/mozilla/mahout/clustering/display/kmeans/OriginalText.java
  39. 0 src/{ → main}/java/com/mozilla/mahout/clustering/display/kmeans/WordCloud.java
  40. 0 src/{ → main}/java/com/mozilla/mahout/clustering/display/lda/DisplayLDATopics.java
  41. 0 src/{ → main}/java/com/mozilla/mahout/clustering/display/lda/OriginalText.java
  42. 0 src/{ → main}/java/com/mozilla/pig/eval/BytesSize.java
  43. 0 src/{ → main}/java/com/mozilla/pig/eval/ConvertBagToTuple.java
  44. 0 src/{ → main}/java/com/mozilla/pig/eval/ConvertMapToBag.java
  45. 0 src/{ → main}/java/com/mozilla/pig/eval/Size.java
  46. 0 src/{ → main}/java/com/mozilla/pig/eval/date/ConvertDateFormat.java
  47. 0 src/{ → main}/java/com/mozilla/pig/eval/date/FormatDate.java
  48. 0 src/{ → main}/java/com/mozilla/pig/eval/date/ParseDate.java
  49. 0 src/{ → main}/java/com/mozilla/pig/eval/json/JsonMap.java
  50. 0 src/{ → main}/java/com/mozilla/pig/eval/ml/TFIDFVectorizer.java
  51. 0 src/{ → main}/java/com/mozilla/pig/eval/ml/TFVectorizer.java
  52. 0 src/{ → main}/java/com/mozilla/pig/eval/ml/Vectorizer.java
  53. 0 src/{ → main}/java/com/mozilla/pig/eval/regex/EncodeChromeUrl.java
  54. 0 src/{ → main}/java/com/mozilla/pig/eval/regex/FindAll.java
  55. 0 src/{ → main}/java/com/mozilla/pig/eval/text/NGramTokenize.java
  56. 0 src/{ → main}/java/com/mozilla/pig/eval/text/TermFrequency.java
  57. 0 src/{ → main}/java/com/mozilla/pig/eval/text/Tokenize.java
  58. 0 src/{ → main}/java/com/mozilla/pig/eval/text/UnigramExtractor.java
  59. 0 src/{ → main}/java/com/mozilla/pig/filter/InDictionary.java
  60. 0 src/{ → main}/java/com/mozilla/pig/load/HBaseMultiScanLoader.java
  61. 0 src/{ → main}/java/com/mozilla/pig/storage/DocumentVectorStorage.java
  62. 0 src/{ → main}/java/com/mozilla/pig/storage/RegExLoader.java
  63. 0 src/{ → main}/java/com/mozilla/pig/storage/SequenceFileStorage.java
  64. 0 src/{ → main}/java/com/mozilla/pig/storage/apachelog/WeblogsLoader.java
  65. 0 src/{ → main}/java/com/mozilla/util/DateUtil.java
  66. 0 src/{ → main}/java/com/mozilla/util/Pair.java
  67. 0 src/{ → main}/java/com/mozilla/util/StringUtil.java
  68. 0 src/{ → main}/java/com/mozilla/util/TextUtil.java
  69. 0 src/{ → main}/python/format_riak_keys.py
  70. 0 src/{ → main}/python/lsr_diff.py
View
@@ -1,6 +1,8 @@
build
+target
.project
.classpath
+.settings
# Compiled source #
###################
@@ -25,6 +27,7 @@ build
# Logs and databases #
######################
+logs
*.log
*.sql
*.sqlite
View
@@ -1,8 +1,8 @@
# Akela #
-Version: 0.1
+Version: 0.2
-#### A bunch of utility classes for Java, Hadoop, HBase, Pig, etc. ####
+#### Mozilla's utility library for Hadoop, HBase, Pig, etc. ####
### Version Compatability ###
This code is built with the following assumptions. You may get mixed results if you deviate from these versions.
@@ -15,11 +15,11 @@ This code is built with the following assumptions. You may get mixed results if
### Building ###
To make a jar you can do:
-`ant jar`
+`mvn package`
To make a Hadoop MapReduce job jar with no defined main class in the manifest:
-`ant hadoop-jar`
+`mvn assembly:assembly`
### License ###
View
@@ -1,27 +0,0 @@
-project.name = akela
-project.version = 0.1
-
-basedir = .
-src.dir = ${basedir}/src
-lib.dir = ${basedir}/lib
-conf.dir = ${basedir}/conf
-bin.dir = ${basedir}/bin
-build.dir = ${basedir}/build
-dist.dir = ${basedir}/dist
-
-build.classes = ${build.dir}/classes
-build.javadoc = ${build.dir}/javadoc
-build.encoding = ISO-8859-1
-build.lib = ${build.dir}/lib
-
-# Java
-java.src.dir = ${src.dir}/java
-javadoc.packages=*
-
-debug=off
-optimize=on
-deprecation=on
-build.compiler=modern
-
-java.src.version=1.6
-java.target.version=1.6
View
@@ -1,57 +0,0 @@
-<?xml version="1.0"?>
-<project name="akela" default="jar" basedir=".">
-
- <!-- Load all properties -->
- <property file="${basedir}/build.properties"/>
-
- <path id="classpath">
- <pathelement location="${build.classes}"/>
- <pathelement location="."/>
- <fileset dir="${lib.dir}">
- <include name="*.jar"/>
- </fileset>
- </path>
-
- <target name="clean">
- <delete includeEmptyDirs="true" failonerror="false">
- <fileset dir="build"/>
- </delete>
- </target>
-
- <target name="init" depends="clean">
- <mkdir dir="${build.dir}"/>
- <mkdir dir="${build.classes}"/>
- <mkdir dir="${build.javadoc}"/>
- <mkdir dir="${build.lib}"/>
- </target>
-
- <target name="compile-java" depends="init">
- <javac encoding="${build.encoding}" srcdir="${java.src.dir}" includes="**/*.java" destdir="${build.classes}" debug="${debug}" source="${java.src.version}" optimize="${optimize}" deprecation="${deprecation}" includeantruntime="false">
- <classpath refid="classpath"/>
- <compilerarg line="-Xlint:unchecked"/>
- </javac>
- </target>
-
- <target name="compile" depends="compile-java"/>
-
- <target name="hadoop-jar" depends="compile">
- <delete file="${build.lib}/${project.name}-job.jar"/>
- <jar destfile="${build.lib}/${project.name}-job.jar">
- <fileset dir="${build.classes}"/>
- <fileset dir=".">
- <include name="lib/*.jar"/>
- <exclude name="lib/hadoop*.jar"/>
- <exclude name="lib/hbase*.jar"/>
- <exclude name="lib/zookeeper*.jar"/>
- <exclude name="lib/pig*.jar"/>
- </fileset>
- </jar>
- </target>
-
- <target name="jar" depends="compile">
- <jar destfile="${build.lib}/${project.name}-${project.version}.jar">
- <fileset dir="${build.classes}"/>
- </jar>
- </target>
-
-</project>
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 68b7816

Please sign in to comment.