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

What are the detailed tutorials of DKhadoop installation and configuration and solutions to common problems

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

Share

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

This article shows you DKhadoop installation and configuration detailed tutorials and common problem solutions, the content is concise and easy to understand, absolutely can make your eyes bright, through the detailed introduction of this article, I hope you can get something.

Detailed tutorials of DKhadoop installation and configuration and solutions to common problems

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:

# cd / opt/dkh/hue-3.12.0/build/env/bin

#. / enter no after hue syncdb

#. / hue migrate

4. The 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.

The above is the detailed tutorials of DKhadoop installation and configuration and what are the solutions to common problems? have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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