Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,7 @@
</importOrder>
<removeUnusedImports/>
<trimTrailingWhitespace/>
<endWithNewline/>
</java>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
package org.apache.tez.client.registry;

import org.apache.hadoop.classification.InterfaceAudience.Public;
import org.apache.hadoop.classification.InterfaceStability.Evolving;
import org.apache.hadoop.classification.InterfaceStability.Evolving;
2 changes: 1 addition & 1 deletion tez-api/src/main/java/org/apache/tez/common/GuavaShim.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ public static Executor directExecutor() {
throw new RuntimeException(e);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public interface AggregateTezCounter {

public abstract long getCount();

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,4 @@ public enum TaskCounter {
* Represented in number of bytes
*/
DATA_BYTES_VIA_EVENT
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ public class HistoryACLPolicyException extends Exception {
public HistoryACLPolicyException(String message, Throwable cause) {
super(message, cause);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -370,4 +370,4 @@ public void reconfigureVertex(@Nullable Map<String, InputSpecUpdate> rootInputSp
*/
Map<String, List<String>> getInputVertexGroups();

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.dag.api.client.rpc;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ public interface Output {
*/
public Writer getWriter() throws Exception;

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ public String toString() {
return "[TargetVertexName=" + targetVertexName + ", TargetInputName=" + targetInputName +
", SourceVertexName=" + sourceVertexName + " Payload=" + eventPayload + "]";
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.runtime.library.common.shuffle.api;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ public String toString() {
", taskCommunicatorDescriptors=" + Arrays.toString(taskCommunicatorDescriptors) +
'}';
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.common;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.common.web;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.dag.records;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.dag.utils;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ public interface InitialMemoryAllocator extends Configurable {
public abstract Iterable<Long> assignMemory(long availableForAllocation, int numTotalInputs,
int numTotalOutputs, Iterable<InitialMemoryRequestContext> requests);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.runtime.common.resources;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.runtime.hook;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ protected AMRegistry(String name) {
/* Under typical usage, implementations should remove any stale AMRecords upon serviceStop. */
public abstract void remove(AMRecord server) throws Exception;

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
package org.apache.tez.dag.api.client.registry;

import org.apache.hadoop.classification.InterfaceAudience.Public;
import org.apache.hadoop.classification.InterfaceStability.Evolving;
import org.apache.hadoop.classification.InterfaceStability.Evolving;
Original file line number Diff line number Diff line change
Expand Up @@ -473,4 +473,4 @@ protected ContainerId getContainerForAttempt(TezTaskAttemptID taskAttemptId) {
public long getTotalUsedMemory() {
return registeredContainers.values().stream().mapToLong(c -> c.usedMemory).sum();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public interface TaskStateUpdateListener {
// Internal usage only. Currently only supporting onSuccess notifications for tasks.
// Exposing the taskID is ok, since this isn't public
public void onTaskSucceeded(String vertexName, TezTaskID taskId, int attemptId);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ public DAGEventStartDag(TezDAGID dagId, List<URL> additionalUrlsForClasspath) {
public List<URL> getAdditionalUrlsForClasspath() {
return this.additionalUrlsForClasspath;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public TaskAttemptEventStartedRemotely(TezTaskAttemptID id) {
public boolean isFromRecovery() {
return false;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ public TaskLocationHint getTaskLocationHint() {
public boolean isFromRecovery() {
return fromRecovery;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ public Vertex getSourceVertex() {
public Vertex getTargetVertex() {
return targetVertex;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ public String toString() {
+ ", sumSquares is " + sumSquares + " mean is " + mean()
+ " std() is " + std() + ", meanCI() is " + meanCI();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ public String toString() {
", command=" + command +
'}';
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ public TaskAttempt getTaskAttempt() {
public SchedulerTaskState getState() {
return state;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ public String toString() {
+ ", recoveryFailureReason=" + recoveryFailureReason;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@

public interface OnStateChangedCallback<STATE extends Enum<STATE>, OPERAND> {
public void onStateChanged(OPERAND operand, STATE state);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ public int routeInputErrorEventToSource(int destinationTaskIndex, int destinatio

// End of overridden methods

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ public void launchContainer(ContainerLaunchRequest launchRequest) {
public void stopContainer(ContainerStopRequest stopRequest) {
ErrorPluginConfiguration.processError(conf, getContext());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ public int getNumSubmissions() {
return tezTestService.getNumSubmissions();
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

@ProtocolInfo(protocolName = "org.apache.tez.service.TezTestServiceProtocolBlockingPB", protocolVersion = 1)
public interface TezTestServiceProtocolBlockingPB extends TezTestServiceProtocolProtos.TezTestServiceProtocol.BlockingInterface {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ public TezTestServiceProtocolBlockingPB createProxy() throws IOException {
.getProxy(TezTestServiceProtocolBlockingPB.class, 0, serverAddr, conf);
return p;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.mapreduce.client;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ public long getEstimatedSize(SplitContainer rawContainer) throws IOException,
MapReduceSplitContainer splitContainer = (MapReduceSplitContainer)rawContainer;
return estimator.getEstimatedSize(splitContainer.getRawSplit());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ public static Configuration[] getStageConfs(Configuration conf) {
}
return confs;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.mapreduce.hadoop.mapred;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.mapreduce.hadoop.mapreduce;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.mapreduce.hadoop;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
@Private
package org.apache.tez.mapreduce.lib;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Private;
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ public void close() {
};
return source;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -333,4 +333,4 @@ private void mergeSubJSONArray(JSONObject source, JSONObject destination, String
destination.getJSONArray(key).put(source.getJSONArray(key).get(i));
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ boolean taskKilled(TezTaskAttemptID taskAttemptId, Throwable cause, String diagn

void shutdown();

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ public TezTrapEvent(final List<TezEvent> events) {
public final List<TezEvent> getTezEvents() {
return tezEvents;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -595,4 +595,4 @@ private TaskFailureType getTaskFailureType(Throwable e) {
}
return TaskFailureType.NON_FATAL;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ public final void handle(final TezTrapEvent tezTrapEvent) {
}
tezUmbilical.addEvents(tezEvents);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,4 @@ public void configure(DefaultAsyncHttpClientConfig.Builder builder) throws IOExc
builder.setSslContext(jdkSslContext);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,4 @@ public Response getLastResponse() throws InterruptedException, ExecutionExceptio
return future.get();
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ public int getNumSourceTaskPhysicalOutputs(int srcTaskId) {
public int getNumDestinationConsumerTasks(int sourceTaskIndex) {
return edgeManagerReal.getNumDestinationConsumerTasks(sourceTaskIndex);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ private void generateTaskIdMapping() {
private int getIdealTaskId(int realTaskId) {
return taskIdMapping[realTaskId];
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,4 @@ public void onVertexStateUpdated(VertexStateUpdate stateUpdate) throws Exception
public void onSourceTaskCompleted(TaskAttemptIdentifier attempt) throws Exception {
vertexManagerReal.onSourceTaskCompleted(attempt);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,4 @@ private void tryScheduleTask() {
getContext().scheduleTasks(scheduleTaskRequests);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ public int getNumDestinationConsumerTasks(int sourceTaskIndex) {
- grouper.getGroupId(sourceTaskIndex * numPartition) + 1;
return numDestConsumerPerChunk * numChunk;
}
}
}
Loading