Hi,

I followed the instructions in the below link -
https://community.cloudera.com/t5/Community-Articles/Metron-Model-as-a-Service-Maas-full-dev-platform/ta-p/247394
and also Metron git .I was able to deploy the sample for a datasource. Now
i tried to deploy the pretrained model in pytorch and trying to predict for
incoming data stream. When i execute the rest.sh script , i am getting the
proper response.Rest endpoint is working fine. When i try to deploy the
same in MaaS ( rest.sh, python file, model.pkl file) , i am getting error.
I checked the application container log in yarn and i could see only below
error. What could bethe issue?

Logs
-------

19/12/09 20:03:39 INFO callback.LaunchContainer: deeplog_class.py
localized: scheme: "hdfs" host: "localhost.localdomain" port: 8020
file: "/user/metron/model/deeplog_class.py"
19/12/09 20:03:39 INFO callback.LaunchContainer: rest.sh localized:
scheme: "hdfs" host: "localhost.localdomain" port: 8020 file:
"/user/metron/model/rest.sh"
19/12/09 20:03:39 INFO callback.LaunchContainer: mapper localized:
scheme: "hdfs" host: "localhost.localdomain" port: 8020 file:
"/user/metron/model/mapper"
19/12/09 20:03:39 INFO callback.LaunchContainer: model localized:
scheme: "hdfs" host: "localhost.localdomain" port: 8020 file:
"/user/metron/model/model"
19/12/09 20:03:39 INFO callback.LaunchContainer: deep_log.py
localized: scheme: "hdfs" host: "localhost.localdomain" port: 8020
file: "/user/metron/model/deep_log.py"
19/12/09 20:03:39 INFO callback.LaunchContainer: Executing container
command: {{JAVA_HOME}}/bin/java
org.apache.metron.maas.service.runner.Runner -ci 15393162788866 -zq
localhost.localdomain:2181 -zr /metron/maas/config -s rest.sh -n
dl_model_11 -hn localhost.localdomain -v 1.0 1><LOG_DIR>/stdout
2><LOG_DIR>/stderr
19/12/09 20:03:40 INFO impl.NMClientAsyncImpl: Processing Event
EventType: START_CONTAINER for Container
container_e14_1575839541200_0017_01_000002
19/12/09 20:03:40 INFO impl.ContainerManagementProtocolProxy: Opening
proxy : localhost.localdomain:45454
19/12/09 20:03:40 INFO impl.NMClientAsyncImpl: Processing Event
EventType: QUERY_CONTAINER for Container
container_e14_1575839541200_0017_01_000002
19/12/09 20:03:40 INFO impl.ContainerManagementProtocolProxy: Opening
proxy : localhost.localdomain:45454
19/12/09 20:04:14 ERROR service.ApplicationMaster: Received a null request...





Thanks and regards,
Hema

Reply via email to