Skip to content

Commit

Permalink
Fixed a typo in previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Oct 18, 2012
1 parent 5594f89 commit 04d95f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/shark/SharkEnv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import spark.SparkContext
object SharkEnv extends LogHelper {

def init() {
if (sc != null) {
if (sc == null) {
sc = new SparkContext(
if (System.getenv("MASTER") == null) "local" else System.getenv("MASTER"),
"Shark::" + java.net.InetAddress.getLocalHost.getHostName,
Expand Down

0 comments on commit 04d95f3

Please sign in to comment.