Reply
New Contributor
Posts: 1
Registered: ‎09-19-2018

Cloudera Data Science Workbench 1.4.x

[ Edited ]

I am trying to implement the new features of Experiments and Models in CDSW 1.4.x version. Here is the link of the Iris Dataset Project which I am trying to replicate:

 

https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_models_examples.htm...

 

 

While Deploying the model, I am getting the following error:

 

2018-09-19 02:49:24.016 Model process has exited {"pid":609,"exitCode":0,"signal":null}
2018-09-19 02:49:23.934 2018-09-19 19:49:23,933	609	INFO	Model.Runtime	Finish Python model runtime in 609 with return code 0
2018-09-19 02:49:23.930 UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 0: ordinal not in range(128)
2018-09-19 02:49:23.930     model = pickle.load(open('model.pkl', 'rb'))
2018-09-19 02:49:23.930   File "/home/cdsw/predict.py", line 7, in <module>
2018-09-19 02:49:23.930     exec(byteCode, scope)
2018-09-19 02:49:23.930   File "/app/model-runtime/python/model-runtime.py", line 45, in execfile
2018-09-19 02:49:23.930     execfile(targetFilePath, self.globals)
2018-09-19 02:49:23.930   File "/app/model-runtime/python/model-runtime.py", line 88, in start
2018-09-19 02:49:23.930 Traceback (most recent call last):
2018-09-19 02:49:23.930 2018-09-19 19:49:23,929	609	ERROR	Model.Runtime	Model file failed to execute
2018-09-19 02:49:23.320 2018-09-19 19:49:23,317	609	INFO	Model.Runtime	Start  Model initialization
2018-09-19 02:49:23.107 2018-09-19 19:49:23,106	609	INFO	Model.Runtime	Start  Python model runtime in 609

 

 

Any help would be appreciated. Thanks!

Announcements