Repository: spark
Updated Branches:
  refs/heads/master 01401e965 -> 3e5fdeb3f


[SPARKR][EXAMPLE] change example APP name

## What changes were proposed in this pull request?

(Please fill in changes proposed in this fix)

For R SQL example, appname is "MyApp". While examples in scala, Java and 
python, the appName is "x Spark SQL basic example".

I made the R example consistent with other examples.

## How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, 
manual tests)

Manual test
(If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)

Author: wm...@hotmail.com <wm...@hotmail.com>

Closes #14703 from wangmiao1981/example.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3e5fdeb3
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3e5fdeb3
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3e5fdeb3

Branch: refs/heads/master
Commit: 3e5fdeb3fb084cc9d25ce2f3f8cbf07a0aa2c573
Parents: 01401e9
Author: wm...@hotmail.com <wm...@hotmail.com>
Authored: Sat Aug 20 07:00:51 2016 -0700
Committer: Felix Cheung <felixche...@apache.org>
Committed: Sat Aug 20 07:00:51 2016 -0700

----------------------------------------------------------------------
 examples/src/main/r/RSparkSQLExample.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/3e5fdeb3/examples/src/main/r/RSparkSQLExample.R
----------------------------------------------------------------------
diff --git a/examples/src/main/r/RSparkSQLExample.R 
b/examples/src/main/r/RSparkSQLExample.R
index de489e1..4e0267a 100644
--- a/examples/src/main/r/RSparkSQLExample.R
+++ b/examples/src/main/r/RSparkSQLExample.R
@@ -18,7 +18,7 @@
 library(SparkR)
 
 # $example on:init_session$
-sparkR.session(appName = "MyApp", sparkConfig = list(spark.some.config.option 
= "some-value"))
+sparkR.session(appName = "R Spark SQL basic example", sparkConfig = 
list(spark.some.config.option = "some-value"))
 # $example off:init_session$
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to