Hi Gintas,
This is one of the more, um, irritating bits about EC2. You should edit
/etc/cloudera-scm-agent/config.ini to point to the server's new IP. You
should also edit /etc/default/cloudera-scm-agent to have
CMF_AGENT_ARGS="--host_id xxx" where xxx is any unique identifier you want
to use. Currently the system thinks it's the hostname of your original EC2
box, but that might end up being confusing. You might need to edit the
HOSTS table in the CM database (as configured in
/etc/cloudera-scm-server/db.properties) to remap the identifier; there's no
easy way to move hosts otherwise.
Hope this helps,
-- Philip
On Wed, Dec 12, 2012 at 6:03 PM, Gintautas Sulskus wrote:
Hello guys,
my situation is as such: I set up a 1 node cluster of hadoop/hbase, but
had to stop the EC2 instance.
After I've started the server again, its IP has changed therefore none of
the services may be monitored or started.
Cloudera manager sees the same old IP address and i can not find a way to
change it. Any clue?
So far I imagine I would have to go to cloudera's and every service config
file and edit the address manually. Is this the way?
Thanks!
Gintas