Commit e3db7618 authored by dasharatha.vamshi's avatar dasharatha.vamshi

init

parent 2cec3347
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
# pycharm
.idea/
# logs
logs/
\ No newline at end of file
2021-03-02 17:36:37,055 INFO GetDataFromStore {'pipeline_id': 'pipe1', 'run_id': 'run1', 'shared_mount_base_ai_job': 'temp/mnt/ilens/ai-job/', 'data_store': 'Azure', 'container_name': 'ilensqa', 'artifact_base_path': '/data/model/tested/', 'artifact_name': 'test1.pkl', 'connection_string': 'DefaultEndpointsProtocol=https;AccountName=azrabsilensqa01;AccountKey=DN6q6kX98JM8yUwtuJh2bAaXUGFo1zRS5HJSsa/ZA+MlmctjC000eHP7bdXiQqkI/MVtADhS8c9E88LI5T4UHw==;EndpointSuffix=core.windows.net', 'component_output_dir': 'temp/mnt/ilens/ai-job//pipe1/run1/PreprocessWeatherData/input'}
2021-03-02 17:36:37,057 INFO GetDataFromStore Creating Connection........
2021-03-02 17:36:39,368 INFO GetDataFromStore Started downloading file to path temp/mnt/ilens/ai-job//pipe1/run1/PreprocessWeatherData/input\test1.pkl from path /data/model/tested/test1.pkl on azure
2021-03-02 17:36:39,368 INFO GetDataFromStore File Downloaded Successfully
2021-03-02 17:39:37,849 INFO GetDataFromStore {'pipeline_id': 'pipe1', 'run_id': 'run1', 'shared_mount_base_ai_job': 'temp/mnt/ilens/ai-job/', 'data_store': 'Azure', 'container_name': 'ilensqa', 'artifact_base_path': '/data/model/tested/', 'artifact_name': 'test1.pkl', 'connection_string': 'DefaultEndpointsProtocol=https;AccountName=azrabsilensqa01;AccountKey=DN6q6kX98JM8yUwtuJh2bAaXUGFo1zRS5HJSsa/ZA+MlmctjC000eHP7bdXiQqkI/MVtADhS8c9E88LI5T4UHw==;EndpointSuffix=core.windows.net', 'component_output_dir': 'temp/mnt/ilens/ai-job//pipe1/run1/PreprocessWeatherData/input'}
2021-03-02 17:39:37,850 INFO GetDataFromStore Creating Connection........
2021-03-02 17:39:40,100 INFO GetDataFromStore Started downloading file to path temp/mnt/ilens/ai-job//pipe1/run1/PreprocessWeatherData/input\test1.pkl from path /data/model/tested/test1.pkl on azure
2021-03-02 17:39:40,101 INFO GetDataFromStore File Downloaded Successfully
2021-03-02 18:33:50,147 INFO GetDataFromStore {'pipeline_id': 'pipe1', 'run_id': 'run1', 'shared_mount_base_ai_job': 'temp/mnt/ilens/ai-job/', 'data_store': 'Azure', 'container_name': 'ilensqa', 'artifact_base_path': '/data/model/tested/', 'artifact_name': 'response.json', 'connection_string': 'DefaultEndpointsProtocol=https;AccountName=azrabsilensqa01;AccountKey=DN6q6kX98JM8yUwtuJh2bAaXUGFo1zRS5HJSsa/ZA+MlmctjC000eHP7bdXiQqkI/MVtADhS8c9E88LI5T4UHw==;EndpointSuffix=core.windows.net', 'component_output_dir': 'temp/mnt/ilens/ai-job//pipe1/run1/PreprocessWeatherData/input'}
2021-03-02 18:33:50,148 INFO GetDataFromStore Creating Connection........
2021-03-02 18:33:52,554 INFO GetDataFromStore Started downloading file to path temp/mnt/ilens/ai-job//pipe1/run1/PreprocessWeatherData/input\response.json from path /data/model/tested/response.json on azure
2021-03-02 18:33:52,555 INFO GetDataFromStore File Downloaded Successfully
2021-03-02 18:35:17,734 INFO GetDataFromStore {'pipeline_id': 'pipe1', 'run_id': 'run1', 'shared_mount_base_ai_job': 'temp/mnt/ilens/ai-job/', 'data_store': 'Azure', 'container_name': 'ilensqa', 'artifact_base_path': '/data/model/tested/', 'artifact_name': 'response.json', 'connection_string': 'DefaultEndpointsProtocol=https;AccountName=azrabsilensqa01;AccountKey=DN6q6kX98JM8yUwtuJh2bAaXUGFo1zRS5HJSsa/ZA+MlmctjC000eHP7bdXiQqkI/MVtADhS8c9E88LI5T4UHw==;EndpointSuffix=core.windows.net', 'component_output_dir': 'temp/mnt/ilens/ai-job//pipe1/run1/PreprocessWeatherData/input'}
2021-03-02 18:35:17,735 INFO GetDataFromStore Creating Connection........
2021-03-02 18:35:19,258 INFO GetDataFromStore Started downloading file to path temp/mnt/ilens/ai-job//pipe1/run1/PreprocessWeatherData/input\response.json from path /data/model/tested/response.json on azure
2021-03-02 18:35:19,259 INFO GetDataFromStore File Downloaded Successfully
......@@ -26,7 +26,7 @@ pipeline_id = os.environ.get('PIPELINE_ID', default="pipeline_313")
shared_mount_base_ai_job = os.environ.get("shared_mount_base_ai_job",
_config.get("SYSTEM_CONFIG", {}).get('shared_mount_base_ai_job'))
# read from $shared_mount_base_ai_job/$pipeline_id/run.config
run_id_path = shared_mount_base_ai_job + "/" + pipeline_id + "/run.json"
run_id_path = shared_mount_base_ai_job + "/" + pipeline_id + "/run_config.json"
try:
sys.stderr.write("Checking for run id parameters at path " + run_id_path + "\n")
with open(run_id_path) as f:
......
{
"run_id" : "run1"
}
\ No newline at end of file
{
"artifact_name": "response.json"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment