GithubHelp home page GithubHelp logo

anrgusc / jupiter Goto Github PK

View Code? Open in Web Editor NEW
22.0 9.0 16.0 4.1 GB

Jupiter is an orchestrator for Dispersed (Networked) Computing that uses Docker containers and Kubernetes.

License: Other

Shell 2.73% Python 90.85% Dockerfile 4.72% HTML 0.17% JavaScript 1.47% CSS 0.06%

jupiter's Issues

Containerized unit test for single task

Once #28 is finished, a developer who codes a single task may still have dependency issues when it is finally launched along with an entire project. We need a way to allow developers to smoke test a single task by building and running a container which either fakes inputs or creates 0 inputs just to see if the task runs without error.

@MaLeiOnline we have a working version of Jupiter v5.0 in the following branch. This version is a lot easier to use, and the top-level readme provides some new instructions. It does not, however, have instructions on setting up k8s.

@MaLeiOnline we have a working version of Jupiter v5.0 in the following branch. This version is a lot easier to use, and the top-level readme provides some new instructions. It does not, however, have instructions on setting up k8s.

https://github.com/ANRGUSC/Jupiter/tree/finalccdag

Originally posted by @jasonatran in #30 (comment)

Unhandled exception in thread started by <function deploy_app_jupiter at 0x7fe925bda400>

What happened (please include outputs or screenshots):
RUN: python3 auto_deploy_system.py
OUTPUT:

Task mapper: Wave random selected
Non pricing scheme selected
CIRCE path-------------------------------------------
/home/master2/Jupiter-develop/circe/original/
1
Task mapper: Wave random selected
Non pricing scheme selected
CIRCE path-------------------------------------------
/home/master2/Jupiter-develop/circe/original/
[8080]
['coded1']
coded1

  • Serving Flask app "auto_deploy_system" (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
  • Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)

Task mapper: Wave random selected
Non pricing scheme selected
CIRCE path-------------------------------------------
/home/master2/Jupiter-develop/circe/original/
Deploy WAVE greedy mapper
Task mapper: Wave random selected
Non pricing scheme selected
CIRCE path-------------------------------------------
/home/master2/Jupiter-develop/circe/original/
Exception Occurred
F1112 15:12:32.327170 114217 proxy.go:160] listen tcp 127.0.0.1:8080: bind: address already in use
Exception Occurred
Exception Occurred
Exception Occurred
Task mapper: Wave random selected
Non pricing scheme selected
CIRCE path-------------------------------------------
/home/master2/Jupiter-develop/circe/original/
Exception Occurred


Network Profiling Information:
{}
Execution Profiling Information:
{}



WAVE mapper
Task mapper: Wave random selected
Non pricing scheme selected
CIRCE path-------------------------------------------
/home/master2/Jupiter-develop/circe/original/
{'node1': ['Node1'], 'node2': ['Node2'], 'node3': ['Node3']}
Task mapper: Wave random selected
Non pricing scheme selected
CIRCE path-------------------------------------------
/home/master2/Jupiter-develop/circe/original/
Unhandled exception in thread started by <function deploy_app_jupiter at 0x7fe925bda400>
Traceback (most recent call last):
File "auto_deploy_system.py", line 361, in deploy_app_jupiter
k8s_jupiter_deploy(app_id,app_name,port)
File "auto_deploy_system.py", line 133, in k8s_jupiter_deploy
task_mapping_function(profiler_ips,execution_ips,node_names,app_name)
File "auto_deploy_system.py", line 63, in task_mapping
return f(args[0],args[3])
File "/home/master2/Jupiter-develop/mulhome_scripts/k8s_wave_scheduler.py", line 124, in k8s_wave_scheduler
ser_resp = api.create_namespaced_service(namespace, home_body)
File "/home/master2/.local/lib/python3.6/site-packages/kubernetes/client/apis/core_v1_api.py", line 6820, in create_namespaced_service
(data) = self.create_namespaced_service_with_http_info(namespace, body, **kwargs)
File "/home/master2/.local/lib/python3.6/site-packages/kubernetes/client/apis/core_v1_api.py", line 6905, in create_namespaced_service_with_http_info
collection_formats=collection_formats)
File "/home/master2/.local/lib/python3.6/site-packages/kubernetes/client/api_client.py", line 321, in call_api
_return_http_data_only, collection_formats, _preload_content, _request_timeout)
File "/home/master2/.local/lib/python3.6/site-packages/kubernetes/client/api_client.py", line 155, in __call_api
_request_timeout=_request_timeout)
File "/home/master2/.local/lib/python3.6/site-packages/kubernetes/client/api_client.py", line 364, in request
body=body)
File "/home/master2/.local/lib/python3.6/site-packages/kubernetes/client/rest.py", line 266, in POST
body=body)
File "/home/master2/.local/lib/python3.6/site-packages/kubernetes/client/rest.py", line 222, in request
raise ApiException(http_resp=r)
kubernetes.client.rest.ApiException: (409)
Reason: Conflict
HTTP response headers: HTTPHeaderDict({'Content-Type': 'application/json', 'Date': 'Tue, 12 Nov 2019 07:12:33 GMT', 'Content-Length': '208'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"services "coded1-home" already exists","reason":"AlreadyExists","details":{"name":"coded1-home","kind":"services"},"code":409}

Environment:

  • Jupiter version: 4.0

  • Kubernetes version (kubectl version): v1.15.2

  • OS: Ubuntu 18.04

  • Python version: 3.6.9

Create example application

Instead of checking files in for a "dummy app", we should have a very simple example app and call the folder example_multicast.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.