Pe 17.02.2012 17:22, Ioan Eugen Stan a scris:
Hello,
For the company I work, I have developed a custom vectorization job that
runs on hadoop/hbase and creates vector files. The job is designed to be
run by MahoutDriver but I'm having difficulties adding it to the
classpath. What is the best way
String[] args = new String[2];
args[0] = max;
args[1] = 7;
args[0] = 4;
int max = Math.main(args);
A more elegant solution is:
ListString argList = new LinkedListString();
argList.add(-t);
argList.add(INPUT_TABLE);
argList.add(-m);
argList.add(MAIL_ACCOUNT_ID);
argList.toArray(new String[
2012/2/23 Ted Dunning ted.dunn...@gmail.com:
Is this a joke?
new String[] {-t, INPUT_TABLE, -m, MAIL_ACCOUNT_ID}
seems better than farting around with lists.
True, thank you.
--
Ioan Eugen Stan
http://ieugen.blogspot.com/
No problem.
And thank you for being kind when I used language less moderate than
appropriate.
On Thu, Feb 23, 2012 at 8:13 PM, Ioan Eugen Stan stan.ieu...@gmail.comwrote:
2012/2/23 Ted Dunning ted.dunn...@gmail.com:
Is this a joke?
new String[] {-t, INPUT_TABLE, -m, MAIL_ACCOUNT_ID}
What does this do? And is it what you want?
org.apache.mahout.text.PrefixAdditionFilter
You can run these apps from inside Eclipse/IntelliJ, and single step
where it walks files.
On Wed, Feb 22, 2012 at 7:01 PM, Temese Szalai temesesza...@gmail.com wrote:
Hello -
I'm new to Mahout and I'm