Skip to content
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

sparkbench: avoid to verify file format in SparkFuncs.scala #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hzhuang1
Copy link

commit 992a278
Author: Emily Curtin emily@framebit.org
Date: Fri Feb 2 14:46:33 2018 -0500

Addressing code review comments

Moves format check to front.

This commit add verifyFormatOrThrow(outputDir, fileFormat) in
verifyOutput(). It causes graph data generator workload failure
since the workload only generate output with txt file format.
But sparkbench only supports csv, parquet, etc. The confliction
of file format causes the workload failure. Now remove the
verifyFormatOrThrow() instead.

Signed-off-by: Haojian Zhuang haojian.zhuang@linaro.org

commit 992a278
Author: Emily Curtin <emily@framebit.org>
Date:   Fri Feb 2 14:46:33 2018 -0500

    Addressing code review comments

    Moves format check to front.

This commit add verifyFormatOrThrow(outputDir, fileFormat) in
verifyOutput(). It causes graph data generator workload failure
since the workload only generate output with txt file format.
But sparkbench only supports csv, parquet, etc. The confliction
of file format causes the workload failure. Now remove the
verifyFormatOrThrow() instead.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
@codecov-io
Copy link

Codecov Report

Merging #180 into master will decrease coverage by 0.81%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #180      +/-   ##
==========================================
- Coverage    86.8%   85.98%   -0.82%     
==========================================
  Files          33       33              
  Lines         750      749       -1     
  Branches       47       47              
==========================================
- Hits          651      644       -7     
- Misses         99      105       +6
Impacted Files Coverage Δ
.../com/ibm/sparktc/sparkbench/utils/SparkFuncs.scala 45.83% <ø> (-13.36%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 763becb...96fc4b9. Read the comment docs.

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