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
b241fcfb
Commit
b241fcfb
authored
11 years ago
by
Dmitriy Lyubimov
Browse files
Options
Downloads
Patches
Plain Diff
reverting changes to SparkBuild.scala
parent
23f3e0f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
project/SparkBuild.scala
+6
-7
6 additions, 7 deletions
project/SparkBuild.scala
with
6 additions
and
7 deletions
project/SparkBuild.scala
+
6
−
7
View file @
b241fcfb
...
...
@@ -26,14 +26,14 @@ import AssemblyKeys._
object
SparkBuild
extends
Build
{
// Hadoop version to build against. For example, "0.20.2", "0.20.205.0", or
// "1.0.4" for Apache releases, or "0.20.2-cdh3u5" for Cloudera Hadoop.
//
val HADOOP_VERSION = "1.0.4"
//
val HADOOP_MAJOR_VERSION = "1"
//
val HADOOP_YARN = false
val
HADOOP_VERSION
=
"1.0.4"
val
HADOOP_MAJOR_VERSION
=
"1"
val
HADOOP_YARN
=
false
// For Hadoop 2 versions such as "2.0.0-mr1-cdh4.1.1", set the HADOOP_MAJOR_VERSION to "2"
val
HADOOP_VERSION
=
"2.0.0-cdh4.
3.0
"
val
HADOOP_MAJOR_VERSION
=
"2"
val
HADOOP_YARN
=
tru
e
//
val HADOOP_VERSION = "2.0.0-
mr1-
cdh4.
1.1
"
//
val HADOOP_MAJOR_VERSION = "2"
//
val HADOOP_YARN =
fals
e
// For Hadoop 2 YARN support
//val HADOOP_VERSION = "2.0.2-alpha"
...
...
@@ -185,7 +185,6 @@ object SparkBuild extends Build {
if
(
HADOOP_YARN
)
{
Seq
(
// Exclude rule required for all ?
"org.apache.hadoop"
%
"hadoop-common"
%
HADOOP_VERSION
excludeAll
(
excludeJackson
,
excludeNetty
,
excludeAsm
),
"org.apache.hadoop"
%
"hadoop-client"
%
HADOOP_VERSION
excludeAll
(
excludeJackson
,
excludeNetty
,
excludeAsm
),
"org.apache.hadoop"
%
"hadoop-yarn-api"
%
HADOOP_VERSION
excludeAll
(
excludeJackson
,
excludeNetty
,
excludeAsm
),
"org.apache.hadoop"
%
"hadoop-yarn-common"
%
HADOOP_VERSION
excludeAll
(
excludeJackson
,
excludeNetty
,
excludeAsm
),
...
...
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