ari-vedant-jain / docker-spark-machinelearning Goto Github PK
View Code? Open in Web Editor NEWA microservice for serving Machine Learning models created in Spark
A microservice for serving Machine Learning models created in Spark
Traceback (most recent call last):
File "./housing.py", line 5, in
from flask import Flask, abort, request, jsonify
File "/root/jython-2.7.0/Lib/site-packages/flask/init.py", line 17, in
from werkzeug.exceptions import abort
File "/root/jython-2.7.0/Lib/site-packages/werkzeug/init.py", line 20, in
from werkzeug.compat import iteritems
File "/root/jython-2.7.0/Lib/site-packages/werkzeug/compat.py", line 10, in
import builtins
File "/root/jython-2.7.0/Lib/site-packages/werkzeug/compat.py", line 10, in
import builtins
java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
at org.python.core.PyString.(PyString.java:64)
at org.python.core.PyString.(PyString.java:70)
at org.python.modules.zipimport.zipimporter.readZipFile(zipimporter.java:404)
at org.python.modules.zipimport.zipimporter.readDirectory(zipimporter.java:366)
at org.python.modules.zipimport.zipimporter.zipimporter___init(zipimporter.java:118)
at org.python.modules.zipimport.zipimporter.zipimporter___init_(zipimporter.java:84)
at org.python.modules.zipimport.zipimporter$exposed___new__.createOfType(Unknown Source)
at org.python.core.PyOverridableNew.new_impl(PyOverridableNew.java:12)
at org.python.core.PyType.invokeNew(PyType.java:494)
at org.python.core.PyType.type___call__(PyType.java:1706)
at org.python.core.PyType.call(PyType.java:1696)
at org.python.core.PyObject.call(PyObject.java:461)
at org.python.core.imp.getPathImporter(imp.java:480)
at org.python.core.imp.find_module(imp.java:530)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_first(imp.java:870)
at org.python.core.imp.import_module_level(imp.java:972)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.call(builtin.java:1280)
at org.python.core.PyObject.call(PyObject.java:431)
at org.python.core.builtin.import(builtin.java:1232)
at org.python.core.imp.importOne(imp.java:1081)
at werkzeug._compat$py.f$0(/tmp/pip_build_root/Werkzeug/werkzeug/_compat.py:198)
at werkzeug._compat$py.call_function(/tmp/pip_build_root/Werkzeug/werkzeug/_compat.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.imp.createFromPyClass(imp.java:236)
at org.python.core.imp.createFromPyClass(imp.java:205)
at org.python.core.imp.loadFromSource(imp.java:651)
at org.python.core.imp.find_module(imp.java:543)
at org.python.core.PyModule.impAttr(PyModule.java:106)
at org.python.core.imp.import_next(imp.java:842)
at org.python.core.imp.import_logic(imp.java:904)
at org.python.core.imp.import_module_level(imp.java:978)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.call(builtin.java:1280)
at org.python.core.PyObject.call(PyObject.java:431)
at org.python.core.builtin.import(builtin.java:1232)
at org.python.core.imp.importFromAs(imp.java:1156)
at org.python.core.imp.importFrom(imp.java:1132)
at werkzeug$py.f$0(/tmp/pip_build_root/Werkzeug/werkzeug/init.py:151)
at werkzeug$py.call_function(/tmp/pip_build_root/Werkzeug/werkzeug/init.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.imp.createFromPyClass(imp.java:236)
at org.python.core.imp.createFromPyClass(imp.java:205)
at org.python.core.imp.loadFromSource(imp.java:651)
at org.python.core.imp.find_module(imp.java:543)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_first(imp.java:870)
at org.python.core.imp.import_module_level(imp.java:972)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.call(builtin.java:1280)
at org.python.core.PyObject.call(PyObject.java:431)
at org.python.core.builtin.import(builtin.java:1232)
at org.python.core.imp.importFromAs(imp.java:1156)
at org.python.core.imp.importFrom(imp.java:1132)
at flask$py.f$0(/tmp/pip_build_root/Flask/flask/init.py:49)
at flask$py.call_function(/tmp/pip_build_root/Flask/flask/init.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.imp.createFromPyClass(imp.java:236)
at org.python.core.imp.createFromPyClass(imp.java:205)
at org.python.core.imp.loadFromSource(imp.java:651)
at org.python.core.imp.find_module(imp.java:543)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.call(builtin.java:1280)
at org.python.core.PyObject.call(PyObject.java:431)
at org.python.core.builtin.import(builtin.java:1232)
at org.python.core.imp.importFromAs(imp.java:1156)
at org.python.core.imp.importFrom(imp.java:1132)
at org.python.pycode._pyx0.f$0(./housing.py:25)
at org.python.pycode._pyx0.call_function(./housing.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:296)
at org.python.util.jython.run(jython.java:362)
at org.python.util.jython.main(jython.java:142)
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.