Skip to content

Commit 8d0c873

Browse files
committed
Warning in SparkEnv
1 parent 99b223a commit 8d0c873

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/scala/org/apache/spark/SparkEnv.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ import org.apache.spark.util.{AkkaUtils, Utils}
4242
* Spark code finds the SparkEnv through a thread-local variable, so each thread that accesses these
4343
* objects needs to have the right SparkEnv set. You can get the current environment with
4444
* SparkEnv.get (e.g. after creating a SparkContext) and set it with SparkEnv.set.
45+
*
46+
* NOTE: This is not intended for external use. This is exposed for Shark and may be made private
47+
* in a future release.
4548
*/
4649
@DeveloperApi
4750
class SparkEnv (

0 commit comments

Comments
 (0)