Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

DKhadoop installation and configuration tutorials and common problem solutions

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Last week, I wrote two sharing articles on DKHadoop installation preparation and server operating system configuration. This is my first attempt to write a systematic sharing article. There are bound to be a lot of omissions. What we share today is an introduction to DKHadoop installation and solutions to common problems.

First of all, I would like to share with you the steps to install DKHadoop:

(1) start the installation

Step: execute the following command.

Command:

Cd / root/DKHPlantform/dkh-tomcat-7.0.56/bin/

. / startup.sh

(2) Login

After successful startup, type the primary node ip in the browser

Login default username and password:

Username:admin

Password: 123456

Follow the prompts to install

(3) installation path of components

It is recommended to use the default installation path, that is, / opt/dkh/, be careful not to put / root/, otherwise there may be problems with the installation of components such as impala.

Solutions to common problems in DKhadoop

1. When the following problems occur with the zkfc of hdfs, you can try the following methods:

1) format hadoopzk:hdfs zkfc-formatZK first

2) start zk,sbin:. / hadoop-daemon.sh start zkfc

3) set the namenode for failover: hdfs haadmin-failover nn1 nn2

two。 When the hue page cannot be opened and the following content is displayed, the hue database has not been created. You can execute this file on the main node and enter Y according to the prompt.

3. When the hue page cannot be opened and the following content is displayed, you can execute the following command to solve the problem:

Enter no./hue migrate**** after cd / opt/dkh/hue-3.12.0/build/env/bin./hue syncdb

The 4.Essql page cannot be opened. When the following content is displayed, it can be solved in the following ways

(1) the master node runs the command: source / etc/profile, and then restarts Tomcat (note that after using the shutdown command, if there are still related processes, you need to manually kill)

It is suitable for situations where environment variables do not take effect, for example, the version of Java recognizes 1.7, rather than 1.8; HDFS related commands are not recognized, etc.

(2) restart Tomcat. Note that after using the shutdown command, if there are still related processes, you need to manually kill it.

Suitable for situations where multiple Tomcat processes are started.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report