Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Wants to Deploy a Python Model on Metron as maas_service

Highlighted

Wants to Deploy a Python Model on Metron as maas_service

Explorer

I am newly working on Metron, Currently i want to deploy a model in metron as mass_service.When i try to follow to some blogs for do this in my current metron installation(https://community.hortonworks.com/articles/149376/metron-model-as-a-service-maas-full-dev-platform.h...) the mass_service.sh is missing.How should i fix it.Please give some ideas for that .

Thanks with

Best Regards,

Vinoth.

2 REPLIES 2
Highlighted

Re: Wants to Deploy a Python Model on Metron as maas_service

Explorer

@Jay Kumar SenSharma Can you please give some solution like what to do to fix this problem?

Re: Wants to Deploy a Python Model on Metron as maas_service

Contributor

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>

The same as replied here -> https://community.hortonworks.com/questions/177048/how-to-deploy-my-own-model-in-to-metron.html

For more information, you can also check the following documentation:

https://docs.hortonworks.com/HDPDocuments/HCP1/HCP-1.4.1/bk_analytics/content/models.html

Gonçalo

Don't have an account?
Coming from Hortonworks? Activate your account here