Support Questions

Find answers, ask questions, and share your expertise

How to change timezone from Cloudera manager interface ?

avatar
New Contributor

Hi, I am trying to chnage the TimeZone displayed on the Clouedera Manager interface. Currently timezone is set to IST & I would like to chnage it to utc. Can I chnage this from clouderamanager interface ? I know it is displaying the default timezone of the server in which Cloudera manager is installed [Linux]. I can chnage this date from the command terminal. echo "Etc/UTC" | sudo tee /etc/timezone sudo dpkg-reconfigure --frontend noninteractive tzdata However the time displayed on the Cloudera mananger is changing only if I restart the Server. Is there any option available in Cloudera Manager interface by which I can chnage timezone without restarting the instance?

3 REPLIES 3

avatar
New Contributor

Hi. I'm Takehiko.

I got to change TimeZone of ClouderaManager WebUI in CDH5.5.0+Ubuntu14.04.3.
```
Change TimeZone at ClouderaManager's Server.

(1) SoftwareClock
$ sudo cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
$ date
Sun Jan 10 21:34:52 JST 2016
~~~ change JST.

(2) Change HWClock
$ sudo sed -i "s/UTC=yes/UTC=no/g" /etc/default/rcS
$ grep UTC /etc/default/rcS
UTC=no
$ sudo shutdown -r now

(3) Confirm ClouderaManager WebUI
http://host:7180/
--> Timezone is changed JST.
```

regards.
Takehiko OGASAWARA

avatar
New Contributor

I am using 5.10.0 SCM and it does not work for this solution.

avatar
Expert Contributor

Hi @grhuang,

 

Only need 2 things:

1) Change SoftwareClock in all hosts (nodes):

    timedatectl set-timezone Europe/Madrid (in my case)

2) Restart Cloudera manager server:

     sudo service cloudera-scm-server restart

 

Regards,

Manu.