| Chunk |
|---|
| Conflicting content |
|---|
* @throws RemoteException the remote exception */ public void addRecoveredData(Partition partition, Map |
| Solution content |
|---|
* @throws RemoteException the remote exception */ public void addRecoveredData(Partition partition, Map |
| File |
|---|
| Worker.java |
| Developer's decision |
|---|
| Manual |
| Kind of conflict |
|---|
| Comment |
| Method interface |
| Chunk |
|---|
| Conflicting content |
|---|
}
@Override
<<<<<<< HEAD
public void shutdown() throws RemoteException {
java.util.Date date = new java.util.Date();
System.out.println("Worker" + workerID + " goes down now at :"
+ new Timestamp(date.getTime()));
System.exit(0);
=======
public void writeOutput(String outputFilePath) throws RemoteException{
System.out.println("Printing the final state of the partitions");
Iterator |
| Solution content |
|---|
}
/**
* Shutdown the worker machine
*/
@Override
public void shutdown() throws RemoteException {
java.util.Date date = new java.util.Date();
System.out.println("Worker" + workerID + " goes down now at :"
+ new Timestamp(date.getTime()));
System.exit(0);
}
public void writeOutput(String outputFilePath) throws RemoteException{
System.out.println("Printing the final state of the partitions");
Iterator |
| File |
|---|
| WorkerImpl.java |
| Developer's decision |
|---|
| Manual |
| Kind of conflict |
|---|
| Comment |
| Method invocation |
| Method signature |
| Variable |
| While statement |
| Chunk |
|---|
| Conflicting content |
|---|
this.totalPartitions += 1;
this.worker.addRecoveredData(partition, messages);
}
<<<<<<< HEAD
public void shutdown() {
try {
worker.shutdown();
} catch (RemoteException e) {
this.exit();
}
=======
/**
* Write output.
*
* @param outputFilePath the output file path
* @throws RemoteException the remote exception
*/
public void writeOutput(String outputFilePath) throws RemoteException{
this.worker.writeOutput(outputFilePath);
>>>>>>> a70f236def46b4c132e691cb65989cb73f688f99
}
} |
| Solution content |
|---|
this.totalPartitions += 1;
this.worker.addRecoveredData(partition, messages);
}
/**
* Shutdowns the worker and exits
*/
public void shutdown() {
try {
worker.shutdown();
} catch (RemoteException e) {
this.exit();
}
}
/**
* Write output.
*
* @param outputFilePath
* the output file path
* @throws RemoteException
* the remote exception
*/
public void writeOutput(String outputFilePath) throws RemoteException {
this.worker.writeOutput(outputFilePath);
}
} |
| File |
|---|
| WorkerProxy.java |
| Developer's decision |
|---|
| Manual |
| Kind of conflict |
|---|
| Comment |
| Method invocation |
| Method signature |
| Try statement |