Skip to content

Commit

Permalink
Merge branch 'master' of github.com:apache/spark into roaring_mapstatus
Browse files Browse the repository at this point in the history
Conflicts:
	core/src/main/scala/org/apache/spark/scheduler/MapStatus.scala
	core/src/main/scala/org/apache/spark/serializer/KryoSerializer.scala
	pom.xml
  • Loading branch information
Davies Liu committed Nov 16, 2015
2 parents 64e7295 + 3c02508 commit 1716a24
Show file tree
Hide file tree
Showing 500 changed files with 21,669 additions and 9,954 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ metastore/
warehouse/
TempStatsStore/
sql/hive-thriftserver/test_warehouses

# For R session data
.RHistory
.RData
6 changes: 6 additions & 0 deletions R/install-dev.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ set SPARK_HOME=%~dp0..
MKDIR %SPARK_HOME%\R\lib

R.exe CMD INSTALL --library="%SPARK_HOME%\R\lib" %SPARK_HOME%\R\pkg\

rem Zip the SparkR package so that it can be distributed to worker nodes on YARN
pushd %SPARK_HOME%\R\lib
%JAVA_HOME%\bin\jar.exe cfM "%SPARK_HOME%\R\lib\sparkr.zip" SparkR
popd

4 changes: 4 additions & 0 deletions R/install-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@ Rscript -e ' if("devtools" %in% rownames(installed.packages())) { library(devtoo
# Install SparkR to $LIB_DIR
R CMD INSTALL --library=$LIB_DIR $FWDIR/pkg/

# Zip the SparkR package so that it can be distributed to worker nodes on YARN
cd $LIB_DIR
jar cfM "$LIB_DIR/sparkr.zip" SparkR

popd > /dev/null
1 change: 1 addition & 0 deletions R/pkg/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ Collate:
'serialize.R'
'sparkR.R'
'stats.R'
'types.R'
'utils.R'
16 changes: 13 additions & 3 deletions R/pkg/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ export("setJobGroup",
exportClasses("DataFrame")

exportMethods("arrange",
"as.data.frame",
"attach",
"cache",
"collect",
"coltypes",
"columns",
"count",
"cov",
Expand Down Expand Up @@ -153,6 +155,7 @@ exportMethods("%in%",
"isNaN",
"isNotNull",
"isNull",
"kurtosis",
"lag",
"last",
"last_day",
Expand Down Expand Up @@ -205,12 +208,17 @@ exportMethods("%in%",
"shiftLeft",
"shiftRight",
"shiftRightUnsigned",
"sd",
"sign",
"signum",
"sin",
"sinh",
"size",
"skewness",
"soundex",
"stddev",
"stddev_pop",
"stddev_samp",
"sqrt",
"startsWith",
"substr",
Expand All @@ -229,6 +237,10 @@ exportMethods("%in%",
"unhex",
"unix_timestamp",
"upper",
"var",
"variance",
"var_pop",
"var_samp",
"weekofyear",
"when",
"year")
Expand Down Expand Up @@ -262,6 +274,4 @@ export("structField",
"structType",
"structType.jobj",
"structType.structField",
"print.structType")

export("as.data.frame")
"print.structType")
Loading

0 comments on commit 1716a24

Please sign in to comment.