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

Detailed explanation of the use of MySQL group links

Grouping and linking in MYSQL are the two most co...

Detailed explanation of the difference between run/cmd/entrypoint in docker

In Dockerfile, run, cmd, and entrypoint can all b...

Restart all stopped Docker containers with one command

Restart all stopped Docker containers with one co...

SVG+CSS3 to achieve a dynamic wave effect

A vector wave <svg viewBox="0 0 560 20&qu...

Hbase installation and configuration tutorial under Linux

Table of contents Hbase installation and configur...

Solution to forgetting the MYSQL database password under MAC

Quick solution for forgetting MYSQL database pass...

What are the benefits of semantic HTML structure?

one: 1. Semantic tags are just HTML, there is no ...

Four solutions for using setTimeout in JS for loop

Table of contents Overview Solution 1: Closures S...

Introduction to new features of ECMAscript

Table of contents 1. Default values ​​for functio...

JDBC-idea import mysql to connect java jar package (mac)

Preface 1. This article uses MySQL 8.0 version Co...

How to insert 10 million records into a MySQL database table in 88 seconds

The database I use is MySQL database version 5.7 ...

Docker+nextcloud to build a personal cloud storage system

1. Docker installation and startup yum install ep...

How to add Nginx proxy configuration to allow only internal IP access

location / { index index.jsp; proxy_next_upstream...

Completely delete MySQL steps

Table of contents 1. Stop MySQL Server first 2. U...

Summary of Docker Consul container service updates and issues found

Table of contents 1. Container service update and...