mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-148) Building of included Hadoop broken
Date Mon, 20 Feb 2012 06:01:45 GMT

    [ https://issues.apache.org/jira/browse/MESOS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211684#comment-13211684
] 

jiraposter@reviews.apache.org commented on MESOS-148:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3963/#review5219
-----------------------------------------------------------


This patch will make things work assuming MESOS_HOME points to a built build directory. Since
it only works for the uninstalled case. It would be ideal for us to handle the installed case,
too. (You can examine the hierarchy created by make DESTDIR=...) I think we should also be
aiming to migrate away from MESOS_HOME as the name of the env. var. to locate mesos binaries
-- at least uninstalled ones because of source/build dir confusion. But that doesn't need
to be done now. (Related bug: MESOS-85.)

Looks okay to me, otherwise.


- Charles


On 2012-02-20 05:47:25, Thomas Marshall wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3963/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-02-20 05:47:25)
bq.  
bq.  
bq.  Review request for mesos, Benjamin Hindman and Charles Reiss.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  After the autotools update, some of the library files that Hadoop depended on were moved,
causing compilation to fail.
bq.  
bq.  
bq.  This addresses bug MESOS-148.
bq.      https://issues.apache.org/jira/browse/MESOS-148
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    frameworks/hadoop-0.20.2/bin/hadoop 51ba90f 
bq.    frameworks/hadoop-0.20.2/src/contrib/mesos/build.xml 6b53139 
bq.    frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java
43416cc 
bq.  
bq.  Diff: https://reviews.apache.org/r/3963/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Thomas
bq.  
bq.


                
> Building of included Hadoop broken
> ----------------------------------
>
>                 Key: MESOS-148
>                 URL: https://issues.apache.org/jira/browse/MESOS-148
>             Project: Mesos
>          Issue Type: Bug
>          Components: framework
>         Environment: OSX 10.6.8
>            Reporter: Thomas Marshall
>            Assignee: Thomas Marshall
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When I run ant on the included Hadoop, I get the following error:
> [javac] Compiling 8 source files to /Users/thomas/mesos2/frameworks/hadoop-0.20.2/build/contrib/mesos/classes
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:16:
package org.apache.mesos does not exist
>     [javac] import org.apache.mesos.Executor;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:17:
package org.apache.mesos does not exist
>     [javac] import org.apache.mesos.ExecutorDriver;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:18:
package org.apache.mesos does not exist
>     [javac] import org.apache.mesos.MesosExecutorDriver;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:19:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.ExecutorArgs;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:20:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.ExecutorID;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:21:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.SlaveID;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:22:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.TaskID;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:23:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.TaskDescription;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:24:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.TaskState;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:25:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.TaskStatus;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:27:
cannot find symbol
>     [javac] symbol: class Executor
>     [javac] public class FrameworkExecutor implements Executor {
>     [javac]                                           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:37:
cannot find symbol
>     [javac] symbol  : class ExecutorDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   private ExecutorDriver driver;
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:38:
cannot find symbol
>     [javac] symbol  : class SlaveID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   private SlaveID slaveId;
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:45:
cannot find symbol
>     [javac] symbol  : class ExecutorDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   public void init(ExecutorDriver d, ExecutorArgs args) {
>     [javac]                    ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:45:
cannot find symbol
>     [javac] symbol  : class ExecutorArgs
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   public void init(ExecutorDriver d, ExecutorArgs args) {
>     [javac]                                      ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:82:
cannot find symbol
>     [javac] symbol  : class ExecutorDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   public void launchTask(ExecutorDriver d, TaskDescription task) {
>     [javac]                          ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:82:
cannot find symbol
>     [javac] symbol  : class TaskDescription
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   public void launchTask(ExecutorDriver d, TaskDescription task) {
>     [javac]                                            ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:92:
cannot find symbol
>     [javac] symbol  : class ExecutorDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   public void killTask(ExecutorDriver d, TaskID taskId) {
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:98:
cannot find symbol
>     [javac] symbol  : class ExecutorDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   public void frameworkMessage(ExecutorDriver d, byte[] msg) {
>     [javac]                                ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:153:
cannot find symbol
>     [javac] symbol  : class ExecutorDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   public void error(ExecutorDriver d, int code, String msg) {
>     [javac]                     ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:158:
cannot find symbol
>     [javac] symbol  : class ExecutorDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]   public void shutdown(ExecutorDriver d) {}
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:22:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.ExecutorInfo;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:23:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.ExecutorID;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:24:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.FrameworkID;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:25:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.OfferID;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:26:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.Resource;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:27:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.SlaveID;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:28:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.Offer;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:29:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.TaskID;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:30:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.TaskDescription;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:31:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.TaskState;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:32:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.TaskStatus;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:33:
package org.apache.mesos.Protos does not exist
>     [javac] import org.apache.mesos.Protos.Status;
>     [javac]                               ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:34:
package org.apache.mesos does not exist
>     [javac] import org.apache.mesos.Scheduler;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:35:
package org.apache.mesos does not exist
>     [javac] import org.apache.mesos.SchedulerDriver;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:37:
cannot find symbol
>     [javac] symbol: class Scheduler
>     [javac] public class FrameworkScheduler implements Scheduler {
>     [javac]                                            ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java:8:
package org.apache.mesos does not exist
>     [javac] import org.apache.mesos.MesosSchedulerDriver;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java:9:
package org.apache.mesos does not exist
>     [javac] import org.apache.mesos.SchedulerDriver;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:102:
cannot find symbol
>     [javac] symbol  : class SchedulerDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private SchedulerDriver driver;
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:104:
cannot find symbol
>     [javac] symbol  : class FrameworkID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private FrameworkID frameworkId;
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:153:
cannot find symbol
>     [javac] symbol  : class SchedulerDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void registered(SchedulerDriver d, FrameworkID fid) {
>     [javac]                          ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:153:
cannot find symbol
>     [javac] symbol  : class FrameworkID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void registered(SchedulerDriver d, FrameworkID fid) {
>     [javac]                                             ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:165:
cannot find symbol
>     [javac] symbol  : class Resource
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private static Resource makeResource(String name, double value) {
>     [javac]                  ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:171:
cannot find symbol
>     [javac] symbol  : class Resource
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private static double getResource(Collection<Resource> resources,
String name) {
>     [javac]                                                ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:180:
cannot find symbol
>     [javac] symbol  : class Offer
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private static double getResource(Offer offer, String name) {
>     [javac]                                     ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:184:
cannot find symbol
>     [javac] symbol  : class TaskDescription
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private static double getResource(TaskDescription task, String name) {
>     [javac]                                     ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:189:
cannot find symbol
>     [javac] symbol  : class SchedulerDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void resourceOffers(SchedulerDriver d, List<Offer> offers)
{
>     [javac]                              ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:189:
cannot find symbol
>     [javac] symbol  : class Offer
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void resourceOffers(SchedulerDriver d, List<Offer> offers)
{
>     [javac]                                                      ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:249:
cannot find symbol
>     [javac] symbol  : class SlaveID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private TaskTrackerInfo getTaskTrackerInfo(String host, SlaveID slaveId)
{
>     [javac]                                                           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:261:
cannot find symbol
>     [javac] symbol  : class SlaveID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]       SlaveID slaveId, String host, double cpus, double mem) {
>     [javac]       ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:260:
cannot find symbol
>     [javac] symbol  : class TaskDescription
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private TaskDescription findTask(
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:326:
cannot find symbol
>     [javac] symbol  : class ExecutorID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private static final ExecutorID EXECUTOR_ID =
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:329:
cannot find symbol
>     [javac] symbol  : class ExecutorInfo
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public ExecutorInfo getExecutorInfo() {
>     [javac]          ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:454:
cannot find symbol
>     [javac] symbol  : class SchedulerDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void statusUpdate(SchedulerDriver d, TaskStatus status) {
>     [javac]                            ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:469:
cannot find symbol
>     [javac] symbol  : class SchedulerDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void slaveLost(SchedulerDriver d, SlaveID slaveId) {}
>     [javac]                         ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:469:
cannot find symbol
>     [javac] symbol  : class SlaveID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void slaveLost(SchedulerDriver d, SlaveID slaveId) {}
>     [javac]                                            ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:580:
cannot find symbol
>     [javac] symbol  : class TaskState
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   private void askExecutorToUpdateStatus(MesosTask nt, TaskState state) {
>     [javac]                                                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:625:
cannot find symbol
>     [javac] symbol  : class SchedulerDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void frameworkMessage(SchedulerDriver d, SlaveID sId, ExecutorID
eId, byte[] message) {
>     [javac]                                ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:625:
cannot find symbol
>     [javac] symbol  : class SlaveID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void frameworkMessage(SchedulerDriver d, SlaveID sId, ExecutorID
eId, byte[] message) {
>     [javac]                                                   ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:625:
cannot find symbol
>     [javac] symbol  : class ExecutorID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void frameworkMessage(SchedulerDriver d, SlaveID sId, ExecutorID
eId, byte[] message) {
>     [javac]                                                                ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:630:
cannot find symbol
>     [javac] symbol  : class SchedulerDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void error(SchedulerDriver d, int code, String msg) {
>     [javac]                     ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:635:
cannot find symbol
>     [javac] symbol  : class SchedulerDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void offerRescinded(SchedulerDriver d, OfferID oId) {}
>     [javac]                              ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:635:
cannot find symbol
>     [javac] symbol  : class OfferID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]   public void offerRescinded(SchedulerDriver d, OfferID oId) {}
>     [javac]                                                 ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java:26:
cannot find symbol
>     [javac] symbol  : class SchedulerDriver
>     [javac] location: class org.apache.hadoop.mapred.MesosScheduler
>     [javac]   private SchedulerDriver driver;
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:67:
cannot find symbol
>     [javac] symbol  : class SlaveID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler.TaskTrackerInfo
>     [javac]     SlaveID mesosSlaveId;
>     [javac]     ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:71:
cannot find symbol
>     [javac] symbol  : class SlaveID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler.TaskTrackerInfo
>     [javac]     public TaskTrackerInfo(SlaveID mesosSlaveId) {
>     [javac]                            ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:44:
method does not override or implement a method from a supertype
>     [javac]   @Override
>     [javac]   ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:87:
cannot find symbol
>     [javac] symbol  : variable TaskState
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]                                  .setState(TaskState.TASK_RUNNING)
>     [javac]                                            ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:85:
cannot find symbol
>     [javac] symbol  : method newBuilder()
>     [javac] location: class org.apache.hadoop.mapred.TaskStatus
>     [javac]     d.sendStatusUpdate(TaskStatus.newBuilder()
>     [javac]                                  ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:81:
method does not override or implement a method from a supertype
>     [javac]   @Override
>     [javac]   ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:91:
method does not override or implement a method from a supertype
>     [javac]   @Override
>     [javac]   ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:103:
cannot find symbol
>     [javac] symbol  : class TaskState
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]           TaskState s = TaskState.valueOf(hfm.arg1);
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:103:
cannot find symbol
>     [javac] symbol  : variable TaskState
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]           TaskState s = TaskState.valueOf(hfm.arg1);
>     [javac]                         ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:107:
cannot find symbol
>     [javac] symbol  : method newBuilder()
>     [javac] location: class org.apache.hadoop.mapred.TaskID
>     [javac]                       TaskID.newBuilder().setValue(hfm.arg2).build()
>     [javac]                             ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:106:
cannot find symbol
>     [javac] symbol  : method newBuilder()
>     [javac] location: class org.apache.hadoop.mapred.TaskStatus
>     [javac]                   TaskStatus.newBuilder().setTaskId(
>     [javac]                             ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:97:
method does not override or implement a method from a supertype
>     [javac]   @Override 
>     [javac]   ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:133:
package org.apache.mesos.Protos does not exist
>     [javac]         org.apache.mesos.Protos.TaskState mesosState = null;
>     [javac]                                ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:135:
cannot find symbol
>     [javac] symbol  : variable TaskState
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]           mesosState = TaskState.TASK_FINISHED;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:137:
cannot find symbol
>     [javac] symbol  : variable TaskState
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]           mesosState = TaskState.TASK_FAILED;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:139:
cannot find symbol
>     [javac] symbol  : variable TaskState
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]           mesosState = TaskState.TASK_KILLED;
>     [javac]                        ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:143:
cannot find symbol
>     [javac] symbol  : method newBuilder()
>     [javac] location: class org.apache.hadoop.mapred.TaskID
>     [javac]                     TaskID.newBuilder().setValue(task.extraData).build()
>     [javac]                           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:142:
cannot find symbol
>     [javac] symbol  : method newBuilder()
>     [javac] location: class org.apache.hadoop.mapred.TaskStatus
>     [javac]                   TaskStatus.newBuilder().setTaskId(
>     [javac]                             ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:152:
method does not override or implement a method from a supertype
>     [javac]   @Override
>     [javac]   ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:157:
method does not override or implement a method from a supertype
>     [javac]   @Override
>     [javac]   ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java:162:
cannot find symbol
>     [javac] symbol  : class MesosExecutorDriver
>     [javac] location: class org.apache.hadoop.mapred.FrameworkExecutor
>     [javac]     new MesosExecutorDriver(instance).run();
>     [javac]         ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:152:
method does not override or implement a method from a supertype
>     [javac]   @Override
>     [javac]   ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:168:
package Resource does not exist
>     [javac]     ).setType(Resource.Type.SCALAR).build();
>     [javac]                       ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:167:
package Resource does not exist
>     [javac]         Resource.Scalar.newBuilder().setValue(value).build()
>     [javac]                 ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:166:
cannot find symbol
>     [javac] symbol  : variable Resource
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]     return Resource.newBuilder().setName(name).setScalar(
>     [javac]            ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:172:
cannot find symbol
>     [javac] symbol  : class Resource
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]     for (Resource r : resources) {
>     [javac]          ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:199:
cannot find symbol
>     [javac] symbol  : class Offer
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]           Offer offer = offers.get(i);
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:214:
cannot find symbol
>     [javac] symbol  : class TaskDescription
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]         List<List<TaskDescription>> replies =
>     [javac]                   ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:215:
cannot find symbol
>     [javac] symbol  : class TaskDescription
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]             new ArrayList<List<TaskDescription>>(numOffers);
>     [javac]                                ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:218:
cannot find symbol
>     [javac] symbol  : class TaskDescription
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]           replies.add(new ArrayList<TaskDescription>());
>     [javac]                                     ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:223:
cannot find symbol
>     [javac] symbol  : class Offer
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]             Offer offer = offers.get(i);
>     [javac]             ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:224:
cannot find symbol
>     [javac] symbol  : class TaskDescription
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]             TaskDescription task = findTask(
>     [javac]             ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:237:
cannot find symbol
>     [javac] symbol  : class OfferID
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]           OfferID offerId = offers.get(i).getId();
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:238:
cannot find symbol
>     [javac] symbol  : class Status
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]           Status status = d.launchTasks(offerId, replies.get(i));
>     [javac]           ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:239:
cannot find symbol
>     [javac] symbol  : variable Status
>     [javac] location: class org.apache.hadoop.mapred.FrameworkScheduler
>     [javac]           if (status != Status.OK) {
>     [javac]                         ^
>     [javac] /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java:188:
method does not override or implement a method from a supertype
>     [javac]   @Override
>     [javac]   ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 100 errors
> BUILD FAILED
> /Users/thomas/mesos2/frameworks/hadoop-0.20.2/build.xml:497: The following error occurred
while executing this line:
> /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/build.xml:30: The following
error occurred while executing this line:
> /Users/thomas/mesos2/frameworks/hadoop-0.20.2/src/contrib/build-contrib.xml:141: Compile
failed; see the compiler error output for details.
> It looks like the problem is just that some of the files got moved around in the autotools
update, so it should be easy to fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message