Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

how to deploy my own model in to metron ?

avatar
Explorer

I am planning to deploy my own model in metron but i am stuck up. I am not able to find mass_service.sh in my Metron.Kindly suggest me some ideas to sort it.

Thanks

1 ACCEPTED SOLUTION

avatar
Rising Star

Hi @Vinoth Krish,

To deploy your model to Metron you should use the following:

/<METRON HOME>/bin/maas_deploy.sh -zq <ZOOKEEPER>:2181 -lmp <LOCAL FS MODEL PATH> -hmp <HDFS MODEL PATH> -mo ADD -m <MEMORY FOR THE CONTAINER> -n <MODEL NAME> -v <MODEL VERSION> -ni <NUMBER OF MODEL INSTANCES>

If you are trying first to start MaaS Service you should use:

/<METRON HOME>/bin/maas_service.sh -zq <ZOOKEEPER>:2181

If you don't have at all MaaS components installed try this (Change accordingly with your OS):

yum list metron*

Find the Metron MaaS package and install (Change accordingly with your OS):

yum install <METRON MAAS PACKAGE NAME>

Hope it helps!

Gonçalo

View solution in original post

1 REPLY 1

avatar
Rising Star

Hi @Vinoth Krish,

To deploy your model to Metron you should use the following:

/<METRON HOME>/bin/maas_deploy.sh -zq <ZOOKEEPER>:2181 -lmp <LOCAL FS MODEL PATH> -hmp <HDFS MODEL PATH> -mo ADD -m <MEMORY FOR THE CONTAINER> -n <MODEL NAME> -v <MODEL VERSION> -ni <NUMBER OF MODEL INSTANCES>

If you are trying first to start MaaS Service you should use:

/<METRON HOME>/bin/maas_service.sh -zq <ZOOKEEPER>:2181

If you don't have at all MaaS components installed try this (Change accordingly with your OS):

yum list metron*

Find the Metron MaaS package and install (Change accordingly with your OS):

yum install <METRON MAAS PACKAGE NAME>

Hope it helps!

Gonçalo