Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # dev >> [15/24] diag wip


Copy link to this message
-
[15/24] diag wip
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb90852a/protocol/src/main/java/org/apache/drill/exec/proto/BitControl.java
diff --git a/protocol/src/main/java/org/apache/drill/exec/proto/BitControl.java b/protocol/src/main/java/org/apache/drill/exec/proto/BitControl.java
index 9e041dc..7491617 100644
+++ b/protocol/src/main/java/org/apache/drill/exec/proto/BitControl.java
@@ -1578,117 +1578,33 @@ public final class BitControl {
   public interface FragmentStatusOrBuilder
       extends com.google.protobuf.MessageOrBuilder {
 
-    // optional int64 memory_use = 1;
+    // optional .exec.shared.MinorFragmentProfile profile = 1;
     /**
-     * <code>optional int64 memory_use = 1;</code>
+     * <code>optional .exec.shared.MinorFragmentProfile profile = 1;</code>
      */
-    boolean hasMemoryUse();
-    /**
-     * <code>optional int64 memory_use = 1;</code>
-     */
-    long getMemoryUse();
-
-    // optional int64 batches_completed = 2;
-    /**
-     * <code>optional int64 batches_completed = 2;</code>
-     */
-    boolean hasBatchesCompleted();
-    /**
-     * <code>optional int64 batches_completed = 2;</code>
-     */
-    long getBatchesCompleted();
-
-    // optional int64 records_completed = 3;
-    /**
-     * <code>optional int64 records_completed = 3;</code>
-     */
-    boolean hasRecordsCompleted();
-    /**
-     * <code>optional int64 records_completed = 3;</code>
-     */
-    long getRecordsCompleted();
-
-    // optional int32 estimated_completion_percentage = 4;
-    /**
-     * <code>optional int32 estimated_completion_percentage = 4;</code>
-     */
-    boolean hasEstimatedCompletionPercentage();
-    /**
-     * <code>optional int32 estimated_completion_percentage = 4;</code>
-     */
-    int getEstimatedCompletionPercentage();
-
-    // optional .exec.bit.control.FragmentStatus.FragmentState state = 5;
-    /**
-     * <code>optional .exec.bit.control.FragmentStatus.FragmentState state = 5;</code>
-     */
-    boolean hasState();
-    /**
-     * <code>optional .exec.bit.control.FragmentStatus.FragmentState state = 5;</code>
-     */
-    org.apache.drill.exec.proto.BitControl.FragmentStatus.FragmentState getState();
-
-    // optional int64 data_processed = 6;
+    boolean hasProfile();
     /**
-     * <code>optional int64 data_processed = 6;</code>
+     * <code>optional .exec.shared.MinorFragmentProfile profile = 1;</code>
      */
-    boolean hasDataProcessed();
+    org.apache.drill.exec.proto.UserBitShared.MinorFragmentProfile getProfile();
     /**
-     * <code>optional int64 data_processed = 6;</code>
+     * <code>optional .exec.shared.MinorFragmentProfile profile = 1;</code>
      */
-    long getDataProcessed();
+    org.apache.drill.exec.proto.UserBitShared.MinorFragmentProfileOrBuilder getProfileOrBuilder();
 
-    // optional .exec.bit.FragmentHandle handle = 7;
+    // optional .exec.bit.FragmentHandle handle = 2;
     /**
-     * <code>optional .exec.bit.FragmentHandle handle = 7;</code>
+     * <code>optional .exec.bit.FragmentHandle handle = 2;</code>
      */
     boolean hasHandle();
     /**
-     * <code>optional .exec.bit.FragmentHandle handle = 7;</code>
+     * <code>optional .exec.bit.FragmentHandle handle = 2;</code>
      */
     org.apache.drill.exec.proto.ExecProtos.FragmentHandle getHandle();
     /**
-     * <code>optional .exec.bit.FragmentHandle handle = 7;</code>
+     * <code>optional .exec.bit.FragmentHandle handle = 2;</code>
      */
     org.apache.drill.exec.proto.ExecProtos.FragmentHandleOrBuilder getHandleOrBuilder();
-
-    // optional .exec.shared.DrillPBError error = 8;
-    /**
-     * <code>optional .exec.shared.DrillPBError error = 8;</code>
-     */
-    boolean hasError();
-    /**
-     * <code>optional .exec.shared.DrillPBError error = 8;</code>
-     */
-    org.apache.drill.exec.proto.UserBitShared.DrillPBError getError();
-    /**
-     * <code>optional .exec.shared.DrillPBError error = 8;</code>
-     */
-    org.apache.drill.exec.proto.UserBitShared.DrillPBErrorOrBuilder getErrorOrBuilder();
-
-    // optional int64 running_time = 9;
-    /**
-     * <code>optional int64 running_time = 9;</code>
-     */
-    boolean hasRunningTime();
-    /**
-     * <code>optional int64 running_time = 9;</code>
-     */
-    long getRunningTime();
-
-    // optional .exec.shared.MinorFragmentProfile profile = 10;
-    /**
-     * <code>optional .exec.shared.MinorFragmentProfile profile = 10;</code>
-     */
-    boolean hasProfile();
-    /**
-     * <code>optional .exec.shared.MinorFragmentProfile profile = 10;</code>
-     */
-    org.apache.drill.exec.proto.UserBitShared.MinorFragmentProfile getProfile();
-    /**
-     * <code>optional .exec.shared.MinorFragmentProfile profile = 10;</code>
-     */
-    org.apache.drill.exec.proto.UserBitShared.MinorFragmentProfileOrBuilder getProfileOrBuilder();
   }
   /**
    * Protobuf type {@code exec.bit.control.FragmentStatus}
@@ -1741,45 +1657,22 @@ public final class BitControl {
               }
               break;
             }
-            case 8: {
-              bitField0_ |= 0x00000001;
-              memoryUse_ = input.readInt64();
-              break;
-            }
-            case 16: {
-              bitField0_ |= 0x00000002;
-              batchesCompleted_ = input.readInt64();
-              break;
-            }
-            case 24: {
-              bitField0_ |= 0x00000004;
-              recordsCompleted_ = input.readInt64();
-              break;
-            }
-            case 32: {
-              bitField0_ |= 0x00000008;
-              estimatedCompletionPercentage_ = input.readInt32();
-              break;
-            }
-            case 40: {
-              int rawValue = input.readEnum();
-              org.apache.drill.exec.proto.BitControl.FragmentStatus.FragmentState value = org.apache.drill.exec.proto.BitControl.FragmentStatus.FragmentState.valueOf(rawValue);
-              if (value == null) {
-                unknow