Skip to content

Commit e685853

Browse files
committed
meged with rebased 1.1 branch
2 parents 150b94c + 2d32a74 commit e685853

File tree

681 files changed

+26150
-13388
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

681 files changed

+26150
-13388
lines changed

.gitignore

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
*~
2+
*.#*
3+
*#*#
24
*.swp
35
*.ipr
46
*.iml
@@ -15,11 +17,11 @@ out/
1517
third_party/libmesos.so
1618
third_party/libmesos.dylib
1719
conf/java-opts
18-
conf/spark-env.sh
19-
conf/streaming-env.sh
20-
conf/log4j.properties
21-
conf/spark-defaults.conf
22-
conf/hive-site.xml
20+
conf/*.sh
21+
conf/*.cmd
22+
conf/*.properties
23+
conf/*.conf
24+
conf/*.xml
2325
docs/_site
2426
docs/api
2527
target/
@@ -50,7 +52,6 @@ unit-tests.log
5052
/lib/
5153
rat-results.txt
5254
scalastyle.txt
53-
conf/*.conf
5455
scalastyle-output.xml
5556

5657
# For Hive

.rat-excludes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ log4j.properties.template
2020
metrics.properties.template
2121
slaves
2222
spark-env.sh
23+
spark-env.cmd
2324
spark-env.sh.template
2425
log4j-defaults.properties
2526
bootstrap-tooltip.js
@@ -31,6 +32,7 @@ sorttable.js
3132
.*data
3233
.*log
3334
cloudpickle.py
35+
heapq3.py
3436
join.py
3537
SparkExprTyper.scala
3638
SparkILoop.scala
@@ -57,3 +59,4 @@ dist/*
5759
.*iws
5860
logs
5961
.*scalastyle-output.xml
62+
.*dependency-reduced-pom.xml

.travis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Contributing to Spark
2+
3+
Contributions via GitHub pull requests are gladly accepted from their original
4+
author. Along with any pull requests, please state that the contribution is
5+
your original work and that you license the work to the project under the
6+
project's open source license. Whether or not you state this explicitly, by
7+
submitting any copyrighted material via pull request, email, or other means
8+
you agree to license the material under the project's open source license and
9+
warrant that you have the legal authority to do so.
10+
11+
Please see the [Contributing to Spark wiki page](https://cwiki.apache.org/SPARK/Contributing+to+Spark)
12+
for more information.

LICENSE

Lines changed: 283 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,289 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
338338
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
339339
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
340340

341+
========================================================================
342+
For heapq (pyspark/heapq3.py):
343+
========================================================================
344+
345+
# A. HISTORY OF THE SOFTWARE
346+
# ==========================
347+
#
348+
# Python was created in the early 1990s by Guido van Rossum at Stichting
349+
# Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
350+
# as a successor of a language called ABC. Guido remains Python's
351+
# principal author, although it includes many contributions from others.
352+
#
353+
# In 1995, Guido continued his work on Python at the Corporation for
354+
# National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
355+
# in Reston, Virginia where he released several versions of the
356+
# software.
357+
#
358+
# In May 2000, Guido and the Python core development team moved to
359+
# BeOpen.com to form the BeOpen PythonLabs team. In October of the same
360+
# year, the PythonLabs team moved to Digital Creations (now Zope
361+
# Corporation, see http://www.zope.com). In 2001, the Python Software
362+
# Foundation (PSF, see http://www.python.org/psf/) was formed, a
363+
# non-profit organization created specifically to own Python-related
364+
# Intellectual Property. Zope Corporation is a sponsoring member of
365+
# the PSF.
366+
#
367+
# All Python releases are Open Source (see http://www.opensource.org for
368+
# the Open Source Definition). Historically, most, but not all, Python
369+
# releases have also been GPL-compatible; the table below summarizes
370+
# the various releases.
371+
#
372+
# Release Derived Year Owner GPL-
373+
# from compatible? (1)
374+
#
375+
# 0.9.0 thru 1.2 1991-1995 CWI yes
376+
# 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
377+
# 1.6 1.5.2 2000 CNRI no
378+
# 2.0 1.6 2000 BeOpen.com no
379+
# 1.6.1 1.6 2001 CNRI yes (2)
380+
# 2.1 2.0+1.6.1 2001 PSF no
381+
# 2.0.1 2.0+1.6.1 2001 PSF yes
382+
# 2.1.1 2.1+2.0.1 2001 PSF yes
383+
# 2.2 2.1.1 2001 PSF yes
384+
# 2.1.2 2.1.1 2002 PSF yes
385+
# 2.1.3 2.1.2 2002 PSF yes
386+
# 2.2.1 2.2 2002 PSF yes
387+
# 2.2.2 2.2.1 2002 PSF yes
388+
# 2.2.3 2.2.2 2003 PSF yes
389+
# 2.3 2.2.2 2002-2003 PSF yes
390+
# 2.3.1 2.3 2002-2003 PSF yes
391+
# 2.3.2 2.3.1 2002-2003 PSF yes
392+
# 2.3.3 2.3.2 2002-2003 PSF yes
393+
# 2.3.4 2.3.3 2004 PSF yes
394+
# 2.3.5 2.3.4 2005 PSF yes
395+
# 2.4 2.3 2004 PSF yes
396+
# 2.4.1 2.4 2005 PSF yes
397+
# 2.4.2 2.4.1 2005 PSF yes
398+
# 2.4.3 2.4.2 2006 PSF yes
399+
# 2.4.4 2.4.3 2006 PSF yes
400+
# 2.5 2.4 2006 PSF yes
401+
# 2.5.1 2.5 2007 PSF yes
402+
# 2.5.2 2.5.1 2008 PSF yes
403+
# 2.5.3 2.5.2 2008 PSF yes
404+
# 2.6 2.5 2008 PSF yes
405+
# 2.6.1 2.6 2008 PSF yes
406+
# 2.6.2 2.6.1 2009 PSF yes
407+
# 2.6.3 2.6.2 2009 PSF yes
408+
# 2.6.4 2.6.3 2009 PSF yes
409+
# 2.6.5 2.6.4 2010 PSF yes
410+
# 2.7 2.6 2010 PSF yes
411+
#
412+
# Footnotes:
413+
#
414+
# (1) GPL-compatible doesn't mean that we're distributing Python under
415+
# the GPL. All Python licenses, unlike the GPL, let you distribute
416+
# a modified version without making your changes open source. The
417+
# GPL-compatible licenses make it possible to combine Python with
418+
# other software that is released under the GPL; the others don't.
419+
#
420+
# (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
421+
# because its license has a choice of law clause. According to
422+
# CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
423+
# is "not incompatible" with the GPL.
424+
#
425+
# Thanks to the many outside volunteers who have worked under Guido's
426+
# direction to make these releases possible.
427+
#
428+
#
429+
# B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
430+
# ===============================================================
431+
#
432+
# PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
433+
# --------------------------------------------
434+
#
435+
# 1. This LICENSE AGREEMENT is between the Python Software Foundation
436+
# ("PSF"), and the Individual or Organization ("Licensee") accessing and
437+
# otherwise using this software ("Python") in source or binary form and
438+
# its associated documentation.
439+
#
440+
# 2. Subject to the terms and conditions of this License Agreement, PSF hereby
441+
# grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
442+
# analyze, test, perform and/or display publicly, prepare derivative works,
443+
# distribute, and otherwise use Python alone or in any derivative version,
444+
# provided, however, that PSF's License Agreement and PSF's notice of copyright,
445+
# i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
446+
# 2011, 2012, 2013 Python Software Foundation; All Rights Reserved" are retained
447+
# in Python alone or in any derivative version prepared by Licensee.
448+
#
449+
# 3. In the event Licensee prepares a derivative work that is based on
450+
# or incorporates Python or any part thereof, and wants to make
451+
# the derivative work available to others as provided herein, then
452+
# Licensee hereby agrees to include in any such work a brief summary of
453+
# the changes made to Python.
454+
#
455+
# 4. PSF is making Python available to Licensee on an "AS IS"
456+
# basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
457+
# IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
458+
# DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
459+
# FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
460+
# INFRINGE ANY THIRD PARTY RIGHTS.
461+
#
462+
# 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
463+
# FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
464+
# A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
465+
# OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
466+
#
467+
# 6. This License Agreement will automatically terminate upon a material
468+
# breach of its terms and conditions.
469+
#
470+
# 7. Nothing in this License Agreement shall be deemed to create any
471+
# relationship of agency, partnership, or joint venture between PSF and
472+
# Licensee. This License Agreement does not grant permission to use PSF
473+
# trademarks or trade name in a trademark sense to endorse or promote
474+
# products or services of Licensee, or any third party.
475+
#
476+
# 8. By copying, installing or otherwise using Python, Licensee
477+
# agrees to be bound by the terms and conditions of this License
478+
# Agreement.
479+
#
480+
#
481+
# BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
482+
# -------------------------------------------
483+
#
484+
# BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
485+
#
486+
# 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
487+
# office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
488+
# Individual or Organization ("Licensee") accessing and otherwise using
489+
# this software in source or binary form and its associated
490+
# documentation ("the Software").
491+
#
492+
# 2. Subject to the terms and conditions of this BeOpen Python License
493+
# Agreement, BeOpen hereby grants Licensee a non-exclusive,
494+
# royalty-free, world-wide license to reproduce, analyze, test, perform
495+
# and/or display publicly, prepare derivative works, distribute, and
496+
# otherwise use the Software alone or in any derivative version,
497+
# provided, however, that the BeOpen Python License is retained in the
498+
# Software, alone or in any derivative version prepared by Licensee.
499+
#
500+
# 3. BeOpen is making the Software available to Licensee on an "AS IS"
501+
# basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
502+
# IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
503+
# DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
504+
# FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
505+
# INFRINGE ANY THIRD PARTY RIGHTS.
506+
#
507+
# 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
508+
# SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
509+
# AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
510+
# DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
511+
#
512+
# 5. This License Agreement will automatically terminate upon a material
513+
# breach of its terms and conditions.
514+
#
515+
# 6. This License Agreement shall be governed by and interpreted in all
516+
# respects by the law of the State of California, excluding conflict of
517+
# law provisions. Nothing in this License Agreement shall be deemed to
518+
# create any relationship of agency, partnership, or joint venture
519+
# between BeOpen and Licensee. This License Agreement does not grant
520+
# permission to use BeOpen trademarks or trade names in a trademark
521+
# sense to endorse or promote products or services of Licensee, or any
522+
# third party. As an exception, the "BeOpen Python" logos available at
523+
# http://www.pythonlabs.com/logos.html may be used according to the
524+
# permissions granted on that web page.
525+
#
526+
# 7. By copying, installing or otherwise using the software, Licensee
527+
# agrees to be bound by the terms and conditions of this License
528+
# Agreement.
529+
#
530+
#
531+
# CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
532+
# ---------------------------------------
533+
#
534+
# 1. This LICENSE AGREEMENT is between the Corporation for National
535+
# Research Initiatives, having an office at 1895 Preston White Drive,
536+
# Reston, VA 20191 ("CNRI"), and the Individual or Organization
537+
# ("Licensee") accessing and otherwise using Python 1.6.1 software in
538+
# source or binary form and its associated documentation.
539+
#
540+
# 2. Subject to the terms and conditions of this License Agreement, CNRI
541+
# hereby grants Licensee a nonexclusive, royalty-free, world-wide
542+
# license to reproduce, analyze, test, perform and/or display publicly,
543+
# prepare derivative works, distribute, and otherwise use Python 1.6.1
544+
# alone or in any derivative version, provided, however, that CNRI's
545+
# License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
546+
# 1995-2001 Corporation for National Research Initiatives; All Rights
547+
# Reserved" are retained in Python 1.6.1 alone or in any derivative
548+
# version prepared by Licensee. Alternately, in lieu of CNRI's License
549+
# Agreement, Licensee may substitute the following text (omitting the
550+
# quotes): "Python 1.6.1 is made available subject to the terms and
551+
# conditions in CNRI's License Agreement. This Agreement together with
552+
# Python 1.6.1 may be located on the Internet using the following
553+
# unique, persistent identifier (known as a handle): 1895.22/1013. This
554+
# Agreement may also be obtained from a proxy server on the Internet
555+
# using the following URL: http://hdl.handle.net/1895.22/1013".
556+
#
557+
# 3. In the event Licensee prepares a derivative work that is based on
558+
# or incorporates Python 1.6.1 or any part thereof, and wants to make
559+
# the derivative work available to others as provided herein, then
560+
# Licensee hereby agrees to include in any such work a brief summary of
561+
# the changes made to Python 1.6.1.
562+
#
563+
# 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
564+
# basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
565+
# IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
566+
# DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
567+
# FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
568+
# INFRINGE ANY THIRD PARTY RIGHTS.
569+
#
570+
# 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
571+
# 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
572+
# A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
573+
# OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
574+
#
575+
# 6. This License Agreement will automatically terminate upon a material
576+
# breach of its terms and conditions.
577+
#
578+
# 7. This License Agreement shall be governed by the federal
579+
# intellectual property law of the United States, including without
580+
# limitation the federal copyright law, and, to the extent such
581+
# U.S. federal law does not apply, by the law of the Commonwealth of
582+
# Virginia, excluding Virginia's conflict of law provisions.
583+
# Notwithstanding the foregoing, with regard to derivative works based
584+
# on Python 1.6.1 that incorporate non-separable material that was
585+
# previously distributed under the GNU General Public License (GPL), the
586+
# law of the Commonwealth of Virginia shall govern this License
587+
# Agreement only as to issues arising under or with respect to
588+
# Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
589+
# License Agreement shall be deemed to create any relationship of
590+
# agency, partnership, or joint venture between CNRI and Licensee. This
591+
# License Agreement does not grant permission to use CNRI trademarks or
592+
# trade name in a trademark sense to endorse or promote products or
593+
# services of Licensee, or any third party.
594+
#
595+
# 8. By clicking on the "ACCEPT" button where indicated, or by copying,
596+
# installing or otherwise using Python 1.6.1, Licensee agrees to be
597+
# bound by the terms and conditions of this License Agreement.
598+
#
599+
# ACCEPT
600+
#
601+
#
602+
# CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
603+
# --------------------------------------------------
604+
#
605+
# Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
606+
# The Netherlands. All rights reserved.
607+
#
608+
# Permission to use, copy, modify, and distribute this software and its
609+
# documentation for any purpose and without fee is hereby granted,
610+
# provided that the above copyright notice appear in all copies and that
611+
# both that copyright notice and this permission notice appear in
612+
# supporting documentation, and that the name of Stichting Mathematisch
613+
# Centrum or CWI not be used in advertising or publicity pertaining to
614+
# distribution of the software without specific, written prior
615+
# permission.
616+
#
617+
# STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
618+
# THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
619+
# FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
620+
# FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
621+
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
622+
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
623+
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
341624

342625
========================================================================
343626
For sorttable (core/src/main/resources/org/apache/spark/ui/static/sorttable.js):

0 commit comments

Comments
 (0)