Skip to content
Snippets Groups Projects
  1. Jun 18, 2017
    • hyukjinkwon's avatar
      [MINOR][R] Add knitr and rmarkdown packages/improve output for version info in AppVeyor tests · 75a6d058
      hyukjinkwon authored
      ## What changes were proposed in this pull request?
      
      This PR proposes three things as below:
      
      **Install packages per documentation** - this does not affect the tests itself (but CRAN which we are not doing via AppVeyor) up to my knowledge.
      
      This adds `knitr` and `rmarkdown` per https://github.com/apache/spark/blob/45824fb608930eb461e7df53bb678c9534c183a9/R/WINDOWS.md#unit-tests (please see https://github.com/apache/spark/commit/45824fb608930eb461e7df53bb678c9534c183a9)
      
      **Improve logs/shorten logs** - actually, long logs can be a problem on AppVeyor (e.g., see https://github.com/apache/spark/pull/17873)
      
      `R -e ...` repeats printing R information for each invocation as below:
      
      ```
      R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
      Copyright (C) 2016 The R Foundation for Statistical Computing
      Platform: i386-w64-mingw32/i386 (32-bit)
      
      R is free software and comes with ABSOLUTELY NO WARRANTY.
      You are welcome to redistribute it under certain conditions.
      Type 'license()' or 'licence()' for distribution details.
      
        Natural language support but running in an English locale
      
      R is a collaborative project with many contributors.
      Type 'contributors()' for more information and
      'citation()' on how to cite R or R packages in publications.
      
      Type 'demo()' for some demos, 'help()' for on-line help, or
      'help.start()' for an HTML browser interface to help.
      Type 'q()' to quit R.
      ```
      
      It looks reducing the call might be slightly better and print out the versions together looks more readable.
      
      Before:
      
      ```
      # R information ...
      > packageVersion('testthat')
      [1] '1.0.2'
      >
      >
      
      # R information ...
      > packageVersion('e1071')
      [1] '1.6.8'
      >
      >
      ... 3 more times
      ```
      
      After:
      
      ```
      # R information ...
      > packageVersion('knitr'); packageVersion('rmarkdown'); packageVersion('testthat'); packageVersion('e1071'); packageVersion('survival')
      [1] ‘1.16’
      [1] ‘1.6’
      [1] ‘1.0.2’
      [1] ‘1.6.8’
      [1] ‘2.41.3’
      ```
      
      **Add`appveyor.yml`/`dev/appveyor-install-dependencies.ps1` for triggering the test**
      
      Changing this file might break the test, e.g., https://github.com/apache/spark/pull/16927
      
      ## How was this patch tested?
      
      Before (please see https://ci.appveyor.com/project/HyukjinKwon/spark/build/169-master)
      After (please see the AppVeyor build in this PR):
      
      Author: hyukjinkwon <gurwls223@gmail.com>
      
      Closes #18336 from HyukjinKwon/minor-add-knitr-and-rmarkdown.
      75a6d058
  2. May 07, 2017
  3. May 05, 2017
  4. Mar 26, 2017
  5. Feb 28, 2017
  6. Feb 08, 2017
    • Sean Owen's avatar
      [SPARK-19464][CORE][YARN][TEST-HADOOP2.6] Remove support for Hadoop 2.5 and earlier · e8d3fca4
      Sean Owen authored
      ## What changes were proposed in this pull request?
      
      - Remove support for Hadoop 2.5 and earlier
      - Remove reflection and code constructs only needed to support multiple versions at once
      - Update docs to reflect newer versions
      - Remove older versions' builds and profiles.
      
      ## How was this patch tested?
      
      Existing tests
      
      Author: Sean Owen <sowen@cloudera.com>
      
      Closes #16810 from srowen/SPARK-19464.
      Unverified
      e8d3fca4
  7. Sep 08, 2016
Loading