spark git commit: [SPARK-15773][CORE][EXAMPLE] Avoid creating local variable `sc` in examples if possible

2016-06-10 Thread rxin
Repository: spark Updated Branches: refs/heads/branch-2.0 e6ebb547b -> f41f433b1 [SPARK-15773][CORE][EXAMPLE] Avoid creating local variable `sc` in examples if possible ## What changes were proposed in this pull request? Instead of using local variable `sc` like the following example, this P

spark git commit: [SPARK-15773][CORE][EXAMPLE] Avoid creating local variable `sc` in examples if possible

2016-06-10 Thread rxin
Repository: spark Updated Branches: refs/heads/master 127a6678d -> 2022afe57 [SPARK-15773][CORE][EXAMPLE] Avoid creating local variable `sc` in examples if possible ## What changes were proposed in this pull request? Instead of using local variable `sc` like the following example, this PR us