Hey Emilio,

How are you storing your model? Failing to invert means it cannot
deserialize your model from disk. It's definitely an error message that we
could improve.

Regards,
Donald

On Tue, Jun 6, 2017 at 5:48 AM Emilio Dettori <[email protected]> wrote:

> I'm working on a modified version of Text Classification Engine (I started
> with the Text Classification Engine Tutorial
> predictionio.incubator.apache.org/demo/textclassification/ and i modified
> the case class Query and the other classes accordingly)
> Build and training are successful, but when I deploy I get this error:
> --------------------
> [INFO] [Runner$] Submission command:
> /PredictionIO-0.10.0-incubating/vendors/spark-1.5.1-bin-hadoop2.6/bin/spark-submit
> --class org.apache.predictionio.workflow.CreateServer --jars
> file:/MyEngine/target/scala-2.10/org-template-textclassification_2.10-0.1-SNAPSHOT.jar,file:/MyEngine/target/scala-2.10/org.template.textclassification-assembly-0.1-SNAPSHOT-deps.jar
> --files
> file:/PredictionIO-0.10.0-incubating/conf/log4j.properties,file:/PredictionIO-0.10.0-incubating/vendors/hbase-1.0.0/conf/hbase-site.xml
> --driver-class-path
> /PredictionIO-0.10.0-incubating/conf:/PredictionIO-0.10.0-incubating/vendors/hbase-1.0.0/conf
> file:/PredictionIO-0.10.0-incubating/lib/pio-assembly-0.10.0-incubating.jar
> --engineInstanceId AVx9BsQz-vWIHN0jrKgz --engine-variant
> file:/MyEngine/engine.json --ip 0.0.0.0 --port 8000 --event-server-ip
> 0.0.0.0 --event-server-port 7070 --json-extractor Both --env
> PIO_STORAGE_SOURCES_HBASE_TYPE=hbase,PIO_ENV_LOADED=1,PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_meta,PIO_VERSION=0.10.0,PIO_FS_BASEDIR=/root/.pio_store,PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost,PIO_STORAGE_SOURCES_HBASE_HOME=/PredictionIO-0.10.0-incubating/vendors/hbase-1.0.0,PIO_HOME=/PredictionIO-0.10.0-incubating,PIO_FS_ENGINESDIR=/root/.pio_store/engines,PIO_STORAGE_SOURCES_LOCALFS_PATH=/root/.pio_store/models,PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch,PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=ELASTICSEARCH,PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=LOCALFS,PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME=pio_event,PIO_STORAGE_SOURCES_ELASTICSEARCH_CLUSTERNAME=predictionio,PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=/PredictionIO-0.10.0-incubating/vendors/elasticsearch-1.4.4,PIO_FS_TMPDIR=/root/.pio_store/tmp,PIO_STORAGE_REPOSITORIES_MODELDATA_NAME=pio_model,PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=HBASE,PIO_CONF_DIR=/PredictionIO-0.10.0-incubating/conf,PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300,PIO_STORAGE_SOURCES_LOCALFS_TYPE=localfs
> [WARN] [WorkflowUtils$] Non-empty parameters supplied to
> org.template.textclassification.Serving, but its constructor does not
> accept any arguments. Stubbing with empty parameters.
> [ERROR] [OneForOneStrategy] Failed to invert: [B@35b666f6
> --------------------
>
> Not sure what this error is about; I am not including any code because I'm
> not sure where the issue is. Hope you can help.
>

Reply via email to