Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
d40f1403
Commit
d40f1403
authored
11 years ago
by
Patrick Wendell
Browse files
Options
Downloads
Plain Diff
Merge pull request #921 from pwendell/master
Fix HDFS access bug with assembly build.
parents
2425eb85
0c1985b1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assembly/pom.xml
+6
-0
6 additions, 0 deletions
assembly/pom.xml
project/SparkBuild.scala
+1
-0
1 addition, 0 deletions
project/SparkBuild.scala
with
7 additions
and
0 deletions
assembly/pom.xml
+
6
−
0
View file @
d40f1403
...
...
@@ -103,6 +103,12 @@
<goal>
shade
</goal>
</goals>
<configuration>
<transformers>
<transformer
implementation=
"org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"
/>
<transformer
implementation=
"org.apache.maven.plugins.shade.resource.AppendingTransformer"
>
<resource>
META-INF/services/org.apache.hadoop.fs.FileSystem
</resource>
</transformer>
</transformers>
<transformers>
<transformer
implementation=
"org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"
/>
<transformer
implementation=
"org.apache.maven.plugins.shade.resource.AppendingTransformer"
>
...
...
This diff is collapsed.
Click to expand it.
project/SparkBuild.scala
+
1
−
0
View file @
d40f1403
...
...
@@ -303,6 +303,7 @@ object SparkBuild extends Build {
mergeStrategy
in
assembly
:=
{
case
m
if
m
.
toLowerCase
.
endsWith
(
"manifest.mf"
)
=>
MergeStrategy
.
discard
case
m
if
m
.
toLowerCase
.
matches
(
"meta-inf.*\\.sf$"
)
=>
MergeStrategy
.
discard
case
"META-INF/services/org.apache.hadoop.fs.FileSystem"
=>
MergeStrategy
.
concat
case
"reference.conf"
=>
MergeStrategy
.
concat
case
_
=>
MergeStrategy
.
first
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment