Skip to content

[ZEPPELIN-1099] Build and run Spark without spark-dependencies#1115

Closed
jongyoul wants to merge 1 commit into
apache:masterfrom
jongyoul:ZEPPELIN-1099
Closed

[ZEPPELIN-1099] Build and run Spark without spark-dependencies#1115
jongyoul wants to merge 1 commit into
apache:masterfrom
jongyoul:ZEPPELIN-1099

Conversation

@jongyoul
Copy link
Copy Markdown
Member

@jongyoul jongyoul commented Jul 2, 2016

What is this PR for?

When users use SPARK_HOME, they won't want to include spark-dependencies. This PR makes it possible and results reducing whole size of package.

What type of PR is it?

[Feature]

Todos

  • - Remove dependencies of spark-dependencies

What is the Jira issue?

How should this be tested?

  • Run mvn clean package -DskipTests -pl '!spark-dependencies'
  • Set SPARK_HOME in zeppelin-env.sh
  • Start Zeppelin
  • Run sc.version in a paragraph and check the version
  • Stop Zeppelin
  • Set SPARK_HOME in a different version
  • Start, check and stop

I've tested it with 1.6.1 and 1.5.2.

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@jongyoul
Copy link
Copy Markdown
Member Author

jongyoul commented Jul 2, 2016

Ready to review!

Added spark-{reple,hive} in spark/pom.xml
Changed exception to throwable because of Error
@jongyoul
Copy link
Copy Markdown
Member Author

jongyoul commented Jul 4, 2016

Rebased it

@felixcheung
Copy link
Copy Markdown
Member

looks good, I'm not exactly follow though - does one switch from building with spark-dependencies to without, with a build profile commandline, or this is permanently removing spark-dependencies from build?

@jongyoul
Copy link
Copy Markdown
Member Author

jongyoul commented Jul 5, 2016

@felixcheung I think it has great benefit to include spark-dependencies by default especially for newbie. Thus I think it's enough to make building Zeppelin without spark-dependencies.

@jongyoul
Copy link
Copy Markdown
Member Author

jongyoul commented Jul 5, 2016

Merging there's no more discussion.

@asfgit asfgit closed this in 6a82e7a Jul 10, 2016
PhilippGrulich pushed a commit to SWC-SENSE/zeppelin that referenced this pull request Aug 8, 2016
### What is this PR for?
When users use SPARK_HOME, they won't want to include spark-dependencies. This PR makes it possible and results reducing whole size of package.

### What type of PR is it?
[Feature]

### Todos
* [x] - Remove dependencies of spark-dependencies

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-1099

### How should this be tested?
* Run `mvn clean package -DskipTests -pl '!spark-dependencies'`
* Set SPARK_HOME in zeppelin-env.sh
* Start Zeppelin
* Run `sc.version` in a paragraph and check the version
* Stop Zeppelin
* Set SPARK_HOME in a different version
* Start, check and stop

I've tested it with 1.6.1 and 1.5.2.

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jongyoul Lee <jongyoul@gmail.com>

Closes apache#1115 from jongyoul/ZEPPELIN-1099 and squashes the following commits:

192129f [Jongyoul Lee] Removed spark-dependencies from spark Added spark-{reple,hive} in spark/pom.xml Changed exception to throwable because of Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants