UDH常見問題及解決方案【模板】_第1頁
UDH常見問題及解決方案【模板】_第2頁
UDH常見問題及解決方案【模板】_第3頁
UDH常見問題及解決方案【模板】_第4頁
UDH常見問題及解決方案【模板】_第5頁
免費(fèi)預(yù)覽已結(jié)束,剩余1頁可下載查看

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、UDH常見問題及解決方案 Q1:確認(rèn)主機(jī)時,主機(jī)無法安裝 A:各個服務(wù)器需要建立針對自身的免密碼登陸服務(wù) # cd /.ssh # cat id_rsa.pub authorized_keys Q2:無法連接到master的8440端口 A: Openssl版本過低導(dǎo)致連接失敗,將Openssl升級 Q3: Install DataNode 超時,報(bào)錯:Python script has been killed due to timeout A:超時問題一般重新操作即可,ReTryo Q4: NameNode 啟動報(bào)錯:UnicodeDecodeError: ascii* codec canl

2、 decode byte 0 xe6 in position 221: ordinal not in range(128) A:這是山于編碼不一致導(dǎo)致的,修改ambari-server的格式,修改為 en_US.UTF_8. # vim /etc/sysconfig/i18n 修改編碼格式為en_US.UTF_8 # source /etc/sysc on fig/i18n Q5: # /usr/bi n/yum -d 0 e 0 -y in stall udh-zookeeper-rest Error: Package: glibc-2.12-1.107.el6.i686 (local-ce

3、ntos) Requires: glibc-common = 2.12-1.107.el6 Installed: glibc-common-2.12-1.132.el6.x86_64 (rhel) glibc-common = 2.12-1.132.el6 Available: glibc-common-2.12-1.107.el6.x86_64 (local-centos) glibc-common = 2.12-1.107.el6 Error: Package: libgcj-devel-4.4.7-3.el6.x86_64 (local-centos) Requires: libgcj(

4、x86-64) = 4473el6 Installed: libgcj-4.4.7-4.el6.x86_64 (rhel) libgcj(x86-64) = 4.4.7-4.el6 Available: libgcj-4.4.7-3.el6.x86_64 (local-centos) libgcj(x86-64) = 4473el6 Error: Package: gcc-java-4.4.7-3.el6.x86_64 (local-centos) Requires: gcc = 4.4.7-3.el6 Installed: gcc-4.4.7-4.el6.x86_64 (rhel) gcc

5、= 4.4.4-15.el6 gcc = 4.4.74el6 Available: gcc-4.4.7-3.el6.x86_64 (local-centos) gcc = 4.4.73el6 gcc = 4.4.4-15.el6 You could try using -skip-broken to work around the problem You could try running: rpm -Va -nofiles -nodigest yum.repos.d rpm -e glibc-common-2.12-1.132.el6.x86_64 error: Failed depende

6、ncies: glibc-common = 2.12-1.132.el6 is needed by (installed) glibc-2.12- 1.132.el6.x86_64 /usr/bin/gencat is needed by (installed) redhat-lsb-core-4.0- 7.el6.centos.x86_64 /usr/bin/getconf is needed by (installed) redhat-lsb-core-4.0 7.el6centos.x86_64 /usr/bin/iconv is needed by (installed) redhat

7、-lsb-core-4.0-7.el6.centos.x86_64 /usr/bin/locale is needed by (installed) redhat-lsb-core-4.0- 7.el6.centos.x86_64 /usr/bin/localedef is needed by (installed) redhat-lsb-core-4.0- 7el6centos.x86_64 A: # /usr/bi n/yum -enablerepo=rhel -y in stall udh-zookeeper-rest 中間加入-enablerepo=rhel執(zhí)行其他安裝 Q6: WAR

8、N: Oozie WAR has not been set up at /usr/lib/oozie/oozie- server/webappsH, doing default set up setting OOZIE_CONFIG=$OOZIE_CONFIG:-/etc/oozie/conf setting CATALINA_BASE=$CATALINA_BASE:-/var/lib/oozie/tomcat- deployment setting CATALINA_TMPDIR=$CATALINA_TMPDIR:-/var/lib/oozie setting OOZIE_CATALINA_

9、HOME=/usr/lib/bigtop-tomcat setting JAVA_HOME=/usr/jdk64/jdk1.7.0_45 setting JRE_HOME=$JAVA_HOME) setting OOZIE_LOG=/var/log/oozie setting CATALINA_PID=/var/run/oozie/oozie.pid setting OOZIE_DATA=/hadoop/oozie/data setting OOZIE_HTTPS_PORT=11443 setting OOZIE_HTTPS_KEYSTORE_PASS=password setting CAT

10、AUNA_OPTS=M$CATALINA_OPTS - Doozie.https.port=$OOZIE_HTTPS_PORT setting CATALINA_OPTS=”$CATALINA_OPTS - Doozie.https.keystore.pass=$OOZIE_HTTPS_KEYSTORE_PASS setting CATALINA_OPTS=,$CATALINA_OPTS -Xmx1024mn setting JAVA_LIBRARY_PATH=/usr/lib/hadoop/lib/native/Linux-amd64-64 A: # cd /usr/lib/oozie/oo

11、zie-server/webapps # cp /var/lib/oozie/tomcat-deployment/webapps廠./ Q7: # /usr/lib/oozie/bin/oozied.sh: line 105: /usr/lib/oozie/oozie- server/bin/catalina.sh:沒有那個文件或目錄 # /usr/lib/oozie/bin/oozied.sh: line 105: exec: /usr/lib/oozie/oozie- server/bin/catalina.sh: cannot execute:沒有那個文件或 LI 錄 A:按照tomca

12、t安裝包文件結(jié)構(gòu)建立相應(yīng)文件夾及安放文件 Q8: raise Faif Applyi ng %s failed, pare nt directory %s does nt exist* % (self.resource, dirname) Fail: Applying File7etc/hadoop/conf/core-site.xml1 failed, parent directory /etc/hadoop/conf does nt exist A:手動建立 conf 錄 #mkdir /etc/hadoop/conf Q9:找不到/usr/lib/bigtop-utils/bigtop-

13、detect-javahome 下的 JAVA_HOME A: #mkdir /usr/lib/bigtop-utils # vi /usr/lib/bigtop-utils/bigtop-detect-javahome 加入: # export JAVA_HOME=/usr/jdk64/jdk1.7.0_45 Q10:在組件安裝過程中遇到MySQI安裝失敗,錯誤提示: /usr/jdk64/jdk1.7.0_45/bin/java no such file or directory A:代碼中JAVA_HOME路徑與系統(tǒng)環(huán)境中$JAVA_HOME路徑不一致,可以 通過軟連接指定包有的路徑 #

14、 In -s /usr/jdk64/jdk1.7.0_45 /usr/java/jdk1.7.0_45Q11: Execution of ,mysql -u root hive -e SOURCE /usr/lib/hive/scnpts/metastore/upgrade/mysql/hive-schema-0.12.0.mysql.sqln returned 1. ERROR 1062 (23000) at line 764 in file: 7usr/lib/hive/scripts/metastore/upgrade/mysql/hive-schema-0.12.0.mysql.s q

15、: Duplicate entry 1 for key PRIMARY A: # mysql uhive -p123456 mysql drop database hive; mysql create database hive; mysql use hive; mysql show tables; 正常show tables的結(jié)果會返回Empty set mysql Ctrl-C 一 exit! Q12: 19/Nov/2014 20:28:34 supervisor WARNING Supervisor shutting down! 19/Nov/2014 20:28:34 supervi

16、sor WARNING Waiting for children to exit for 5 seconds. Starting process Starting process Started proceses (pid 11414) Started proceses (pid 11415) 19/Nov/2014 20:29:30 supervisor INFO /usr/lib/hue/build/env/bin/hue runcpserver 19/Nov/2014 20:29:30 supervisor INFO /usr/lib/hue/build/env/bin/hue kt_r

17、enewer 19/Nov/2014 20:29:30 supervisor INFO /usr/lib/hue/build/env/bin/hue runcpserver 19/Nov/2014 20:29:30 supervisor INFO /usr/lib/hue/build/env/bin/hue kt_renewer 19/Nov/2014 20:29:36 supervisor INFO Command 7usr/lib/hue/build/env/bin/hue kt_renewer” exited normally. 19/Nov/2014 20:29:39 supervis

18、or WARNING Exit code for /usr/lib/hue/build/env/bin/hue runcpserver: 1 19/Nov/2014 20:29:39 supervisor ERROR Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. 19/Nov/2014 20:29:39 supervisor INFO Starting process /usr/lib/hue/build/env/bin/hue runcpserver 19/Nov/20

19、14 20:29:39 supervisor INFO Started proceses (pid 11497) /usr/lib/hue/build/env/bin/hue runcpserver 19/Nov/2014 20:29:44 supervisor WARNING Exit code for /usr/lib/hue/build/env/bin/hue runcpserver: 1 19/Nov/2014 20:29:44 supervisor ERROR Process /usr/lib/hue/build/env/bin/hue runcpserver exited abno

20、rmally. Restarting it. 19/Nov/2014 20:29:44 supervisor INFO Starting process /usr/lib/hue/build/env/bin/hue runcpserver 19/Nov/2014 20:29:44 supervisor INFO Started proceses (pid 11568) /usr/lib/hue/build/env/bin/hue runcpserver 19/Nov/2014 20:29:50 supervisor WARNING Exit code for /usr/lib/hue/buil

21、d/env/bin/hue runcpserver: 1 19/Nov/2014 20:29:50 supervisor ERROR Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. 19/Nov/2014 20:29:50 supervisor INFO Starting process /usr/lib/hue/build/env/bin/hue runcpserver 19/Nov/2014 20:29:50 supervisor INFO Started proces

22、es (pid 11712) /usr/lib/hue/build/env/bin/hue runcpserver 19/Nov/2014 20:29:54 supervisor WARNING Exit code for /usr/lib/hue/build/env/bin/hue runcpserver: 1 19/Nov/2014 20:29:54 supervisor ERROR Process /usr/lib/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 15 second

23、s 19/Nov/2014 20:29:55 supervisor WARNING Supervisor shutting down! 19/Nov/2014 20:29:55 supervisor WARNING Waiting for children to exit for 5 seconds. 19/Nov/2014 20:29:55 supervisor ERROR Exception in supervisor main loop Traceback (most recent call last): File Vusr/lib/hue/desktop/core/src/deskto

24、p/supervisor.pyM, line 386, in main wait_loop(sups, options) File Vusr/lib/hue/desktop/core/src/desktop/supervisor.py, line 403, in waitjoop shutdown(sups) # shutdown() exits the process File Vusr/lib/hue/desktop/core/src/desktop/supervisor.pyM, line 215, in shutdown sys.exit(1) Q13:在 HUE 中打開 HIVE 查

25、詢編輯器報(bào)錯 Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found A:#rpm -qa |grep sasl檢查是否已安裝以下庫: cyrus-sasl-lib-2.1.23-13.el6_3.1 .x86_64 cyrus-sasl-gssapi-2.1.23-13.el6_3.1 .x86_64 cyrus-sasl-devel-2.1.23-13.el6_3.1 .x86_64 cyrus-sasl-2.1.23-13.e

26、l6_3.1 .x86_64 cyrus-sasl-plai n2.1.23-13.el6_3.1 .x86_64 Q14:啟動keberos安全impala報(bào)錯 A fatal error has bee n detected by the Java Run time En vironme nt: # SIGSEGV (Oxb) at pc=0 x00007f9c*f, pid=27759, tid=*4 # JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compress

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論