Skip to content

Commit

Permalink
fix scalastyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jackylk committed Mar 8, 2015
1 parent b6235e6 commit c0df8f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions bin/pyspark
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ fi
#
# For backwards-compatibility, we retain the old IPYTHON and IPYTHON_OPTS variables.

export PYSPARK_DRIVER_PYTHON=ipython
export PYSPARK_DRIVER_PYTHON_OPTS=notebook

# Determine the Python executable to use if PYSPARK_PYTHON or PYSPARK_DRIVER_PYTHON isn't set:
if hash python2.7 2>/dev/null; then
# Attempt to use Python 2.7, if installed:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ object LiveJournalPageRank {
def main(args: Array[String]) {
if (args.length < 1) {
System.err.println(
"Usage: LiveJournalPageRank <edge_list_file> --numEPart=<num_edge_partitions> [other options]\n" +
"Usage: LiveJournalPageRank <edge_list_file> --numEPart=<num_edge_partitions>\n" +
" --numEPart=<num_edge_partitions>\n" +
" The number of partitions for the graph's edge RDD.\n" +
" [--tol=<tolerance>]\n" +
Expand Down

0 comments on commit c0df8f2

Please sign in to comment.