-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-13596] [BUILD] Move misc top-level build files into appropriate subdirs #11522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…particular, put make-distribution.sh in dev and update docs accordingly. Remove deprecated sbt/sbt
|
Test build #52471 has finished for PR 11522 at commit
|
|
|
||
| # Figure out where the Spark framework is installed | ||
| SPARK_HOME="$(cd "`dirname "$0"`"; pwd)" | ||
| SPARK_HOME="$(cd "`dirname "$0"`/.."; pwd)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a heads up: Moving this file is a breaking change for tools like spark-ec2 and Flintrock which automatically build Spark.
I think it's totally OK since 1) this is a developer feature, and 2) this is part of the 2.0 update.
Just wanted to call this out for the record.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm even happy to not do this one. It just bugged me that this file was in the top level. It could be symlinked but that doesn't save much. Yeah I suspect some tools would need to look for it in both locations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we update those tools to look for the file in both? It also really bugs me that this is a top level file ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I don't mind opening a PR against spark-ec2 to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh never mind, spark-ec2 actually doesn't use make-distribution.sh, so this shouldn't be a problem.
…at end of .rat-excludes; make target dir for RAT first
|
Test build #52475 has finished for PR 11522 at commit
|
|
Can we not move the contributing.md? I think people actually read that file directly outside of github. |
|
I'm OK with not moving |
|
Test build #52548 has finished for PR 11522 at commit
|
|
Jenkins retest this please |
|
Test build #52556 has finished for PR 11522 at commit
|
|
Rest of the changes LGTM. @srowen can you make sure the style checker rules etc are actually in effect? Maybe try break something in this pr and make sure Jenkins actually fails. |
|
Test build #52585 has finished for PR 11522 at commit
|
This reverts commit 0b9bc68.
|
Yeah looks like it still caught the style violation -- see above |
|
Test build #52588 has finished for PR 11522 at commit
|
|
Thanks - merging in master. |
… subdirs ## What changes were proposed in this pull request? Move many top-level files in dev/ or other appropriate directory. In particular, put `make-distribution.sh` in `dev` and update docs accordingly. Remove deprecated `sbt/sbt`. I was (so far) unable to figure out how to move `tox.ini`. `scalastyle-config.xml` should be movable but edits to the project `.sbt` files didn't work; config file location is updatable for compile but not test scope. ## How was this patch tested? `./dev/run-tests` to verify RAT and checkstyle work. Jenkins tests for the rest. Author: Sean Owen <sowen@cloudera.com> Closes apache#11522 from srowen/SPARK-13596.
What changes were proposed in this pull request?
Move many top-level files in dev/ or other appropriate directory. In particular, put
make-distribution.shindevand update docs accordingly. Remove deprecatedsbt/sbt.I was (so far) unable to figure out how to move
tox.ini.scalastyle-config.xmlshould be movable but edits to the project.sbtfiles didn't work; config file location is updatable for compile but not test scope.How was this patch tested?
./dev/run-teststo verify RAT and checkstyle work. Jenkins tests for the rest.