GithubHelp home page GithubHelp logo

ari-vedant-jain / docker-spark-machinelearning Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 44.94 MB

A microservice for serving Machine Learning models created in Spark

Python 100.00%
docker machine-learning microservice spark

docker-spark-machinelearning's People

Contributors

ari-vedant-jain avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

docker-spark-machinelearning's Issues

Cannot create PyString with non-byte value

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

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.