Skip to content

Instantly share code, notes, and snippets.

@kmoulart
kmoulart / HelpCommand.java
Created March 18, 2014 08:52
Making a sequence file from a csv, sequentially or via MapReduce
package myCompany.bigdata.hadoop_project.args;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
/**
* Represents an help command.
*
*/
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ mahout-math ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 378 source files to /home/myCompany/Workspace_eclipse/mahout-trunk/math/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /home/myCompany/Workspace_eclipse/mahout-trunk/math/target/generated-sources/mahout/org/apache/mahout/math/map/AbstractDoubleObjectMap.java: Some input files use unchecked or unsafe operations.
[WARNING] /home/myCompany/Workspace_eclipse/mahout-trunk/math/target/generated-sources/mahout/org/apache/mahout/math/map/AbstractDoubleObjectMap.java: Recompile with -Xlint:unchecked for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
@kmoulart
kmoulart / gist:9368193
Created March 5, 2014 14:28
Error : maven compilation of mahout 0.9 on clouder CDH 4.6
[INFO] ------------------------------------------------------------------------
[INFO] Building Mahout Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mahout-core ---
[INFO] Deleting /home/myCompany/Downloads/mahout9/core/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mahout-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource