日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

HUE的时区问题

發(fā)布時(shí)間:2025/5/22 编程问答 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 HUE的时区问题 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

轉(zhuǎn)自?http://molisa.iteye.com/blog/1953390 ? 我主要是根據(jù)這個(gè)說明調(diào)整的HUE的時(shí)區(qū)問題

?

在使用Cloudera Hue時(shí)遇到一問題:?
1. 使用Sqoop導(dǎo)入功能時(shí),由于配置錯(cuò)誤,使得“保存運(yùn)行”后Job并不能正常提交,且界面上沒有相關(guān)提示:?

  • 使用Hue的Sqoop shell -》 start job --jid * 提交會(huì)出現(xiàn)一些錯(cuò)誤提示
  • 然后再去/var/log/sqoop/里面查看log



2. 第二個(gè)問題是在使用Job Designer設(shè)計(jì)Sqoop任務(wù),提交時(shí),執(zhí)行過過程中提示缺少mysql 驅(qū)動(dòng),雖然驅(qū)動(dòng)已經(jīng)被我加入到sqoop/lib下,后來才發(fā)現(xiàn),原來安裝的時(shí)候會(huì)將oozie workflow共享依賴的包入到hdfs中,所以我將驅(qū)動(dòng)上傳到hdfs://user/oozie/share/lib/sqoop/下,再執(zhí)行Job就可以了?

3. hue oozie 執(zhí)行sqoop create-hive-table,不能成功在hive metastore中創(chuàng)建table,雖然在sqoop中加入--verbose參數(shù),在執(zhí)行過程中顯示了表示要?jiǎng)?chuàng)建table的DDL語句,但是在hive中show tables;并沒有真正創(chuàng)建成功。初步發(fā)現(xiàn)的原因,可能是在hue中sqoop沒有辦法調(diào)用起hive client,因?yàn)槿罩镜淖詈蟛]有打印hive所生成的log.?

4. hue oozie中有幾個(gè)關(guān)于時(shí)間的設(shè)置,都跟時(shí)區(qū)有關(guān):?

  • Cloudera Manager中有關(guān)hue的時(shí)區(qū)的設(shè)置,默認(rèn)為American/LosAngeles,這個(gè)時(shí)區(qū)設(shè)置使得hue oozie dashboard中任務(wù)的時(shí)間顯示不能與中國標(biāo)準(zhǔn)時(shí)間一致,將其改為Asia/Chongqing,重啟hue服務(wù)即可。
  • Hue Oozie Coordinator的頻率設(shè)置,開始和結(jié)束時(shí)間后的時(shí)區(qū)設(shè)置,是用來調(diào)整夏令時(shí)區(qū)的。由于某些時(shí)區(qū)實(shí)行夏令時(shí),使得開始和結(jié)束時(shí)間要進(jìn)行一定的調(diào)整。
  • 上面的開始和結(jié)束時(shí)間使用的是UTC時(shí)區(qū),這個(gè)設(shè)置可以更改/etc/oozie/conf/oozie-default.xml中的oozie.process.timezone,默認(rèn)為UTC。然后,Hue oozie對(duì)這個(gè)設(shè)置的更改不起作用,所以在使用hue oozie時(shí),設(shè)置時(shí)間固定以UTC為基準(zhǔn),中國時(shí)間比其早8小時(shí),一般要減去8小時(shí)。



5. 當(dāng)使用MySQL作為集群中Hive的MetaStore和Cloudera Manager Monitor Service的Database的時(shí)候,各個(gè)節(jié)點(diǎn)要安裝mysql-connector。?

6. 在使用Cloudera Manager部署Hadoop時(shí),由于各節(jié)點(diǎn)時(shí)鐘不統(tǒng)一,會(huì)導(dǎo)致服務(wù)出現(xiàn)異常,使用NTP server/client可以解決這個(gè)問題。?

7. Cloudera Manager - Hbase browser couldn't connect to localhost:9090?

In Hue 2.5.0, there is a new feature called "HBase Browser", it is for user to quickly browsing huge tables and accessing Hbase content. You can also create new tables, add data, modify existing cells and filter data with the autocompleting search bar. If you click on "Hbase Browser" icon and get "API error: couldn't connect to localhost:9090", probably you don't have a Hbase thrift server running.?

In your CM, go to "All Services" -> "hbase1" -> "Instances", then under "Role Instances", click on "Add", choose a node to be "HBase Thrift Server", then start the thrift server. By default, hue connects to itself on port 9090, so make sure hue knows which node is the thrift server.?

To start a thrift server from commnad line, just type "hbase thrift start".

轉(zhuǎn)載于:https://www.cnblogs.com/hark0623/p/5039776.html

總結(jié)

以上是生活随笔為你收集整理的HUE的时区问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。