You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by tsudukim <gi...@git.apache.org> on 2015/04/03 11:33:05 UTC

[GitHub] spark pull request: [SPARK-6568] spark-shell.cmd --jars option doe...

GitHub user tsudukim opened a pull request:

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

    [SPARK-6568] spark-shell.cmd --jars option does not accept the jar that has space in its path

    escape spaces in the arguments.

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

    $ git pull https://github.com/tsudukim/spark feature/SPARK-6568

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

    https://github.com/apache/spark/pull/5347.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 #5347
    
----
commit 9180aafb47b96697492d0d6a87f6061f10e14eeb
Author: Masayoshi TSUZUKI <ts...@oss.nttdata.co.jp>
Date:   2015-04-03T09:31:47Z

    [SPARK-6568] spark-shell.cmd --jars option does not accept the jar that has space in its path
    
    escape spaces in the arguments.

----


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5347#discussion_r27726576
  
    --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
    @@ -1651,7 +1651,7 @@ private[spark] object Utils extends Logging {
       /**
        * Format a Windows path such that it can be safely passed to a URI.
        */
    -  def formatWindowsPath(path: String): String = path.replace("\\", "/")
    +  def formatWindowsPath(path: String): String = path.replace("\\", "/").replace(" ", "%20")
    --- End diff --
    
    Hm, is this specific to Windows, even? if I had a path with a space on Linux it would fail similarly, I'd imagine? I bet we dont' get that case right either.


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

Posted by mengxr <gi...@git.apache.org>.
Github user mengxr commented on the pull request:

    https://github.com/apache/spark/pull/5347#issuecomment-90738818
  
    Sorry that I accidentally merged this PR instead of another one. I reverted the commit. So please reopen this PR and continue the discussion.


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

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

    https://github.com/apache/spark/pull/5347#issuecomment-89236948
  
      [Test build #29664 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/29664/consoleFull) for   PR 5347 at commit [`9180aaf`](https://github.com/apache/spark/commit/9180aafb47b96697492d0d6a87f6061f10e14eeb).


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

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

    https://github.com/apache/spark/pull/5347#issuecomment-89250806
  
      [Test build #29664 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/29664/consoleFull) for   PR 5347 at commit [`9180aaf`](https://github.com/apache/spark/commit/9180aafb47b96697492d0d6a87f6061f10e14eeb).
     * This patch **fails Spark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.
     * This patch does not change any dependencies.


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

Posted by tsudukim <gi...@git.apache.org>.
Github user tsudukim commented on the pull request:

    https://github.com/apache/spark/pull/5347#issuecomment-90773883
  
    OK, but is it available to reopen the merged pull request? I can't find the reopen button.
    If we can't reopen it, I'll send another PR.


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

Posted by tsudukim <gi...@git.apache.org>.
Github user tsudukim commented on the pull request:

    https://github.com/apache/spark/pull/5347#issuecomment-91445070
  
    New version https://github.com/apache/spark/pull/5447 is sent.


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

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

    https://github.com/apache/spark/pull/5347#issuecomment-89250813
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29664/
    Test FAILed.


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

Posted by tsudukim <gi...@git.apache.org>.
Github user tsudukim commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5347#discussion_r27783089
  
    --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
    @@ -1651,7 +1651,7 @@ private[spark] object Utils extends Logging {
       /**
        * Format a Windows path such that it can be safely passed to a URI.
        */
    -  def formatWindowsPath(path: String): String = path.replace("\\", "/")
    +  def formatWindowsPath(path: String): String = path.replace("\\", "/").replace(" ", "%20")
    --- End diff --
    
    Ah, forgot to consider Linux since I have hardly ever seen the path with spaces in Linux.
    I'll move this code to somewhere else.


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

Posted by tsudukim <gi...@git.apache.org>.
Github user tsudukim commented on the pull request:

    https://github.com/apache/spark/pull/5347#issuecomment-89237471
  
    This PR requires #5227 merged. (https://issues.apache.org/jira/browse/SPARK-6435)


---
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: [SPARK-6568] spark-shell.cmd --jars option doe...

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

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


---
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