You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by HyukjinKwon <gi...@git.apache.org> on 2017/02/14 14:56:13 UTC

[GitHub] spark pull request #16927: [WIP][SPARK-19571][R] Fix SparkR test break on Wi...

GitHub user HyukjinKwon opened a pull request:

    https://github.com/apache/spark/pull/16927

    [WIP][SPARK-19571][R] Fix SparkR test break on Windows via AppVeyor

    ## What changes were proposed in this pull request?
    
    It seems wintuils for Hadoop 2.6.5 not exiting for now in https://github.com/steveloughran/winutils
    
    This breaks the tests in SparkR on Windows so this PR proposes to use winutils built by Hadoop 2.6.4 for now.
    
    ## How was this patch tested?
    
    Manually via AppVeyor
    
    **Before**
    
    https://ci.appveyor.com/project/spark-test/spark/build/627-r-test-break
    
    **After**
    
    https://ci.appveyor.com/project/spark-test/spark/build/629-r-test-break

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HyukjinKwon/spark spark-r-windows-break

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16927.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16927
    
----
commit 58af8fc830bb4c51bd80bc46da669125ec6339f6
Author: hyukjinkwon <gu...@gmail.com>
Date:   2017-02-14T14:48:37Z

    Fix SparkR test break on Windows via AppVeyor

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    cc @felixcheung and @shivaram


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    **[Test build #72876 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72876/testReport)** for PR 16927 at commit [`58af8fc`](https://github.com/apache/spark/commit/58af8fc830bb4c51bd80bc46da669125ec6339f6).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [WIP][SPARK-19571][R] Fix SparkR test break on Windows v...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    Merged build started.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by steveloughran <gi...@git.apache.org>.
Github user steveloughran commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    I could add the 2.6.5 binaries if you want, though the 2.6.4 ones should be compatible.
    
    I think I just lifted the 2.6.x artifacts out of an HDP build; its only the 2.7.x ones where I built things locally, and I don't think things were compiling the last time I tried to do a build on that VM.
    
    Regarding your comment about the new IOE, yes, that is coming from the HADOOP-10775 changes.
    
    Before: meaningless stack trace on startup irrespective of actual use, different meaningless stack trace on failures. 
    After: startup failures tucked away until later, actual uses intended to provide enough information that somebody competent can track down why things are broken.
    
    Doesn't look like the message you've seen meets that criteria of being informative.
    
    Following the stack trace, it seems to get triggered in an {{exec(String[] args)}} if one of the arguments is null [Shell.java#L1192](https://github.com/apache/hadoop/blob/branch-2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java#L1192).
    
    This implies that something has gone wrong in the invocation, but why I don't know, and the error message isn't doing anything to help. At the very least it should indicate which arg is invalid, and join the string with some form of quotations so that you can see what's up in more detail.
    
    Now, what was the problem? Just that winutil.exe was missing? Because that's something we should be detecting and reporting with something including a link to [a wiki page](https://wiki.apache.org/hadoop/WindowsProblems)
    
    Improvements to the hadoop logging/diagnostics welcome here. I'd also personally like the ability to tell have the file:// client to try to set file permissions, but there you go.,


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    (I think I should cc @steveloughran too just FYI)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by shivaram <gi...@git.apache.org>.
Github user shivaram commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    Thanks @HyukjinKwon for investigating ! LGTM


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    Thanks! Lets cc Sean on this too.
    
    The error was very hard to read - as a separate fix, is there something in core or sql we could add to show better error when winutil is missing? Or maybe I have just missed the message?
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    Hm.. @felixcheung, the origin seems from Hadoop's issue.
    
    ```
    java.io.IOException: (null) entry in command string: null chmod 0644 C:\Users\appveyor\AppData\Local\Temp\1\RtmpCuLueF\spark-mlpb486948329c.tmp\rMetadata\_temporary\0\_temporary\attempt_20170214140636_0069_m_000000_70\part-00000
            at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:762)
            at org.apache.hadoop.util.Shell.execCommand(Shell.java:859)
            at org.apache.hadoop.util.Shell.execCommand(Shell.java:842)
            at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:661)
            at org.apache.hadoop.fs.ChecksumFileSystem$1.apply(ChecksumFileSystem.java:501)
            at org.apache.hadoop.fs.ChecksumFileSystem$FsOperation.run(ChecksumFileSystem.java:482)
            at org.apache.hadoop.fs.ChecksumFileSystem.setPermission(ChecksumFileSystem.java:498)
            at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:467)
            at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:433)
            at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:908)
            at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:801)
    ```
    
    Probably it is https://issues.apache.org/jira/browse/HADOOP-10775. I will file an issue there after testing this with Hadoop 2.8+ when I am able to test.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [WIP][SPARK-19571][R] Fix SparkR test break on Windows v...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16927
  
     Merged build triggered.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    cc @srowen too.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request #16927: [SPARK-19571][R] Fix SparkR test break on Windows...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/16927


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by steveloughran <gi...@git.apache.org>.
Github user steveloughran commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    I'm worrying about this now: have my attempts to fix the messages gone horribly wrong. Admittedly, it was sitting in a Budapest airport with a post-ApacheCon hangover, but @afs was giving real time code reviews and I was trying to eliminate that problem "bad reporting if env is a mess".
    
    Please open a Hadoop issue, assign to me, with as much stack trace and env diagnostics as you have. We're a couple of days away from Hadoop 2.8.0-alpha; its not too late to change the reporting



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    Yea, I agree that the error message was hard to read. Maybe let me try to raise this issue in a JIRA.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    merged to master, thanks for the fix!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [SPARK-19571][R] Fix SparkR test break on Windows via Ap...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72876/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #16927: [WIP][SPARK-19571][R] Fix SparkR test break on Windows v...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16927
  
    **[Test build #72876 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72876/testReport)** for PR 16927 at commit [`58af8fc`](https://github.com/apache/spark/commit/58af8fc830bb4c51bd80bc46da669125ec6339f6).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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