Uh oh!
There was an error while loading. Please reload this page.
[SPARK-20815] [SPARKR] NullPointerException in RPackageUtils#checkManifestForR - #18040
[SPARK-20815] [SPARKR] NullPointerException in RPackageUtils#checkManifestForR#18040jrshust wants to merge 3 commits into
Conversation
felixcheung
commented
May 20, 2017
Jenkins, ok to test |
SparkQA
commented
May 20, 2017
Test build #77128 has finished for PR 18040 at commit
|
| } | ||
| mani | ||
| mani | ||
| } else null |
There was a problem hiding this comment.
I think typically Spark style is to have the else statement in separate line enclosed with {} like
} else {
null
}
| val jarStream = new JarOutputStream(jarFileStream, manifest) | ||
| val jarStream = if (manifest != null) { | ||
| new JarOutputStream(jarFileStream, manifest) | ||
| } else new JarOutputStream(jarFileStream) |
felixcheung
commented
May 22, 2017
@jrshust would you have a chance to address a few minor comments? |
jrshust
commented
May 22, 2017
@felixcheung yep sorry will address today! |
SparkQA
commented
May 22, 2017
Test build #77195 has started for PR 18040 at commit |
felixcheung
commented
May 22, 2017
hmm that's odd |
jrshust
commented
May 22, 2017
Yeah I'm a bit confused the last build was fine and this one just had style changes. What are the next steps here? Is that a red herring or was it actually aborted? |
felixcheung
commented
May 22, 2017
Jenkins, retest this please |
felixcheung
commented
May 22, 2017
it looks like build jobs are killed, let's try again |
SparkQA
commented
May 23, 2017
Test build #77205 has finished for PR 18040 at commit
|
…festForR ## What changes were proposed in this pull request? - Add a null check to RPackageUtils#checkManifestForR so that jars w/o manifests don't NPE. ## How was this patch tested? - Unit tests and manual tests. Author: James Shuster <jshuster@palantir.com> Closes#18040 from jrshust/feature/r-package-utils. (cherry picked from commit 4dbb63f) Signed-off-by: Felix Cheung <felixcheung@apache.org>
felixcheung
commented
May 23, 2017
merged to master/2.2, thanks! |
…festForR ## What changes were proposed in this pull request? - Add a null check to RPackageUtils#checkManifestForR so that jars w/o manifests don't NPE. ## How was this patch tested? - Unit tests and manual tests. Author: James Shuster <jshuster@palantir.com> Closesapache#18040 from jrshust/feature/r-package-utils.
What changes were proposed in this pull request?
How was this patch tested?