Project scene:
HadoopStart NameNodeReport Error: ERROR: Could not set priority of namenode process
=
Description of the question:
Hadoop Start NameNode errror: ERROR: Cannot set priority of namenode process 2639
[ atguigu@localhost333 ↓ logs]$ tail -100 [UNK]hadoop-localhost -namenode-hadoop333.log
😉
@Override public void run() { bytes = mmInStream.read(buffer); mHandler.obtainMessage(READ_DATA, bytes, -1, buffer).sendToTarget(); }
Reasons analysis:
Date of First Visit: hadoop-atguigu-namenode-hadoop103.log
order as follows:
[localhost @hadoop333 logs]$ tail -100 ˚hadoop-atguigu-namenode-hadoop103.log log log log
2021-09-17 16:41:25,656 INFO org.apache.localhost.util.ExitUtil:
Exiting with status 1: org.apache.localhost.hdfs.server.common.InconsistentFSStateException:
Directory /opt/ha/hadoop-3.1.3/data/name is in an inconsistent state:
storage directory does not exist or is not accessible.
2021-09-17 16:41:25,663 INFO org.apache.hadoop.hdfs.server.namenode.NameNode:
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at hadoop333/192.168.1.103
Solution:
Try to restart centos7, and then re delete the data and logs in Hadoop and the files in TMP in the system root directory to re initialize Hadoop. The problem is solved.
rm -rf /opt/ha/hadoop-3.1.3/data /opt/ha/hadoop-3.1.3/logs
sudo rm -rf /tmp/*
hdfs namenode -format
Read More:
- [Solved] Hadoop Error: ERROR: Cannot set priority of namenode process
- Hadoop ERROR: Attempting to operate on hdfs namenode as root ERROR: but there is no HDFS_NAMENODE_US
- [Solved] ERROR: Attempting to operate on hdfs namenode as root ERROR: but there is no HDFS_NAMENODE_USER defi
- How to Solve Hmaster hangs up issue due to namenode switching in Ha mode
- wind System Black Windows Start hadoop Error [How to Solve]
- [Solved] Hadoop Error: Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
- How to Solve hadoop3.x.x sh start-dfs.sh Startup Error
- [Solved] habse Start Error: Error: Could not find or load main class org.apache.hadoop.hbase.util.GetJavaProperty
- How to Solve Hadoop Missing Hadoop.dll and winutils.exe file error
- Hadoop Error: hdfs.DFSClient: Exception in createBlockOutputStream
- [Solved] RuntimeError: An attempt has been made to start a new process before the current process…
- [Solved] Hadoop error java.lang.nosuchmethoderror
- [Solved] Flume Error: java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
- When installing zookeeper, you can view the process start, but the status display error: Error contacting service. It is probably not running
- HTTP Error 500.30 – ANCM In-Process Start Failure
- [Solved] HBase Error: ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] Hadoop Mapreduce Error: GC overhead limit exceeded
- [Solved] Flink Hadoop is not in the classpath/dependencies
- [Solved] IDEA Start Project Error: Abnormal build process termination:Could not create the Java Virtual Machine.
- [Solved] eclipse Error: org.apache.hadoop.hbase.NotServingRegionException: