[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-05-04 Thread srowen
Github user srowen commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-42126473 Yes, but those are transitive dependencies. `core` happens to bring in both lang and lang3, and this was using the old lang dependency even. It would be correct-er to

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-05-04 Thread mridulm
Github user mridulm commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-42132244 If we are depending on something and bundling it, we might as well use it instead of duplicating code and having to maintain the changes : assuming it is intutive

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-05-04 Thread srowen
Github user srowen commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-42137398 That makes sense. Since Tachyon now brings in `lang3`, it is no extra burden to use it. It would rationalize the use in `ReplSuite`. Anyone second a PR a to bring _back_

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-05-04 Thread mridulm
Github user mridulm commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-42144008 Yes, lang3 - not lang : some of the methods (for example, the escape method used in repl) is actually broken in lang, but works in lang3. On Sun, May 4,

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-05-04 Thread pwendell
Github user pwendell commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-42150290 I'm ambivalent between inlining this and fixing up the dependency. In general we should probably rely on other utilities where possible, but if the JVM ever changes the

Re: [GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-05-04 Thread Sean Owen
Agree, this has not changed since java 1.1 or so. The niggling remaining issue is that a test does use it too so technically needs the dependency tweak anyway. And tachyon already brings it in. That use can't be inlined but pretty certain is just a string replace. I don't know if tachyon's use is

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-05-03 Thread srowen
Github user srowen commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-42116492 The problem was that the project was not depending on commons lang already. The code is the same as is contained in commons lang. The property being referenced is a

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-05-03 Thread mridulm
Github user mridulm commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-42120375 Maven dependency still shows org.apache.commons:commons-lang3:jar - am I missing something here ? Btw, we do depend on it for repl tests too ... --- If your

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-30 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/spark/pull/569 --- 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

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-28 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-41526096 All automated tests passed. Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14526/ --- If your project

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-28 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-41526093 Merged build finished. All automated tests passed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well.

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-27 Thread pwendell
Github user pwendell commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-41522557 Jenkins, test this please. Looks good to me, pending tests. --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-27 Thread pwendell
Github user pwendell commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-41524258 Jenkins, test this please. --- 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

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-27 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-41524423 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

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-27 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-41524433 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

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-26 Thread witgo
GitHub user witgo opened a pull request: https://github.com/apache/spark/pull/569 Fix SPARK-1629: Spark should inline use of commons-lang `SystemUtils.IS_... ...OS_WINDOWS` You can merge this pull request into a Git repository by running: $ git pull

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-26 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/569#issuecomment-41486930 Can one of the admins verify this patch? --- 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

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-26 Thread witgo
Github user witgo commented on a diff in the pull request: https://github.com/apache/spark/pull/569#discussion_r12027354 --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala --- @@ -1056,4 +1055,11 @@ private[spark] object Utils extends Logging { def

[GitHub] spark pull request: Fix SPARK-1629: Spark should inline use of com...

2014-04-26 Thread srowen
Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/569#discussion_r12027664 --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala --- @@ -1058,6 +1057,12 @@ private[spark] object Utils extends Logging { }