Support Questions

Find answers, ask questions, and share your expertise

https://github.com/hortonworks-gallery/iotdemo-service

avatar
Super Collaborator

Hi,

I was trying to get the IOT demo https://github.com/hortonworks-gallery/iotdemo-service to work on the cluster secloud. I am not sure how is the Hbase master is pointing to :

Master sandbox.Hortonworks.com

I am not sure if this is specific to the demo or the cluster setup. Anything needs to be changed in my /etc/hosts??

Can you please help me out.

Thanks,

Sujitha

1 ACCEPTED SOLUTION

avatar
Guru

The IoT demo configs are available under "Advanced demo-env", but do not require updating as all required configs will be auto-populated:

  • Ambari host
  • Name node host/port
  • Nimbus host
  • Hive metastore host/port
  • Supervisor host
  • HBase master host
  • Kafka host/port (also where ActiveMQ will be installed)

You can click on IoT-demo on ambari, go to advanced demo-env and set the correct hbase master (and any other hosts that are different)

View solution in original post

5 REPLIES 5

avatar

@sujitha snake

Those instructions start with "Download the Sandbox VM." They are intended to be run on a Sandbox. You could modify the demo for your own cluster, but you'll need to change any references to sandbox.hortonworks.com to fit with your cluster.

avatar
Super Collaborator

Hi @emaxwell

Irrespective of Sandbox or cluster it should work either on cluster or Sandbox I believe. Let me see if I can get this to work.

Thanks,

Sujitha

avatar
Guru

The IoT demo configs are available under "Advanced demo-env", but do not require updating as all required configs will be auto-populated:

  • Ambari host
  • Name node host/port
  • Nimbus host
  • Hive metastore host/port
  • Supervisor host
  • HBase master host
  • Kafka host/port (also where ActiveMQ will be installed)

You can click on IoT-demo on ambari, go to advanced demo-env and set the correct hbase master (and any other hosts that are different)

avatar
Super Collaborator

Hi @Ravi Mutyala

Thanks for the reply. I was able to resolve the issue with Hbase master name but I have a new error when I run the demo the Real time Driver Behavior Predictions Application is not been populated and I get the below error. Need to look into details.

If you know the reason please post me.

java.lang.RuntimeException: java.lang.RuntimeException: org.apache.phoenix.exception.PhoenixIOExcept...

Thanks,

Sujitha

avatar
Guru

I think you should open a new question for this. Please take a look at HBase Master logs. This is most likely that HBase Master is missing phoenix jars.