2024-03-05 12:15:39,045 INFO mapreduce.MiniHadoopClusterManager: Updated 0 configuration settings from command line. 2024-03-05 12:15:39,146 INFO hdfs.MiniDFSCluster: starting cluster: numNameNodes=1, numDataNodes=1 2024-03-05 12:15:39,687 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2024-03-05 12:15:39,789 INFO namenode.NameNode: Formatting using clusterid: testClusterID 2024-03-05 12:15:39,814 INFO namenode.FSEditLog: Edit logging is async:true 2024-03-05 12:15:39,881 INFO namenode.FSNamesystem: KeyProvider: null 2024-03-05 12:15:39,883 INFO namenode.FSNamesystem: fsLock is fair: true 2024-03-05 12:15:39,884 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2024-03-05 12:15:39,920 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2024-03-05 12:15:39,920 INFO namenode.FSNamesystem: supergroup = supergroup 2024-03-05 12:15:39,920 INFO namenode.FSNamesystem: isPermissionEnabled = true 2024-03-05 12:15:39,920 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2024-03-05 12:15:39,921 INFO namenode.FSNamesystem: HA Enabled: false 2024-03-05 12:15:39,980 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 12:15:39,984 INFO Configuration.deprecation: hadoop.configured.node.mapping is deprecated. Instead, use net.topology.configured.node.mapping 2024-03-05 12:15:39,984 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2024-03-05 12:15:39,984 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2024-03-05 12:15:39,989 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2024-03-05 12:15:39,989 INFO blockmanagement.BlockManager: The block deletion will start around 2024 Mar 05 12:15:39 2024-03-05 12:15:39,991 INFO util.GSet: Computing capacity for map BlocksMap 2024-03-05 12:15:39,991 INFO util.GSet: VM type = 64-bit 2024-03-05 12:15:39,992 INFO util.GSet: 2.0% max memory 7.6 GB = 156.4 MB 2024-03-05 12:15:39,993 INFO util.GSet: capacity = 2^24 = 16777216 entries 2024-03-05 12:15:40,024 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2024-03-05 12:15:40,024 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2024-03-05 12:15:40,030 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2024-03-05 12:15:40,031 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2024-03-05 12:15:40,031 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2024-03-05 12:15:40,031 INFO blockmanagement.BlockManager: defaultReplication = 1 2024-03-05 12:15:40,031 INFO blockmanagement.BlockManager: maxReplication = 512 2024-03-05 12:15:40,032 INFO blockmanagement.BlockManager: minReplication = 1 2024-03-05 12:15:40,032 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2024-03-05 12:15:40,032 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2024-03-05 12:15:40,032 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2024-03-05 12:15:40,032 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2024-03-05 12:15:40,055 INFO namenode.FSDirectory: GLOBAL serial map: bits=29 maxEntries=536870911 2024-03-05 12:15:40,055 INFO namenode.FSDirectory: USER serial map: bits=24 maxEntries=16777215 2024-03-05 12:15:40,056 INFO namenode.FSDirectory: GROUP serial map: bits=24 maxEntries=16777215 2024-03-05 12:15:40,056 INFO namenode.FSDirectory: XATTR serial map: bits=24 maxEntries=16777215 2024-03-05 12:15:40,068 INFO util.GSet: Computing capacity for map INodeMap 2024-03-05 12:15:40,068 INFO util.GSet: VM type = 64-bit 2024-03-05 12:15:40,068 INFO util.GSet: 1.0% max memory 7.6 GB = 78.2 MB 2024-03-05 12:15:40,068 INFO util.GSet: capacity = 2^23 = 8388608 entries 2024-03-05 12:15:40,080 INFO namenode.FSDirectory: ACLs enabled? true 2024-03-05 12:15:40,080 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2024-03-05 12:15:40,080 INFO namenode.FSDirectory: XAttrs enabled? true 2024-03-05 12:15:40,081 INFO namenode.NameNode: Caching file names occurring more than 10 times 2024-03-05 12:15:40,086 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2024-03-05 12:15:40,088 INFO snapshot.SnapshotManager: SkipList is disabled 2024-03-05 12:15:40,098 INFO util.GSet: Computing capacity for map cachedBlocks 2024-03-05 12:15:40,098 INFO util.GSet: VM type = 64-bit 2024-03-05 12:15:40,098 INFO util.GSet: 0.25% max memory 7.6 GB = 19.5 MB 2024-03-05 12:15:40,098 INFO util.GSet: capacity = 2^21 = 2097152 entries 2024-03-05 12:15:40,111 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2024-03-05 12:15:40,111 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2024-03-05 12:15:40,111 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2024-03-05 12:15:40,115 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2024-03-05 12:15:40,115 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2024-03-05 12:15:40,117 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2024-03-05 12:15:40,117 INFO util.GSet: VM type = 64-bit 2024-03-05 12:15:40,117 INFO util.GSet: 0.029999999329447746% max memory 7.6 GB = 2.3 MB 2024-03-05 12:15:40,117 INFO util.GSet: capacity = 2^18 = 262144 entries 2024-03-05 12:15:40,149 INFO namenode.FSImage: Allocated new BlockPoolId: BP-611741677-172.17.0.2-1709651740135 2024-03-05 12:15:40,174 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-1 has been successfully formatted. 2024-03-05 12:15:40,177 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-2 has been successfully formatted. 2024-03-05 12:15:40,236 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 using no compression 2024-03-05 12:15:40,236 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 using no compression 2024-03-05 12:15:40,421 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 of size 402 bytes saved in 0 seconds . 2024-03-05 12:15:40,421 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 of size 402 bytes saved in 0 seconds . 2024-03-05 12:15:40,442 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0 2024-03-05 12:15:40,481 INFO namenode.FSNamesystem: Stopping services started for active state 2024-03-05 12:15:40,481 INFO namenode.FSNamesystem: Stopping services started for standby state 2024-03-05 12:15:40,483 INFO namenode.NameNode: createNameNode [] 2024-03-05 12:15:40,549 INFO impl.MetricsConfig: Loaded properties from hadoop-metrics2.properties 2024-03-05 12:15:40,678 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot period at 10 second(s). 2024-03-05 12:15:40,678 INFO impl.MetricsSystemImpl: NameNode metrics system started 2024-03-05 12:15:40,735 INFO namenode.NameNodeUtils: fs.defaultFS is hdfs://127.0.0.1:12222 2024-03-05 12:15:40,735 INFO namenode.NameNode: Clients should use 127.0.0.1:12222 to access this namenode/service. 2024-03-05 12:15:40,789 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2024-03-05 12:15:40,802 INFO hdfs.DFSUtil: Filter initializers set : org.apache.hadoop.http.lib.StaticUserWebFilter,org.apache.hadoop.hdfs.web.AuthFilterInitializer 2024-03-05 12:15:40,807 INFO hdfs.DFSUtil: Starting Web-server for hdfs at: http://localhost:0 2024-03-05 12:15:40,821 INFO util.log: Logging initialized @2711ms to org.eclipse.jetty.util.log.Slf4jLog 2024-03-05 12:15:40,930 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-03-05 12:15:40,935 INFO http.HttpRequestLog: Http request log for http.requests.namenode is not defined 2024-03-05 12:15:40,942 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2024-03-05 12:15:40,944 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context hdfs 2024-03-05 12:15:40,944 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2024-03-05 12:15:40,944 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2024-03-05 12:15:40,947 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context hdfs 2024-03-05 12:15:40,947 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context static 2024-03-05 12:15:40,947 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context logs 2024-03-05 12:15:40,979 INFO http.HttpServer2: addJerseyResourcePackage: packageName=org.apache.hadoop.hdfs.server.namenode.web.resources;org.apache.hadoop.hdfs.web.resources, pathSpec=/webhdfs/v1/* 2024-03-05 12:15:40,989 INFO http.HttpServer2: Jetty bound to port 41811 2024-03-05 12:15:40,991 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.22+7-post-Ubuntu-0ubuntu220.04.1 2024-03-05 12:15:41,030 INFO server.session: DefaultSessionIdManager workerName=node0 2024-03-05 12:15:41,030 INFO server.session: No SessionScavenger set, using defaults 2024-03-05 12:15:41,032 INFO server.session: node0 Scavenging every 600000ms 2024-03-05 12:15:41,055 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-03-05 12:15:41,058 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@677b8e13{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2024-03-05 12:15:41,059 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@1542af63{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2024-03-05 12:15:41,168 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@2881ad47{hdfs,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs} 2024-03-05 12:15:41,182 INFO server.AbstractConnector: Started ServerConnector@5e9456ae{HTTP/1.1, (http/1.1)}{localhost:41811} 2024-03-05 12:15:41,182 INFO server.Server: Started @3072ms 2024-03-05 12:15:41,189 INFO namenode.FSEditLog: Edit logging is async:true 2024-03-05 12:15:41,210 INFO namenode.FSNamesystem: KeyProvider: null 2024-03-05 12:15:41,210 INFO namenode.FSNamesystem: fsLock is fair: true 2024-03-05 12:15:41,210 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2024-03-05 12:15:41,210 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2024-03-05 12:15:41,210 INFO namenode.FSNamesystem: supergroup = supergroup 2024-03-05 12:15:41,210 INFO namenode.FSNamesystem: isPermissionEnabled = true 2024-03-05 12:15:41,210 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2024-03-05 12:15:41,211 INFO namenode.FSNamesystem: HA Enabled: false 2024-03-05 12:15:41,211 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 12:15:41,211 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2024-03-05 12:15:41,211 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2024-03-05 12:15:41,211 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2024-03-05 12:15:41,212 INFO blockmanagement.BlockManager: The block deletion will start around 2024 Mar 05 12:15:41 2024-03-05 12:15:41,212 INFO util.GSet: Computing capacity for map BlocksMap 2024-03-05 12:15:41,212 INFO util.GSet: VM type = 64-bit 2024-03-05 12:15:41,212 INFO util.GSet: 2.0% max memory 7.6 GB = 156.4 MB 2024-03-05 12:15:41,212 INFO util.GSet: capacity = 2^24 = 16777216 entries 2024-03-05 12:15:41,240 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2024-03-05 12:15:41,240 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2024-03-05 12:15:41,240 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2024-03-05 12:15:41,240 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2024-03-05 12:15:41,240 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2024-03-05 12:15:41,240 INFO blockmanagement.BlockManager: defaultReplication = 1 2024-03-05 12:15:41,240 INFO blockmanagement.BlockManager: maxReplication = 512 2024-03-05 12:15:41,241 INFO blockmanagement.BlockManager: minReplication = 1 2024-03-05 12:15:41,241 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2024-03-05 12:15:41,241 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2024-03-05 12:15:41,241 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2024-03-05 12:15:41,241 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2024-03-05 12:15:41,241 INFO util.GSet: Computing capacity for map INodeMap 2024-03-05 12:15:41,241 INFO util.GSet: VM type = 64-bit 2024-03-05 12:15:41,241 INFO util.GSet: 1.0% max memory 7.6 GB = 78.2 MB 2024-03-05 12:15:41,241 INFO util.GSet: capacity = 2^23 = 8388608 entries 2024-03-05 12:15:41,271 INFO namenode.FSDirectory: ACLs enabled? true 2024-03-05 12:15:41,271 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2024-03-05 12:15:41,271 INFO namenode.FSDirectory: XAttrs enabled? true 2024-03-05 12:15:41,271 INFO namenode.NameNode: Caching file names occurring more than 10 times 2024-03-05 12:15:41,271 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2024-03-05 12:15:41,271 INFO snapshot.SnapshotManager: SkipList is disabled 2024-03-05 12:15:41,271 INFO util.GSet: Computing capacity for map cachedBlocks 2024-03-05 12:15:41,271 INFO util.GSet: VM type = 64-bit 2024-03-05 12:15:41,271 INFO util.GSet: 0.25% max memory 7.6 GB = 19.5 MB 2024-03-05 12:15:41,271 INFO util.GSet: capacity = 2^21 = 2097152 entries 2024-03-05 12:15:41,275 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2024-03-05 12:15:41,275 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2024-03-05 12:15:41,276 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2024-03-05 12:15:41,276 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2024-03-05 12:15:41,281 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2024-03-05 12:15:41,281 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2024-03-05 12:15:41,281 INFO util.GSet: VM type = 64-bit 2024-03-05 12:15:41,282 INFO util.GSet: 0.029999999329447746% max memory 7.6 GB = 2.3 MB 2024-03-05 12:15:41,283 INFO util.GSet: capacity = 2^18 = 262144 entries 2024-03-05 12:15:41,298 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-1/in_use.lock acquired by nodename 416@e8510fa11437 2024-03-05 12:15:41,304 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-2/in_use.lock acquired by nodename 416@e8510fa11437 2024-03-05 12:15:41,310 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-1/current 2024-03-05 12:15:41,310 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-2/current 2024-03-05 12:15:41,310 INFO namenode.FSImage: No edit log streams selected. 2024-03-05 12:15:41,310 INFO namenode.FSImage: Planning to load image: FSImageFile(file=/hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000, cpktTxId=0000000000000000000) 2024-03-05 12:15:41,343 INFO namenode.FSImageFormatPBINode: Loading 1 INodes. 2024-03-05 12:15:41,344 INFO namenode.FSImageFormatPBINode: Successfully loaded 1 inodes 2024-03-05 12:15:41,350 INFO namenode.FSImageFormatPBINode: Completed update blocks map and name cache, total waiting duration 0ms. 2024-03-05 12:15:41,353 INFO namenode.FSImageFormatProtobuf: Loaded FSImage in 0 seconds. 2024-03-05 12:15:41,353 INFO namenode.FSImage: Loaded image for txid 0 from /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000 2024-03-05 12:15:41,358 INFO namenode.FSNamesystem: Need to save fs image? false (staleImage=false, haEnabled=false, isRollingUpgrade=false) 2024-03-05 12:15:41,358 INFO namenode.FSEditLog: Starting log segment at 1 2024-03-05 12:15:41,383 INFO namenode.NameCache: initialized with 0 entries 0 lookups 2024-03-05 12:15:41,384 INFO namenode.FSNamesystem: Finished loading FSImage in 95 msecs 2024-03-05 12:15:41,556 INFO namenode.NameNode: RPC server is binding to localhost:12222 2024-03-05 12:15:41,556 INFO namenode.NameNode: Enable NameNode state context:false 2024-03-05 12:15:41,565 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2024-03-05 12:15:41,577 INFO ipc.Server: Starting Socket Reader #1 for port 12222 2024-03-05 12:15:41,789 INFO namenode.FSNamesystem: Registered FSNamesystemState, ReplicatedBlocksState and ECBlockGroupsState MBeans. 2024-03-05 12:15:41,814 INFO namenode.LeaseManager: Number of blocks under construction: 0 2024-03-05 12:15:41,830 INFO blockmanagement.DatanodeAdminDefaultMonitor: Initialized the Default Decommission and Maintenance monitor 2024-03-05 12:15:41,847 INFO blockmanagement.BlockManager: initializing replication queues 2024-03-05 12:15:41,847 INFO hdfs.StateChange: STATE* Leaving safe mode after 0 secs 2024-03-05 12:15:41,847 INFO hdfs.StateChange: STATE* Network topology has 0 racks and 0 datanodes 2024-03-05 12:15:41,848 INFO hdfs.StateChange: STATE* UnderReplicatedBlocks has 0 blocks 2024-03-05 12:15:41,865 INFO blockmanagement.BlockManager: Total number of blocks = 0 2024-03-05 12:15:41,871 INFO blockmanagement.BlockManager: Number of invalid blocks = 0 2024-03-05 12:15:41,871 INFO blockmanagement.BlockManager: Number of under-replicated blocks = 0 2024-03-05 12:15:41,871 INFO blockmanagement.BlockManager: Number of over-replicated blocks = 0 2024-03-05 12:15:41,871 INFO blockmanagement.BlockManager: Number of blocks being written = 0 2024-03-05 12:15:41,871 INFO hdfs.StateChange: STATE* Replication Queue initialization scan for invalid, over- and under-replicated blocks completed in 24 msec 2024-03-05 12:15:41,926 INFO ipc.Server: IPC Server Responder: starting 2024-03-05 12:15:41,926 INFO ipc.Server: IPC Server listener on 12222: starting 2024-03-05 12:15:41,933 INFO namenode.NameNode: NameNode RPC up at: localhost/127.0.0.1:12222 2024-03-05 12:15:41,938 INFO namenode.FSNamesystem: Starting services required for active state 2024-03-05 12:15:41,938 INFO namenode.FSDirectory: Initializing quota with 12 thread(s) 2024-03-05 12:15:41,949 INFO namenode.FSDirectory: Quota initialization completed in 11 milliseconds name space=1 storage space=0 storage types=RAM_DISK=0, SSD=0, DISK=0, ARCHIVE=0, PROVIDED=0 2024-03-05 12:15:41,961 INFO blockmanagement.CacheReplicationMonitor: Starting CacheReplicationMonitor with interval 30000 milliseconds 2024-03-05 12:15:41,971 INFO hdfs.MiniDFSCluster: Starting DataNode 0 with dfs.datanode.data.dir: [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1,[DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 12:15:42,031 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 12:15:42,047 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 12:15:42,066 INFO impl.MetricsSystemImpl: DataNode metrics system started (again) 2024-03-05 12:15:42,073 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 12:15:42,078 INFO datanode.BlockScanner: Initialized block scanner with targetBytesPerSec 1048576 2024-03-05 12:15:42,083 INFO datanode.DataNode: Configured hostname is 127.0.0.1 2024-03-05 12:15:42,084 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 12:15:42,089 INFO datanode.DataNode: Starting DataNode with maxLockedMemory = 0 2024-03-05 12:15:42,095 INFO datanode.DataNode: Opened streaming server at /127.0.0.1:38251 2024-03-05 12:15:42,098 INFO datanode.DataNode: Balancing bandwidth is 104857600 bytes/s 2024-03-05 12:15:42,098 INFO datanode.DataNode: Number threads for balancing is 100 2024-03-05 12:15:42,109 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-03-05 12:15:42,110 INFO http.HttpRequestLog: Http request log for http.requests.datanode is not defined 2024-03-05 12:15:42,113 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2024-03-05 12:15:42,115 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context datanode 2024-03-05 12:15:42,115 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2024-03-05 12:15:42,115 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2024-03-05 12:15:42,119 INFO http.HttpServer2: Jetty bound to port 33167 2024-03-05 12:15:42,119 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.22+7-post-Ubuntu-0ubuntu220.04.1 2024-03-05 12:15:42,143 INFO server.session: DefaultSessionIdManager workerName=node0 2024-03-05 12:15:42,143 INFO server.session: No SessionScavenger set, using defaults 2024-03-05 12:15:42,143 INFO server.session: node0 Scavenging every 600000ms 2024-03-05 12:15:42,144 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@756aadfc{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2024-03-05 12:15:42,145 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@40729f01{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2024-03-05 12:15:42,160 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@497b560e{datanode,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode} 2024-03-05 12:15:42,161 INFO server.AbstractConnector: Started ServerConnector@74f827ad{HTTP/1.1, (http/1.1)}{localhost:33167} 2024-03-05 12:15:42,161 INFO server.Server: Started @4051ms 2024-03-05 12:15:42,285 WARN web.DatanodeHttpServer: Got null for restCsrfPreventionFilter - will not do any filtering. 2024-03-05 12:15:42,409 INFO web.DatanodeHttpServer: Listening HTTP traffic on /127.0.0.1:34149 2024-03-05 12:15:42,410 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2024-03-05 12:15:42,411 INFO datanode.DataNode: dnUserName = clickhouse 2024-03-05 12:15:42,411 INFO datanode.DataNode: supergroup = supergroup 2024-03-05 12:15:42,428 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2024-03-05 12:15:42,429 INFO ipc.Server: Starting Socket Reader #1 for port 0 2024-03-05 12:15:42,439 INFO datanode.DataNode: Opened IPC server at /127.0.0.1:43573 2024-03-05 12:15:42,473 INFO datanode.DataNode: Refresh request received for nameservices: null 2024-03-05 12:15:42,474 INFO datanode.DataNode: Starting BPOfferServices for nameservices: 2024-03-05 12:15:42,485 INFO datanode.DataNode: Block pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 starting to offer service 2024-03-05 12:15:42,491 INFO ipc.Server: IPC Server Responder: starting 2024-03-05 12:15:42,491 INFO ipc.Server: IPC Server listener on 0: starting 2024-03-05 12:15:42,743 INFO datanode.DataNode: Acknowledging ACTIVE Namenode during handshakeBlock pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 2024-03-05 12:15:42,746 INFO common.Storage: Using 2 threads to upgrade data directories (dfs.datanode.parallel.volumes.load.threads.num=2, dataDirs=2) 2024-03-05 12:15:42,749 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data1/in_use.lock acquired by nodename 416@e8510fa11437 2024-03-05 12:15:42,750 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 is not formatted for namespace 118878884. Formatting... 2024-03-05 12:15:42,751 INFO common.Storage: Generated new storageID DS-373fc62c-9d06-4ff6-8e4d-e3c137bfc337 for directory /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 12:15:42,765 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data2/in_use.lock acquired by nodename 416@e8510fa11437 2024-03-05 12:15:42,765 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 is not formatted for namespace 118878884. Formatting... 2024-03-05 12:15:42,765 INFO common.Storage: Generated new storageID DS-21e3fea8-9d99-45d6-93f9-31764b7754d4 for directory /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 12:15:42,793 INFO common.Storage: Analyzing storage directories for bpid BP-611741677-172.17.0.2-1709651740135 2024-03-05 12:15:42,793 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-611741677-172.17.0.2-1709651740135 2024-03-05 12:15:42,793 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 and block pool id BP-611741677-172.17.0.2-1709651740135 is not formatted. Formatting ... 2024-03-05 12:15:42,794 INFO common.Storage: Formatting block pool BP-611741677-172.17.0.2-1709651740135 directory /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-611741677-172.17.0.2-1709651740135/current 2024-03-05 12:15:42,822 INFO common.Storage: Analyzing storage directories for bpid BP-611741677-172.17.0.2-1709651740135 2024-03-05 12:15:42,822 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-611741677-172.17.0.2-1709651740135 2024-03-05 12:15:42,822 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 and block pool id BP-611741677-172.17.0.2-1709651740135 is not formatted. Formatting ... 2024-03-05 12:15:42,822 INFO common.Storage: Formatting block pool BP-611741677-172.17.0.2-1709651740135 directory /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-611741677-172.17.0.2-1709651740135/current 2024-03-05 12:15:42,826 INFO datanode.DataNode: Setting up storage: nsid=118878884;bpid=BP-611741677-172.17.0.2-1709651740135;lv=-57;nsInfo=lv=-66;cid=testClusterID;nsid=118878884;c=1709651740135;bpid=BP-611741677-172.17.0.2-1709651740135;dnuuid=null 2024-03-05 12:15:42,829 INFO datanode.DataNode: Generated and persisted new Datanode UUID b15fda8e-d572-4ea3-9a8e-76f392a6c904 2024-03-05 12:15:42,843 INFO impl.FsDatasetImpl: The datanode lock is a read write lock 2024-03-05 12:15:42,951 INFO impl.FsDatasetImpl: Added new volume: DS-373fc62c-9d06-4ff6-8e4d-e3c137bfc337 2024-03-05 12:15:42,955 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1, StorageType: DISK 2024-03-05 12:15:42,964 INFO impl.FsDatasetImpl: Added new volume: DS-21e3fea8-9d99-45d6-93f9-31764b7754d4 2024-03-05 12:15:42,964 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2, StorageType: DISK 2024-03-05 12:15:42,978 INFO impl.MemoryMappableBlockLoader: Initializing cache loader: MemoryMappableBlockLoader. 2024-03-05 12:15:42,985 INFO impl.FsDatasetImpl: Registered FSDatasetState MBean 2024-03-05 12:15:42,994 INFO impl.FsDatasetImpl: Adding block pool BP-611741677-172.17.0.2-1709651740135 2024-03-05 12:15:42,995 INFO impl.FsDatasetImpl: Scanning block pool BP-611741677-172.17.0.2-1709651740135 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2024-03-05 12:15:42,996 INFO impl.FsDatasetImpl: Scanning block pool BP-611741677-172.17.0.2-1709651740135 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2024-03-05 12:15:43,058 INFO hdfs.MiniDFSCluster: dnInfo.length != numDataNodes 2024-03-05 12:15:43,058 INFO hdfs.MiniDFSCluster: Waiting for cluster to become active 2024-03-05 12:15:43,059 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-611741677-172.17.0.2-1709651740135 on /hadoop-3.3.1/target/test/data/dfs/data/data2: 63ms 2024-03-05 12:15:43,065 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-611741677-172.17.0.2-1709651740135 on /hadoop-3.3.1/target/test/data/dfs/data/data1: 70ms 2024-03-05 12:15:43,066 INFO impl.FsDatasetImpl: Total time to scan all replicas for block pool BP-611741677-172.17.0.2-1709651740135: 71ms 2024-03-05 12:15:43,068 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-611741677-172.17.0.2-1709651740135 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2024-03-05 12:15:43,069 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-611741677-172.17.0.2-1709651740135/current/replicas doesn't exist 2024-03-05 12:15:43,069 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-611741677-172.17.0.2-1709651740135 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2024-03-05 12:15:43,069 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-611741677-172.17.0.2-1709651740135/current/replicas doesn't exist 2024-03-05 12:15:43,073 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-611741677-172.17.0.2-1709651740135 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1: 4ms 2024-03-05 12:15:43,073 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-611741677-172.17.0.2-1709651740135 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2: 4ms 2024-03-05 12:15:43,073 INFO impl.FsDatasetImpl: Total time to add all replicas to map for block pool BP-611741677-172.17.0.2-1709651740135: 6ms 2024-03-05 12:15:43,074 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 12:15:43,084 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 12:15:43,086 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 12:15:43,086 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 12:15:43,092 INFO datanode.VolumeScanner: Now scanning bpid BP-611741677-172.17.0.2-1709651740135 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 12:15:43,092 INFO datanode.VolumeScanner: Now scanning bpid BP-611741677-172.17.0.2-1709651740135 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 12:15:43,094 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-21e3fea8-9d99-45d6-93f9-31764b7754d4): finished scanning block pool BP-611741677-172.17.0.2-1709651740135 2024-03-05 12:15:43,094 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-373fc62c-9d06-4ff6-8e4d-e3c137bfc337): finished scanning block pool BP-611741677-172.17.0.2-1709651740135 2024-03-05 12:15:43,095 WARN datanode.DirectoryScanner: dfs.datanode.directoryscan.throttle.limit.ms.per.sec set to value above 1000 ms/sec. Assuming default value of -1 2024-03-05 12:15:43,096 INFO datanode.DirectoryScanner: Periodic Directory Tree Verification scan starting in 10007718ms with interval of 21600000ms and throttle limit of -1ms/s 2024-03-05 12:15:43,104 INFO datanode.DataNode: Block pool BP-611741677-172.17.0.2-1709651740135 (Datanode Uuid b15fda8e-d572-4ea3-9a8e-76f392a6c904) service to localhost/127.0.0.1:12222 beginning handshake with NN 2024-03-05 12:15:43,110 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-373fc62c-9d06-4ff6-8e4d-e3c137bfc337): no suitable block pools found to scan. Waiting 1814399982 ms. 2024-03-05 12:15:43,110 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-21e3fea8-9d99-45d6-93f9-31764b7754d4): no suitable block pools found to scan. Waiting 1814399982 ms. 2024-03-05 12:15:43,124 INFO hdfs.StateChange: BLOCK* registerDatanode: from DatanodeRegistration(127.0.0.1:38251, datanodeUuid=b15fda8e-d572-4ea3-9a8e-76f392a6c904, infoPort=34149, infoSecurePort=0, ipcPort=43573, storageInfo=lv=-57;cid=testClusterID;nsid=118878884;c=1709651740135) storage b15fda8e-d572-4ea3-9a8e-76f392a6c904 2024-03-05 12:15:43,126 INFO net.NetworkTopology: Adding a new node: /default-rack/127.0.0.1:38251 2024-03-05 12:15:43,126 INFO blockmanagement.BlockReportLeaseManager: Registered DN b15fda8e-d572-4ea3-9a8e-76f392a6c904 (127.0.0.1:38251). 2024-03-05 12:15:43,132 INFO datanode.DataNode: Block pool BP-611741677-172.17.0.2-1709651740135 (Datanode Uuid b15fda8e-d572-4ea3-9a8e-76f392a6c904) service to localhost/127.0.0.1:12222 successfully registered with NN 2024-03-05 12:15:43,132 INFO datanode.DataNode: For namenode localhost/127.0.0.1:12222 using BLOCKREPORT_INTERVAL of 21600000msecs CACHEREPORT_INTERVAL of 10000msecs Initial delay: 0msecs; heartBeatInterval=3000 2024-03-05 12:15:43,148 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-373fc62c-9d06-4ff6-8e4d-e3c137bfc337 for DN 127.0.0.1:38251 2024-03-05 12:15:43,149 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-21e3fea8-9d99-45d6-93f9-31764b7754d4 for DN 127.0.0.1:38251 2024-03-05 12:15:43,172 INFO hdfs.MiniDFSCluster: Cluster is active 2024-03-05 12:15:43,177 INFO mapreduce.MiniHadoopClusterManager: Started MiniDFSCluster -- namenode on port 12222 2024-03-05 12:15:43,192 INFO BlockStateChange: BLOCK* processReport 0x5d3bf0a53a53be6c: Processing first storage report for DS-373fc62c-9d06-4ff6-8e4d-e3c137bfc337 from datanode b15fda8e-d572-4ea3-9a8e-76f392a6c904 2024-03-05 12:15:43,195 INFO BlockStateChange: BLOCK* processReport 0x5d3bf0a53a53be6c: from storage DS-373fc62c-9d06-4ff6-8e4d-e3c137bfc337 node DatanodeRegistration(127.0.0.1:38251, datanodeUuid=b15fda8e-d572-4ea3-9a8e-76f392a6c904, infoPort=34149, infoSecurePort=0, ipcPort=43573, storageInfo=lv=-57;cid=testClusterID;nsid=118878884;c=1709651740135), blocks: 0, hasStaleStorage: true, processing time: 2 msecs, invalidatedBlocks: 0 2024-03-05 12:15:43,199 INFO BlockStateChange: BLOCK* processReport 0x5d3bf0a53a53be6c: Processing first storage report for DS-21e3fea8-9d99-45d6-93f9-31764b7754d4 from datanode b15fda8e-d572-4ea3-9a8e-76f392a6c904 2024-03-05 12:15:43,199 INFO BlockStateChange: BLOCK* processReport 0x5d3bf0a53a53be6c: from storage DS-21e3fea8-9d99-45d6-93f9-31764b7754d4 node DatanodeRegistration(127.0.0.1:38251, datanodeUuid=b15fda8e-d572-4ea3-9a8e-76f392a6c904, infoPort=34149, infoSecurePort=0, ipcPort=43573, storageInfo=lv=-57;cid=testClusterID;nsid=118878884;c=1709651740135), blocks: 0, hasStaleStorage: false, processing time: 0 msecs, invalidatedBlocks: 0 2024-03-05 12:15:43,219 INFO datanode.DataNode: Successfully sent block report 0x5d3bf0a53a53be6c to namenode: localhost/127.0.0.1:12222, containing 2 storage report(s), of which we sent 2. The reports had 0 total blocks and used 1 RPC(s). This took 6 msecs to generate and 46 msecs for RPC and NN processing. Got back one command: FinalizeCommand/5. 2024-03-05 12:15:43,220 INFO datanode.DataNode: Got finalize command for block pool BP-611741677-172.17.0.2-1709651740135