-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[WIP] [SQL] Experiment with speculatively running without reset() in HiveCompatibilitySuite #6663
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
Closed
Closed
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
00bcf8a
Avoid IO operations on empty files in BlockObjectWriter.
JoshRosen 8fd89b4
Do not create empty files at all.
JoshRosen 0db87c3
Reduce scope of FileOutputStream in ExternalSorter
JoshRosen 7e2340d
Revert "Reduce scope of FileOutputStream in ExternalSorter"
JoshRosen 8113eac
Hacky WIP towards speculatively running w/o reset(), then retrying wi…
JoshRosen 417f50e
Hackily comment out most of dev/run-tests to speed up Jenkins iteration.
JoshRosen f90dc94
Don't pass configuration to ObjectWritable in SerializableWritable
JoshRosen 480d20a
Broadcast configuration in hiveWriterContainers (WIP hack)
JoshRosen 55041d2
Use local[*] instead of local[2]
JoshRosen 57c2cb4
try in-memory Derby
JoshRosen 9db0abc
Avoid writing empty files in BypassMergeSortShuffleWriter
JoshRosen 9e116d1
Rework SPARK-7041 for BypassMergeSort split
JoshRosen 3fe16e8
Revert "Broadcast configuration in hiveWriterContainers (WIP hack)"
JoshRosen 54cd5ce
Merge remote-tracking branch 'origin/master' into file-handle-optimiz…
JoshRosen 5c777cf
Rework SPARK-7041 for BypassMergeSort split
JoshRosen 5ac11d1
Revert "Use local[*] instead of local[2]"
JoshRosen 895de59
Revert "try in-memory Derby"
JoshRosen bf30fee
Revert "Don't pass configuration to ObjectWritable in SerializableWri…
JoshRosen b1e3f82
Revert "Hacky WIP towards speculatively running w/o reset(), then ret…
JoshRosen 5113370
Revert "Rework SPARK-7041 for BypassMergeSort split"
JoshRosen fac08d5
SPARK-8135. In SerializableWritable, don't load defaults when instant…
sryza c7caa5c
Merge remote-tracking branch 'origin/master' into file-handle-optimiz…
JoshRosen 8c1e1ff
Merge branch 'file-handle-optimizations' into hive-compat-suite-speedup
JoshRosen 2b500b9
Only run unsafe tests (testing a jenkins job)
JoshRosen fbd3d03
Add log4j test properties to unsafe project.
JoshRosen 46dd005
Try only testing bagel instead (since I don't think Maven logs to uni…
JoshRosen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # | ||
| # Licensed to the Apache Software Foundation (ASF) under one or more | ||
| # contributor license agreements. See the NOTICE file distributed with | ||
| # this work for additional information regarding copyright ownership. | ||
| # The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| # (the "License"); you may not use this file except in compliance with | ||
| # the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
|
|
||
| # Set everything to be logged to the file target/unit-tests.log | ||
| log4j.rootCategory=INFO, file | ||
| log4j.appender.file=org.apache.log4j.FileAppender | ||
| log4j.appender.file.append=true | ||
| log4j.appender.file.file=target/unit-tests.log | ||
| log4j.appender.file.layout=org.apache.log4j.PatternLayout | ||
| log4j.appender.file.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss.SSS} %t %p %c{1}: %m%n | ||
|
|
||
| # Ignore messages below warning level from Jetty, because it's a bit verbose | ||
| log4j.logger.org.spark-project.jetty=WARN | ||
| org.spark-project.jetty.LEVEL=WARN |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think that this, and SerilaizableWritable more generally, may be a huge source of perf. bottlenecks for short tasks. A common use of SerializableWritable is in serializing Hadoop Configurations, but it seems kind of crazy to create and discard a new Configuration in order to be able to deserialize the driver-provided conf. Maybe we can make a substitute for SerializableWritable which only deals with Configuration subclasses and just calls
writeFields()andreadFields()directly. This would sidestep a lot of the performance penalties involved in creating Configuration objects and having them spend tons of time loading defaults.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.
Apparently other folks have noticed Configuration's expensive instantiation costs, too: https://issues.apache.org/jira/browse/MAPREDUCE-5399