Problems and solutions when installing and using VMware

Problems and solutions when installing and using VMware

The virtual machine is in use or cannot be connected to

When an error similar to the following is reported

insert image description here
insert image description here

Solution
First enter this page to obtain the location of the virtual machine

insert image description here

Delete the file with the .ick suffix, which should be the running status of the virtual machine when it was last run.

insert image description here

Then press Ctrl+Alt+Delete to open the Task Manager, type v on the keyboard to quickly find processes related to VMware, and then end these processes. Some processes cannot be closed, so you can ignore them.

insert image description here

After closing all Vmware related processes, restart the computer to enter the virtual machine

Open shared folder

Enter the virtual machine configuration page

insert image description here

Set up a local directory as a shared folder

insert image description here

Enter the virtual machine page and use super user privileges to find the shared directory by typing cd /mnt/hfgs/shared file directory

insert image description here

The local host can drag the files to be shared into the shared folder, and the virtual machine can access and obtain the shared resources in the above way.

insert image description here

The computer network connection icon on the graphical interface disappears

insert image description here

Solution
Type service NetworkManager restart to restart NetworkManager, and set it to start automatically at boot by typing chkconfig NetworkManager on.

insert image description here

Ping shows that the network is unreachable

The following situation occurs: When pinging other websites fails

insert image description here

The reason is that the gateway settings are wrong and the virtual machine cannot access the Internet
Solution
Move the mouse to the computer icon and right-click to edit the connection

insert image description here

Select the connection settings you just used and click to enter the edit

insert image description here

Click to enter the configuration gateway information, you can view the gateway address through the network adapter, usually the first three numbers are the same as the IP address, the last number is 2, for example 192.168.47.2, finally click Apply

insert image description here

Go back to the command line window, enter service network restart to restart the network, and then you can ping it.

insert image description here

How to View Hadoop Log Files

1. The log files of Hadoop installed by yum are located in /var/log/hadoop-hdfs/, /var/log/hadoop-yarn/, and /var/log/hadoop-mapreduce/ by default. View different logs according to the node type, and pay attention to the log files of the corresponding time.
2. Hadoop is installed by decompressing tgz locally. The log files are located in the logs directory under the Hadoop decompression directory. For example, if the decompression location is /home/hadoop-1.0.0, the log files are located in /home/hadoop-1.0.0/logs/

Distributed namenode startup fails, and the log reports the error java.io.IOException: Failed to load FSImage file

insert image description here

Solution
The first method is to clear the fsimage file stored in the namenode. After reformatting the namenode, you can start the namenode. This method will clear the namenode storage information.
The specific commands are as follows

rm -rvf /data/dn/* /data/nn/* /data/yarn/local/* /data/yarn/logs/*
hadoop namenode -format
service hadoop-hdfs-namenode start

The second method is to back up the fsimage file stored by namenode, the datanode storage file and the yarn storage file information in advance, then clear the fsimage file stored by namenode and format the namenode, and finally copy the backup information back to the directory of namenode, datanode and yarn files. This method is theoretically feasible but has not been tried yet and is awaiting update. . .

This is the end of this article about the problems and solutions when installing and using VMware. For more information about VMware installation and usage issues, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • A complete tutorial on installing Ubuntu 20.04 using VMware virtual machine
  • Detailed steps to install a virtual machine and use CentOS 8 using VMware 15
  • Detailed explanation of the practice of installing the Permeate range system using VMware
  • Install Ubuntu using VMware 10 14 steps with pictures and text
  • How to use Open VM Tools instead of VMware Tools when installing Fedora 23/24 and other Linux systems in VMware Workstation/Fusion

<<:  js to achieve simple accordion effect

>>:  How to get the height of MySQL innodb B+tree

Recommend

How to use Docker Swarm to build WordPress

cause I once set up WordPress on Vultr, but for w...

Detailed explanation of the mechanism and implementation of accept lock in Nginx

Preface nginx uses a multi-process model. When a ...

How to use glog log library in Linux environment

Generate Linux library The Linux version uses cen...

Introduction to the three essential logs for MySQL database interviews

Table of contents 1. redo log (transaction log of...

Example of writing mobile H5 to invoke APP (IOS, Android)

iOS 1. URL scheme This solution is basically for ...

Various ways to modify the background image color using CSS3

CSS3 can change the color of pictures. From now o...

Tutorial on installing PHP on centos via yum

First, let me introduce how to install PHP on Cen...

5 Simple XHTML Web Forms for Web Design

Simple XHTML web form in web design 5. Technique ...

Solve the pitfall of storing boolean type values ​​in localstorage

LocalStorage stores Boolean values Today, when I ...

Mysql slow query optimization method and optimization principle

1. For comparison of date size, the date format p...

Web Design Help: Web Font Size Data Reference

<br />The content is reproduced from the Int...

Several ways to update batches in MySQL

Typically, we use the following SQL statement to ...

How to install Tomcat-8.5.39 on centos7.6

Here is how to install Tomcat-8.5.39 on centos7.6...

HTML Basics: HTML Content Details

Let's start with the body: When viewing a web ...

React+ts realizes secondary linkage effect

This article shares the specific code of React+ts...