-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from PApostol/develop
Develop -> Master
- Loading branch information
Showing
11 changed files
with
79 additions
and
68 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -37,3 +37,4 @@ Thumbs.db | |
__pycache__/ | ||
junk/ | ||
dist/ | ||
.mypy_cache/ |
This file contains 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 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 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
""" __ __ _ __ | ||
r""" __ __ _ __ | ||
_________ ____ ______/ /__ _______ __/ /_ ____ ___ (_) /_ | ||
/ ___/ __ \/ __ `/ ___/ //_/_____/ ___/ / / / __ \/ __ `__ \/ / __/ | ||
(__ ) /_/ / /_/ / / / ,< /_____(__ ) /_/ / /_/ / / / / / / / /_ | ||
|
@@ -11,7 +11,7 @@ | |
__author_email__ = '[email protected]' | ||
__maintainer__ = 'PApostol' | ||
__license__ = 'MIT' | ||
__version__ = '1.2.0' | ||
__version__ = '1.2.1' | ||
__description__ = 'Python manager for spark-submit jobs' | ||
__url__ = f'https://github.com/{__author__}/{__title__}' | ||
__bugtrack_url__ = f'{__url__}/issues' |
This file contains 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 |
---|---|---|
@@ -1,17 +1,9 @@ | ||
"""spark-submit module""" | ||
|
||
from .__info__ import (__author__, __author_email__, __bugtrack_url__, | ||
__description__, __license__, __maintainer__, __title__, | ||
__url__, __version__) | ||
from .sparkjob import SparkJob | ||
from .system import system_info | ||
from .__info__ import ( | ||
__title__, | ||
__author__, | ||
__author_email__, | ||
__maintainer__, | ||
__license__, | ||
__version__, | ||
__description__, | ||
__url__, | ||
__bugtrack_url__ | ||
) | ||
|
||
__all__ = ['SparkJob', 'system_info'] |
This file contains 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 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
"""Exceptions raised by SparkJob class""" | ||
|
||
class SparkSubmitError(Exception): | ||
pass | ||
"""Raised if spark-submit command fails""" | ||
|
||
|
||
class SparkJobKillError(Exception): | ||
pass | ||
"""Raised if spark-submit command fails""" |
This file contains 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 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 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 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
"""Simple spark-submit test""" | ||
from spark_submit import SparkJob | ||
|
||
print('---Running example on local mode---') | ||
|