You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "shane knapp (JIRA)" <ji...@apache.org> on 2016/11/08 17:04:58 UTC

[jira] [Commented] (SPARK-18347) Infra for R - need qpdf on Jenkins

    [ https://issues.apache.org/jira/browse/SPARK-18347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648119#comment-15648119 ] 

shane knapp commented on SPARK-18347:
-------------------------------------

ok, qpdf is installed:

{noformat}
$ pssh -h jenkins_workers.txt -t 0 "yum -q -y install qpdf"
[1] 09:00:13 [SUCCESS] amp-jenkins-worker-01
[2] 09:00:14 [SUCCESS] amp-jenkins-worker-08
[3] 09:00:14 [SUCCESS] amp-jenkins-worker-06
[4] 09:00:14 [SUCCESS] amp-jenkins-worker-03
[5] 09:00:15 [SUCCESS] amp-jenkins-worker-02
[6] 09:00:15 [SUCCESS] amp-jenkins-worker-04
[7] 09:00:15 [SUCCESS] amp-jenkins-worker-05
[8] 09:00:16 [SUCCESS] amp-jenkins-worker-07
{noformat}

and for clarification:  does R *really* need an environment variable set to know where qpdf is?  it's currently installed in /usr/bin on all eight jenkins workers and i'm loathe to have to create an env var for a binary in a common dir.

> Infra for R - need qpdf on Jenkins
> ----------------------------------
>
>                 Key: SPARK-18347
>                 URL: https://issues.apache.org/jira/browse/SPARK-18347
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 2.1.0
>            Reporter: Felix Cheung
>            Assignee: shane knapp
>
> As a part of working on building R package (https://issues.apache.org/jira/browse/SPARK-18264) we discover that building the package and vignettes require a tool call qpdf (for compressing PDFs)
> In R, it is looking for qpdf as such:
> {code}Sys.which(Sys.getenv("R_QPDF", "qpdf")){code}
> ie. which qpdf or whatever the export R_QPDF is pointing to.
> Otherwise it raises a warning as such:
> {code}
> * checking for unstated dependencies in examples ... OK
>  WARNING
> ‘qpdf’ is needed for checks on size reduction of PDFs
> {code}
> cc 
> [~shaneknapp]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org