Skip to content

Commit

Permalink
#14 Fixing script for classpath, queue can be injected from the comm…
Browse files Browse the repository at this point in the history
…and line
  • Loading branch information
habernal committed Jul 8, 2015
1 parent c857301 commit 3642c07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion de.tudarmstadt.ukp.dkpro.bigdata.examples/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ CLASS=$3
MEMORY=$4
shift;shift;shift;shift
PARAMS=$*
RUN="hadoop jar $JAR $CLASS -Dmapreduce.job.queuename=$QUEUE -Dmapred.job.map.memory.mb=$MEMORY -Dmapred.job.reduce.memory.mb=$MEMORY -libjars $JAR,$CP $*"
RUN="hadoop jar $JAR $CLASS -Dmapreduce.job.queuename=$QUEUE -Dmapred.job.map.memory.mb=$MEMORY -Dmapred.job.reduce.memory.mb=$MEMORY -libjars $JAR$CP $*"
echo $RUN
$RUN
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ public static void main(String[] args)
@Override
public void configure(JobConf job)
{
job.set("mapreduce.job.queuename", "smalljob");
// should be set from the command line as -Dmapreduce.job.queuename=xxxxx
// job.set("mapreduce.job.queuename", "smalljob");
/*
* Use Text2Cas InputFormat, read texts directly from h
*/
Expand Down

1 comment on commit 3642c07

@habernal
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should have been committed to #15

Please sign in to comment.