hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-659) gridmix2 not compiling under mapred module trunk/src/benchmarks/gridmix2
Date Wed, 01 Jul 2009 08:20:47 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725968#action_12725968
] 

Amareshwari Sriramadasu commented on MAPREDUCE-659:
---------------------------------------------------

+1 for Chris's patch.
I did ant tar.
cd src/benchmarks/gridmix2
ant
This created gridmix.jar

With Giri's patch, though I was able to build jar, following the steps described by Giri,
when I run I was facing problems with runtime ClassNotFoundException.


> gridmix2 not compiling under mapred module trunk/src/benchmarks/gridmix2 
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-659
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-659
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build
>         Environment: latest trunk
>            Reporter: Iyappan Srinivasan
>            Assignee: Giridharan Kesavan
>         Attachments: 659-1.patch, MAPREDUCE-659.PATCH
>
>
> When build is tried in gridmix2, it fails
> trunk/src/benchmarks/gridmix2 $ ant
> Buildfile: build.xml
> init:
> compile:
>     [javac] Compiling 3 source files to /home/iyappans/new_trunk1/mapreduce/trunk/src/benchmarks/gridmix2/build
>     [javac] /home/iyappans/new_trunk1/mapreduce/trunk/src/benchmarks/gridmix2/src/java/org/apache/hadoop/mapred/GridMixRunner.java:40:
package org.apache.hadoop.streaming does not exist
>     [javac] import org.apache.hadoop.streaming.StreamJob;
>     [javac]                                   ^
>     [javac] /home/iyappans/new_trunk1/mapreduce/trunk/src/benchmarks/gridmix2/src/java/org/apache/hadoop/mapred/GridMixRunner.java:123:
cannot find symbol
>     [javac] symbol: variable StreamJob
>     [javac]         JobConf jobconf = StreamJob.createJob(args);
>     [javac]                           ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 2 errors
> BUILD FAILED
> /home/iyappans/new_trunk1/mapreduce/trunk/src/benchmarks/gridmix2/build.xml:27: Compile
failed; see the compiler error output for details.
> Total time: 1 second

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message