Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Fix report behavior bug#340

Merged
carsonwang merged 9 commits intoIntel-bigdata:6.0from
Moonlit-Sailor:6.0
Oct 28, 2016
Merged

Fix report behavior bug#340
carsonwang merged 9 commits intoIntel-bigdata:6.0from
Moonlit-Sailor:6.0

Conversation

@Moonlit-Sailor
Copy link
Copy Markdown
Contributor

Fix report folder behavior bug and test "wordcount" report behavior.

Comment thread bin/functions/load_config.py Outdated
import re
import urllib
import socket
import sys, os, glob, re, urllib, socket
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the style suggested by PEP8? @gczsjdy

Comment thread bin/functions/load_config.py Outdated
workload_config_file = abspath(workload_config_file)

# get current workload job name and store it in workload_job
(dir,workload_job) = os.path.split(workload_folder)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

workload_job is acutally the framework name (spark, hadoop, prepare) right? Can we rename it to framework_name although prepare is not a framework.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, workload_job is framework name such as spark, hadoop, prepare, etc.
Ok, I will rename it.

raise Exception(
"Please supply <conf root path>, <workload root path>, <workload folder path> [<patch config lists, seperated by comma>")
conf_root, workload_config, workload_name = sys.argv[
conf_root, workload_configFile, workload_folder = sys.argv[
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original style seems to be strange here? @gczsjdy, can you check all similar occurrences later in another PR ?
PEP8 limits all lines to a maximum of 79 characters. May be we can make it to 100 characters as an exception, just like Spark's python code.

@carsonwang carsonwang merged commit f0c23da into Intel-bigdata:6.0 Oct 28, 2016
carsonwang pushed a commit to carsonwang/HiBench that referenced this pull request Nov 7, 2016
carsonwang pushed a commit that referenced this pull request Nov 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants