Merge pull request #666 from c0s/master

hbase dependency is missed in hadoop2-yarn profile of examples module
dding tgz option to make-distribution.sh
adding files generated from make-distribution.sh to .gitignore
Throw a more meaningful message when runJob is called to launch tasks on non-existent partitions.
Merge pull request #705 from rxin/errormessages

Throw a more meaningful message when runJob is called to launch tasks on non-existent partitions.
Dependency upgrade Akka 2.0.3 -> 2.0.5
Fix deprecation warning and style issues
SPARK-814: Result stages should be named after action
Merge branch 'master' of github.com:mesos/spark
Update to latest Scala Maven plugin and allow Zinc external compiler
Add Apache license headers and LICENSE and NOTICE files
Some missing license headers
Merge remote-tracking branch 'origin/pr/704'

Conflicts:
	make-distribution.sh
Merge pull request #708 from ScrapCodes/dependencies-upgrade

Dependency upgrade Akka 2.0.3 -> 2.0.5
Merge remote-tracking branch 'upstream/master'
[BUGFIX] Fix for sbt/sbt script SPARK_HOME setting

In some environments, this command

    export SPARK_HOME=$(cd "$(dirname $0)/.."; pwd)

echoes two paths, one by the "cd ..", and one by the "pwd". Note the resulting
erroneous -jar paths below:

    ctn@ubuntu:~/src/spark$ sbt/sbt
    + EXTRA_ARGS=
    + '[' '' '!=' '' ']'
    +++ dirname sbt/sbt
    ++ cd sbt/..
    ++ pwd
    + export 'SPARK_HOME=/home/ctn/src/spark
    /home/ctn/src/spark'
    + SPARK_HOME='/home/ctn/src/spark
    /home/ctn/src/spark'
    + export SPARK_TESTING=1
    + SPARK_TESTING=1
    + java -Xmx1200m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=128m -jar /home/ctn/src/spark /home/ctn/src/spark/sbt/sbt-launch-0.11.3-2.jar
    Error: Invalid or corrupt jarfile /home/ctn/src/spark

Committer: ctn <ctn@adatao.com>

On branch master
Changes to be committed:

- Send output of the "cd .." part to /dev/null
	modified:   sbt/sbt
Allow initial weight vectors in LogisticRegression.
Also move LogisticGradient to the LogisticRegression file and fix the
unit tests log path.
Move ML lib data generator files to util/
Rename loss -> stochasticLoss and add a note to explain why we have
multiple train methods.
Change weights to be Array[Double] in LR model.
Also ensure weights are initialized to a column vector.