Code clean up for mllib
Since getLong() and getInt() have side effect, get back parentheses, and remove an empty line
Indent two spaces
Merge remote-tracking branch 'upstream/master' into code-style
Added parentheses for that getDouble() also has side effect
Re-enable Python MLlib tests (require Python 2.7 and NumPy 1.7+)
Complain if Python and NumPy versions are too old for MLlib
Expose method and class - so that we can use it from user code (particularly since checkpoint directory is autogenerated now
Merge pull request #414 from soulmachine/code-style

Code clean up for mllib

* Removed unnecessary parentheses
* Removed unused imports
* Simplified `filter...size()` to `count ...`
* Removed obsoleted parameters' comments
Merge pull request #445 from kayousterhout/exec_lost

Fail rather than hanging if a task crashes the JVM.

Prior to this commit, if a task crashes the JVM, the task (and
all other tasks running on that executor) is marked at KILLED rather
than FAILED.  As a result, the TaskSetManager will retry the task
indefinitely rather than failing the job after maxFailures. Eventually,
this makes the job hang, because the Standalone Scheduler removes
the application after 10 works have failed, and then the app is left
in a state where it's disconnected from the master and waiting to reconnect.
This commit fixes that problem by marking tasks as FAILED rather than
killed when an executor is lost.

The downside of this commit is that if task A fails because another
task running on the same executor caused the VM to crash, the failure
will incorrectly be counted as a failure of task A. This should not
be an issue because we typically set maxFailures to 3, and it is
unlikely that a task will be co-located with a JVM-crashing task
multiple times.
Fixed Window spark shell launch script error.
 JIRA SPARK-1029:https://spark-project.atlassian.net/browse/SPARK-1029
Address review comments
Use method, not variable
Updated java API docs for streaming, along with very minor changes in the code examples.
adding clone records field to equivaled java apis
Merge pull request #438 from ScrapCodes/clone-records-java-api

Clone records java api
Merge pull request #451 from Qiuzhuang/master

Fixed Window spark shell launch script error.

 JIRA SPARK-1029:https://spark-project.atlassian.net/browse/SPARK-1029
Address review comment
Correct L2 regularized weight update with canonical form
Use renamed shuffle spill config in CoGroupedRDD.scala