h2oai / h2oai/driverlessai-tutorials
Exception in thread "main" java.lang.Error: premature EOF
- Dominant language
- Jupyter Notebook
- Stars
- 38
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
I completed an 'Experiment' run on DriverlessAI, and downloaded mozo.zip from 'Download MOJO scoring pipeline' button.
I unzipped it, and tried to run run_example.sh included in it, but it produces the following error. It doesn't matter what method I use to run run_example.sh, but all ends up with the same error.
Can you pls help ?
------------
[bsyu@p57a22 mojo-pipeline]$ export DRIVERLESS_AI_LICENSE_FILE=/opt/h2oai/dai/home/.driverlessai/license.sig
[bsyu@p57a22 mojo-pipeline]$ ./run_example.sh pipeline.mojo /home/bsyu/files/DJI_Sep17_Sep18.csv
======================
Running MOJO2 example
======================
MOJO file : pipeline.mojo
Input file : /home/bsyu/files/DJI_Sep17_Sep18.csv
Command line : java -Xmx5g -Dai.h2o.mojos.runtime.license.file= -cp mojo2-runtime.jar ai.h2o.mojos.ExecuteMojo pipeline.mojo /home/bsyu/files/DJI_Sep17_Sep18.csv
Exception in thread "main" java.lang.Error: premature EOF
at org.capnproto.BufferedInputStreamWrapper.readAtLeast(SourceFile:103)
at org.capnproto.BufferedInputStreamWrapper.getReadBuffer(SourceFile:83)
at org.capnproto.PackedInputStream.read(SourceFile:47)
at org.capnproto.Serialize.fillBuffer(SourceFile:42)
at org.capnproto.Serialize.read(SourceFile:56)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:42)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:36)
at ai.h2o.mojos.runtime.d.b.a(SourceFile:17)
at ai.h2o.mojos.runtime.d.h.a(SourceFile:91)
at ai.h2o.mojos.runtime.b.D.b(SourceFile:60)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:29)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:67)
at ai.h2o.mojos.runtime.b.i.b(SourceFile:51)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:32)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:48)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:50)
at ai.h2o.mojos.ExecuteMojo.main(SourceFile:49)
[bsyu@p57a22 mojo-pipeline]$ bash ./run_example.sh
======================
Running MOJO2 example
======================
MOJO file : pipeline.mojo
Input file : example.csv
Command line : java -Xmx5g -Dai.h2o.mojos.runtime.license.file= -cp mojo2-runtime.jar ai.h2o.mojos.ExecuteMojo pipeline.mojo example.csv
Exception in thread "main" java.lang.Error: premature EOF
at org.capnproto.BufferedInputStreamWrapper.readAtLeast(SourceFile:103)
at org.capnproto.BufferedInputStreamWrapper.getReadBuffer(SourceFile:83)
at org.capnproto.PackedInputStream.read(SourceFile:47)
at org.capnproto.Serialize.fillBuffer(SourceFile:42)
at org.capnproto.Serialize.read(SourceFile:56)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:42)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:36)
at ai.h2o.mojos.runtime.d.b.a(SourceFile:17)
at ai.h2o.mojos.runtime.d.h.a(SourceFile:91)
at ai.h2o.mojos.runtime.b.D.b(SourceFile:60)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:29)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:67)
at ai.h2o.mojos.runtime.b.i.b(SourceFile:51)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:32)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:48)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:50)
at ai.h2o.mojos.ExecuteMojo.main(SourceFile:49)
[bsyu@p57a22 mojo-pipeline]$ java -cp license.sig:mojo2-runtime.jar ai.h2o.mojos.ExecuteMojo pipeline.mojo example.csv
Exception in thread "main" java.lang.Error: premature EOF
at org.capnproto.BufferedInputStreamWrapper.readAtLeast(SourceFile:103)
at org.capnproto.BufferedInputStreamWrapper.getReadBuffer(SourceFile:83)
at org.capnproto.PackedInputStream.read(SourceFile:47)
at org.capnproto.Serialize.fillBuffer(SourceFile:42)
at org.capnproto.Serialize.read(SourceFile:56)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:42)
at org.capnproto.SerializePacked.readFromUnbuffered(SourceFile:36)
at ai.h2o.mojos.runtime.d.b.a(SourceFile:17)
at ai.h2o.mojos.runtime.d.h.a(SourceFile:91)
at ai.h2o.mojos.runtime.b.D.b(SourceFile:60)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:29)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:67)
at ai.h2o.mojos.runtime.b.i.b(SourceFile:51)
at ai.h2o.mojos.runtime.b.a.a(SourceFile:32)
at ai.h2o.mojos.runtime.MojoPipeline.read_pipeline(SourceFile:229)
at ai.h2o.mojos.runtime.MojoPipeline.(SourceFile:182)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:81)
at ai.h2o.mojos.runtime.MojoModelFactory.loadFrom(SourceFile:48)
at ai.h2o.mojos.runtime.MojoPipeline.loadFrom(SourceFile:50)
at ai.h2o.mojos.ExecuteMojo.main(SourceFile:49)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.