Hi,
I am trying to complie my java code. I have used Maven to create jar.
1. Used maven to create jar.
*hadoop@ubuntu:/tmp/mahout-jar$ jar -tf mahout-fpgrowth-1.0-SNAPSHOT.jar **
*
META-INF/
META-INF/MANIFEST.MF
com/
com/musigma/
com /musigma/hpc/
*com/musigma/hpc/CallFPGrowth.class *
META-INF/maven/
META-INF/maven/com.musigma.hpc/
META-INF/maven/com.musigma.hpc/mahout-fpgrowth/pom.xml
META-INF/maven/com.musigma.hpc/mahout-fpgrowth/pom.properties
2. This jar I have placed in /tmp/mahout-jar.
3. I have copied *drivers.classes.props* in /tmp/mahout-jar folder.
4. In drivers.classes.props file, I have made the entry of my class file in
the end
*com.musigma.hpc.CallFPGrowth = callfpgrowth : calling fpgrowth *
5. In terminal, I am using export command to set /tmp/mahout-jar to
MAHOUT_CONF_DIR
*export MAHOUT_CONF_DIR=/tmp/mahout-jar *
6. Now from /tmp/mahout-jar, I am calling mahout, I am getting this
exception
# *mahout callfpgrowth *
*Running on hadoop, using HADOOP_HOME=/usr/local/hadoop/hadoop **
HADOOP_CONF_DIR=/usr/local/hadoop/hadoop/conf
11/09/25 03:13:45 WARN driver.MahoutDriver: Unable to add class:
com.musigma.hpc.CallFPGrowth
11/09/25 03:13:45 WARN driver.MahoutDriver: No callfpgrowth.props found on
classpath, will use command-line arguments only
Unknown program 'callfpgrowth' chosen.
*
Valid program names are:
arff.vector: : Generate Vectors from an ARFF file or directory
canopy: : Canopy clustering
cat: : Print a file or resource as the logistic regression models would see
it
cleansvd: : Cleanup and verification of SVD output
clusterdump: : Dump cluster output to text
dirichlet: : Dirichlet Clustering
eigencuts: : Eigencuts spectral clustering
evaluateFactorization: : compute RMSE of a rating matrix factorization
against probes in memory
evaluateFactorizationParallel: : compute RMSE of a rating matrix
factorization against probes
fkmeans: : Fuzzy K-means clustering
fpg: : Frequent Pattern Growth
itemsimilarity: : Compute the item-item-similarities for item-based
collaborative filtering
kmeans: : K-means clustering
lda: : Latent Dirchlet Allocation
ldatopics: : LDA Print Topics
lucene.vector: : Generate Vectors from a Lucene index
matrixmult: : Take the product of two matrices
meanshift: : Mean Shift clustering
parallelALS: : ALS-WR factorization of a rating matrix
predictFromFactorization: : predict preferences from a factorization of a
rating matrix
prepare20newsgroups: : Reformat 20 newsgroups data
recommenditembased: : Compute recommendations using item-based collaborative
filtering
rowid: : Map SequenceFile<Text,VectorWritable> to
{SequenceFile<IntWritable,VectorWritable>, SequenceFile<IntWritable,Text>}
rowsimilarity: : Compute the pairwise similarities of the rows of a matrix
runlogistic: : Run a logistic regression model against CSV data
seq2sparse: : Sparse Vector generation from Text sequence files
seqdirectory: : Generate sequence files (of Text) from a directory
seqdumper: : Generic Sequence File dumper
seqwiki: : Wikipedia xml dump to sequence file
spectralkmeans: : Spectral k-means clustering
splitDataset: : split a rating dataset into training and probe parts
ssvd: : Stochastic SVD
svd: : Lanczos Singular Value Decomposition
testclassifier: : Test Bayes Classifier
trainclassifier: : Train Bayes Classifier
trainlogistic: : Train a logistic regression using stochastic gradient
descent
transpose: : Take the transpose of a matrix
vectordump: : Dump vectors from a sequence file to text
wikipediaDataSetCreator: : Splits data set of wikipedia wrt feature like
country
wikipediaXMLSplitter: : Reads wikipedia data and creates ch
Am I missing some step ??