Skip to content

Commit

Permalink
Update shell.R
Browse files Browse the repository at this point in the history
  • Loading branch information
echohlne committed Nov 6, 2020
1 parent d780999 commit a8bb388
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/pkg/inst/profile/shell.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@
cat(" /_/", "\n")
cat("\n")

cat("\nSpark context Web UI available at", SparkR::sparkR.uiWebUrl())
cat("\nSpark context available as 'sc' (master = ", unlist(SparkR::sparkR.conf("spark.master")), ", app id = ",
unlist(SparkR::sparkR.conf("spark.app.id")), ").", sep="")
cat("\nSparkSession available as 'spark'.\n")
}

0 comments on commit a8bb388

Please sign in to comment.