CDC(Change Data Capture) is made up of two components, the CDD and the CDT. CDD is stand for Change Data Detection and CDT is stand for Change Data Transfer.
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /data/hadoop/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible. #11
2022-11-30 08:46:39,164 WARN common.Storage: Storage directory /data/hadoop/dfs/name does not exist
2022-11-30 08:46:39,167 WARN namenode.FSNamesystem: Encountered exception loading fsimage
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /data/hadoop/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible.
at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverStorageDirs(FSImage.java:392)
at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:243)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1201)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:779)
at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:681)
at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:768)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:1020)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:995)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1769)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1834)
2022-11-30 08:46:39,177 INFO handler.ContextHandler: Stopped o.e.j.w.WebAppContext@372ea2bc{hdfs,/,null,STOPPED}{file:/opt/hadoop/share/hadoop/hdfs/webapps/hdfs}
2022-11-30 08:46:39,182 INFO server.AbstractConnector: Stopped ServerConnector@29df4d43{HTTP/1.1, (http/1.1)}{vm117:9870}
2022-11-30 08:46:39,182 INFO server.session: node0 Stopped scavenging
2022-11-30 08:46:39,184 INFO handler.ContextHandler: Stopped o.e.j.s.ServletContextHandler@7bb6ab3a{static,/static,file:///opt/hadoop/share/hadoop/hdfs/webapps/static/,STOPPED}
2022-11-30 08:46:39,184 INFO handler.ContextHandler: Stopped o.e.j.s.ServletContextHandler@5733f295{logs,/logs,file:///opt/hadoop/logs/,STOPPED}
2022-11-30 08:46:39,186 INFO impl.MetricsSystemImpl: Stopping NameNode metrics system...
2022-11-30 08:46:39,187 INFO impl.MetricsSystemImpl: NameNode metrics system stopped.
2022-11-30 08:46:39,188 INFO impl.MetricsSystemImpl: NameNode metrics system shutdown complete.
2022-11-30 08:46:39,188 ERROR namenode.NameNode: Failed to start namenode.
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /data/hadoop/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible.
at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverStorageDirs(FSImage.java:392)
at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:243)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1201)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:779)
at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:681)
at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:768)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:1020)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:995)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1769)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1834)
2022-11-30 08:46:39,192 INFO util.ExitUtil: Exiting with status 1: org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /data/hadoop/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible.
2022-11-30 08:46:39,199 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at vm117/192.168.56.117
************************************************************/