diff options
author | Patrick Wendell <patrick@databricks.com> | 2015-08-11 14:02:23 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-08-11 14:02:23 -0700 |
commit | 2a3be4ddf9d9527353f07ea0ab204ce17dbcba9a (patch) | |
tree | 893e012de6a822f49c2ca7ee0ab55266108808cf | |
parent | 520ad44b17f72e6465bf990f64b4e289f8a83447 (diff) | |
download | spark-2a3be4ddf9d9527353f07ea0ab204ce17dbcba9a.tar.gz spark-2a3be4ddf9d9527353f07ea0ab204ce17dbcba9a.tar.bz2 spark-2a3be4ddf9d9527353f07ea0ab204ce17dbcba9a.zip |
[SPARK-7726] Add import so Scaladoc doesn't fail.
This is another import needed so Scala 2.11 doc generation doesn't fail.
See SPARK-7726 for more detail. I tested this locally and the 2.11
install goes from failing to succeeding with this patch.
Author: Patrick Wendell <patrick@databricks.com>
Closes #8095 from pwendell/scaladoc.
-rw-r--r-- | network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/mesos/RegisterDriver.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/mesos/RegisterDriver.java b/network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/mesos/RegisterDriver.java index 1c28fc1dff..94a61d6caa 100644 --- a/network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/mesos/RegisterDriver.java +++ b/network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/mesos/RegisterDriver.java @@ -23,6 +23,9 @@ import io.netty.buffer.ByteBuf; import org.apache.spark.network.protocol.Encoders; import org.apache.spark.network.shuffle.protocol.BlockTransferMessage; +// Needed by ScalaDoc. See SPARK-7726 +import static org.apache.spark.network.shuffle.protocol.BlockTransferMessage.Type; + /** * A message sent from the driver to register with the MesosExternalShuffleService. */ |