2023-10-06 17:37:01,011 INFO mapreduce.MiniHadoopClusterManager: Updated 0 configuration settings from command line. 2023-10-06 17:37:01,090 INFO hdfs.MiniDFSCluster: starting cluster: numNameNodes=1, numDataNodes=1 2023-10-06 17:37:01,560 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2023-10-06 17:37:01,645 INFO namenode.NameNode: Formatting using clusterid: testClusterID 2023-10-06 17:37:01,662 INFO namenode.FSEditLog: Edit logging is async:true 2023-10-06 17:37:01,717 INFO namenode.FSNamesystem: KeyProvider: null 2023-10-06 17:37:01,719 INFO namenode.FSNamesystem: fsLock is fair: true 2023-10-06 17:37:01,719 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2023-10-06 17:37:01,749 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2023-10-06 17:37:01,749 INFO namenode.FSNamesystem: supergroup = supergroup 2023-10-06 17:37:01,749 INFO namenode.FSNamesystem: isPermissionEnabled = true 2023-10-06 17:37:01,749 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2023-10-06 17:37:01,749 INFO namenode.FSNamesystem: HA Enabled: false 2023-10-06 17:37:01,792 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2023-10-06 17:37:01,798 INFO Configuration.deprecation: hadoop.configured.node.mapping is deprecated. Instead, use net.topology.configured.node.mapping 2023-10-06 17:37:01,798 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2023-10-06 17:37:01,798 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2023-10-06 17:37:01,802 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2023-10-06 17:37:01,802 INFO blockmanagement.BlockManager: The block deletion will start around 2023 Oct 06 17:37:01 2023-10-06 17:37:01,804 INFO util.GSet: Computing capacity for map BlocksMap 2023-10-06 17:37:01,804 INFO util.GSet: VM type = 64-bit 2023-10-06 17:37:01,807 INFO util.GSet: 2.0% max memory 7.6 GB = 156.4 MB 2023-10-06 17:37:01,807 INFO util.GSet: capacity = 2^24 = 16777216 entries 2023-10-06 17:37:01,839 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2023-10-06 17:37:01,839 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2023-10-06 17:37:01,844 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2023-10-06 17:37:01,844 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2023-10-06 17:37:01,844 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2023-10-06 17:37:01,845 INFO blockmanagement.BlockManager: defaultReplication = 1 2023-10-06 17:37:01,845 INFO blockmanagement.BlockManager: maxReplication = 512 2023-10-06 17:37:01,845 INFO blockmanagement.BlockManager: minReplication = 1 2023-10-06 17:37:01,845 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2023-10-06 17:37:01,845 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2023-10-06 17:37:01,845 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2023-10-06 17:37:01,845 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2023-10-06 17:37:01,865 INFO namenode.FSDirectory: GLOBAL serial map: bits=29 maxEntries=536870911 2023-10-06 17:37:01,865 INFO namenode.FSDirectory: USER serial map: bits=24 maxEntries=16777215 2023-10-06 17:37:01,865 INFO namenode.FSDirectory: GROUP serial map: bits=24 maxEntries=16777215 2023-10-06 17:37:01,865 INFO namenode.FSDirectory: XATTR serial map: bits=24 maxEntries=16777215 2023-10-06 17:37:01,876 INFO util.GSet: Computing capacity for map INodeMap 2023-10-06 17:37:01,876 INFO util.GSet: VM type = 64-bit 2023-10-06 17:37:01,876 INFO util.GSet: 1.0% max memory 7.6 GB = 78.2 MB 2023-10-06 17:37:01,876 INFO util.GSet: capacity = 2^23 = 8388608 entries 2023-10-06 17:37:01,888 INFO namenode.FSDirectory: ACLs enabled? true 2023-10-06 17:37:01,889 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2023-10-06 17:37:01,889 INFO namenode.FSDirectory: XAttrs enabled? true 2023-10-06 17:37:01,889 INFO namenode.NameNode: Caching file names occurring more than 10 times 2023-10-06 17:37:01,893 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2023-10-06 17:37:01,894 INFO snapshot.SnapshotManager: SkipList is disabled 2023-10-06 17:37:01,898 INFO util.GSet: Computing capacity for map cachedBlocks 2023-10-06 17:37:01,898 INFO util.GSet: VM type = 64-bit 2023-10-06 17:37:01,898 INFO util.GSet: 0.25% max memory 7.6 GB = 19.5 MB 2023-10-06 17:37:01,898 INFO util.GSet: capacity = 2^21 = 2097152 entries 2023-10-06 17:37:01,909 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2023-10-06 17:37:01,909 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2023-10-06 17:37:01,909 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2023-10-06 17:37:01,912 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2023-10-06 17:37:01,914 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2023-10-06 17:37:01,915 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2023-10-06 17:37:01,915 INFO util.GSet: VM type = 64-bit 2023-10-06 17:37:01,916 INFO util.GSet: 0.029999999329447746% max memory 7.6 GB = 2.3 MB 2023-10-06 17:37:01,916 INFO util.GSet: capacity = 2^18 = 262144 entries 2023-10-06 17:37:01,938 INFO namenode.FSImage: Allocated new BlockPoolId: BP-2125283754-172.17.0.2-1696595821930 2023-10-06 17:37:01,958 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-1 has been successfully formatted. 2023-10-06 17:37:01,961 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-2 has been successfully formatted. 2023-10-06 17:37:02,003 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 using no compression 2023-10-06 17:37:02,003 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 using no compression 2023-10-06 17:37:02,152 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2023-10-06 17:37:02,152 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2023-10-06 17:37:02,175 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0 2023-10-06 17:37:02,223 INFO namenode.FSNamesystem: Stopping services started for active state 2023-10-06 17:37:02,224 INFO namenode.FSNamesystem: Stopping services started for standby state 2023-10-06 17:37:02,225 INFO namenode.NameNode: createNameNode [] 2023-10-06 17:37:02,325 INFO impl.MetricsConfig: Loaded properties from hadoop-metrics2.properties 2023-10-06 17:37:02,449 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot period at 10 second(s). 2023-10-06 17:37:02,449 INFO impl.MetricsSystemImpl: NameNode metrics system started 2023-10-06 17:37:02,476 INFO namenode.NameNodeUtils: fs.defaultFS is hdfs://127.0.0.1:12222 2023-10-06 17:37:02,476 INFO namenode.NameNode: Clients should use 127.0.0.1:12222 to access this namenode/service. 2023-10-06 17:37:02,531 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2023-10-06 17:37:02,542 INFO hdfs.DFSUtil: Filter initializers set : org.apache.hadoop.http.lib.StaticUserWebFilter,org.apache.hadoop.hdfs.web.AuthFilterInitializer 2023-10-06 17:37:02,547 INFO hdfs.DFSUtil: Starting Web-server for hdfs at: http://localhost:0 2023-10-06 17:37:02,572 INFO util.log: Logging initialized @2285ms to org.eclipse.jetty.util.log.Slf4jLog 2023-10-06 17:37:02,661 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2023-10-06 17:37:02,665 INFO http.HttpRequestLog: Http request log for http.requests.namenode is not defined 2023-10-06 17:37:02,672 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2023-10-06 17:37:02,673 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context hdfs 2023-10-06 17:37:02,673 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2023-10-06 17:37:02,673 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2023-10-06 17:37:02,675 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context hdfs 2023-10-06 17:37:02,676 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context logs 2023-10-06 17:37:02,676 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context static 2023-10-06 17:37:02,723 INFO http.HttpServer2: addJerseyResourcePackage: packageName=org.apache.hadoop.hdfs.server.namenode.web.resources;org.apache.hadoop.hdfs.web.resources, pathSpec=/webhdfs/v1/* 2023-10-06 17:37:02,731 INFO http.HttpServer2: Jetty bound to port 39253 2023-10-06 17:37:02,732 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.20.1+1-post-Ubuntu-0ubuntu120.04 2023-10-06 17:37:02,761 INFO server.session: DefaultSessionIdManager workerName=node0 2023-10-06 17:37:02,762 INFO server.session: No SessionScavenger set, using defaults 2023-10-06 17:37:02,765 INFO server.session: node0 Scavenging every 660000ms 2023-10-06 17:37:02,781 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2023-10-06 17:37:02,783 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@53692008{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2023-10-06 17:37:02,784 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@ccd1bc3{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2023-10-06 17:37:02,864 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@280e8a1a{hdfs,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs} 2023-10-06 17:37:02,877 INFO server.AbstractConnector: Started ServerConnector@3c7cfcbb{HTTP/1.1, (http/1.1)}{localhost:39253} 2023-10-06 17:37:02,877 INFO server.Server: Started @2590ms 2023-10-06 17:37:02,883 INFO namenode.FSEditLog: Edit logging is async:true 2023-10-06 17:37:02,895 INFO namenode.FSNamesystem: KeyProvider: null 2023-10-06 17:37:02,895 INFO namenode.FSNamesystem: fsLock is fair: true 2023-10-06 17:37:02,896 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2023-10-06 17:37:02,896 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2023-10-06 17:37:02,896 INFO namenode.FSNamesystem: supergroup = supergroup 2023-10-06 17:37:02,896 INFO namenode.FSNamesystem: isPermissionEnabled = true 2023-10-06 17:37:02,896 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2023-10-06 17:37:02,896 INFO namenode.FSNamesystem: HA Enabled: false 2023-10-06 17:37:02,896 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2023-10-06 17:37:02,896 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2023-10-06 17:37:02,897 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2023-10-06 17:37:02,897 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2023-10-06 17:37:02,897 INFO blockmanagement.BlockManager: The block deletion will start around 2023 Oct 06 17:37:02 2023-10-06 17:37:02,897 INFO util.GSet: Computing capacity for map BlocksMap 2023-10-06 17:37:02,897 INFO util.GSet: VM type = 64-bit 2023-10-06 17:37:02,897 INFO util.GSet: 2.0% max memory 7.6 GB = 156.4 MB 2023-10-06 17:37:02,897 INFO util.GSet: capacity = 2^24 = 16777216 entries 2023-10-06 17:37:02,922 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2023-10-06 17:37:02,924 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2023-10-06 17:37:02,924 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2023-10-06 17:37:02,924 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2023-10-06 17:37:02,924 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2023-10-06 17:37:02,924 INFO blockmanagement.BlockManager: defaultReplication = 1 2023-10-06 17:37:02,924 INFO blockmanagement.BlockManager: maxReplication = 512 2023-10-06 17:37:02,925 INFO blockmanagement.BlockManager: minReplication = 1 2023-10-06 17:37:02,925 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2023-10-06 17:37:02,925 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2023-10-06 17:37:02,925 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2023-10-06 17:37:02,925 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2023-10-06 17:37:02,925 INFO util.GSet: Computing capacity for map INodeMap 2023-10-06 17:37:02,925 INFO util.GSet: VM type = 64-bit 2023-10-06 17:37:02,926 INFO util.GSet: 1.0% max memory 7.6 GB = 78.2 MB 2023-10-06 17:37:02,926 INFO util.GSet: capacity = 2^23 = 8388608 entries 2023-10-06 17:37:02,966 INFO namenode.FSDirectory: ACLs enabled? true 2023-10-06 17:37:02,967 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2023-10-06 17:37:02,967 INFO namenode.FSDirectory: XAttrs enabled? true 2023-10-06 17:37:02,967 INFO namenode.NameNode: Caching file names occurring more than 10 times 2023-10-06 17:37:02,967 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2023-10-06 17:37:02,967 INFO snapshot.SnapshotManager: SkipList is disabled 2023-10-06 17:37:02,968 INFO util.GSet: Computing capacity for map cachedBlocks 2023-10-06 17:37:02,968 INFO util.GSet: VM type = 64-bit 2023-10-06 17:37:02,968 INFO util.GSet: 0.25% max memory 7.6 GB = 19.5 MB 2023-10-06 17:37:02,968 INFO util.GSet: capacity = 2^21 = 2097152 entries 2023-10-06 17:37:02,971 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2023-10-06 17:37:02,973 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2023-10-06 17:37:02,973 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2023-10-06 17:37:02,973 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2023-10-06 17:37:02,973 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2023-10-06 17:37:02,973 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2023-10-06 17:37:02,973 INFO util.GSet: VM type = 64-bit 2023-10-06 17:37:02,974 INFO util.GSet: 0.029999999329447746% max memory 7.6 GB = 2.3 MB 2023-10-06 17:37:02,974 INFO util.GSet: capacity = 2^18 = 262144 entries 2023-10-06 17:37:02,986 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-1/in_use.lock acquired by nodename 409@531da60620c1 2023-10-06 17:37:02,989 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-2/in_use.lock acquired by nodename 409@531da60620c1 2023-10-06 17:37:02,991 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-1/current 2023-10-06 17:37:02,992 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-2/current 2023-10-06 17:37:02,992 INFO namenode.FSImage: No edit log streams selected. 2023-10-06 17:37:02,992 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) 2023-10-06 17:37:03,019 INFO namenode.FSImageFormatPBINode: Loading 1 INodes. 2023-10-06 17:37:03,019 INFO namenode.FSImageFormatPBINode: Successfully loaded 1 inodes 2023-10-06 17:37:03,024 INFO namenode.FSImageFormatPBINode: Completed update blocks map and name cache, total waiting duration 0ms. 2023-10-06 17:37:03,026 INFO namenode.FSImageFormatProtobuf: Loaded FSImage in 0 seconds. 2023-10-06 17:37:03,026 INFO namenode.FSImage: Loaded image for txid 0 from /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000 2023-10-06 17:37:03,029 INFO namenode.FSNamesystem: Need to save fs image? false (staleImage=false, haEnabled=false, isRollingUpgrade=false) 2023-10-06 17:37:03,030 INFO namenode.FSEditLog: Starting log segment at 1 2023-10-06 17:37:03,046 INFO namenode.NameCache: initialized with 0 entries 0 lookups 2023-10-06 17:37:03,046 INFO namenode.FSNamesystem: Finished loading FSImage in 69 msecs 2023-10-06 17:37:03,196 INFO namenode.NameNode: RPC server is binding to localhost:12222 2023-10-06 17:37:03,196 INFO namenode.NameNode: Enable NameNode state context:false 2023-10-06 17:37:03,203 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2023-10-06 17:37:03,213 INFO ipc.Server: Starting Socket Reader #1 for port 12222 2023-10-06 17:37:03,386 INFO namenode.FSNamesystem: Registered FSNamesystemState, ReplicatedBlocksState and ECBlockGroupsState MBeans. 2023-10-06 17:37:03,411 INFO namenode.LeaseManager: Number of blocks under construction: 0 2023-10-06 17:37:03,420 INFO blockmanagement.DatanodeAdminDefaultMonitor: Initialized the Default Decommission and Maintenance monitor 2023-10-06 17:37:03,424 INFO blockmanagement.BlockManager: initializing replication queues 2023-10-06 17:37:03,424 INFO hdfs.StateChange: STATE* Leaving safe mode after 0 secs 2023-10-06 17:37:03,424 INFO hdfs.StateChange: STATE* Network topology has 0 racks and 0 datanodes 2023-10-06 17:37:03,424 INFO hdfs.StateChange: STATE* UnderReplicatedBlocks has 0 blocks 2023-10-06 17:37:03,438 INFO blockmanagement.BlockManager: Total number of blocks = 0 2023-10-06 17:37:03,438 INFO blockmanagement.BlockManager: Number of invalid blocks = 0 2023-10-06 17:37:03,439 INFO blockmanagement.BlockManager: Number of under-replicated blocks = 0 2023-10-06 17:37:03,439 INFO blockmanagement.BlockManager: Number of over-replicated blocks = 0 2023-10-06 17:37:03,439 INFO blockmanagement.BlockManager: Number of blocks being written = 0 2023-10-06 17:37:03,439 INFO hdfs.StateChange: STATE* Replication Queue initialization scan for invalid, over- and under-replicated blocks completed in 15 msec 2023-10-06 17:37:03,458 INFO ipc.Server: IPC Server Responder: starting 2023-10-06 17:37:03,459 INFO ipc.Server: IPC Server listener on 12222: starting 2023-10-06 17:37:03,461 INFO namenode.NameNode: NameNode RPC up at: localhost/127.0.0.1:12222 2023-10-06 17:37:03,464 INFO namenode.FSNamesystem: Starting services required for active state 2023-10-06 17:37:03,464 INFO namenode.FSDirectory: Initializing quota with 12 thread(s) 2023-10-06 17:37:03,469 INFO namenode.FSDirectory: Quota initialization completed in 5 milliseconds name space=1 storage space=0 storage types=RAM_DISK=0, SSD=0, DISK=0, ARCHIVE=0, PROVIDED=0 2023-10-06 17:37:03,474 INFO blockmanagement.CacheReplicationMonitor: Starting CacheReplicationMonitor with interval 30000 milliseconds 2023-10-06 17:37:03,483 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 2023-10-06 17:37:03,532 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 2023-10-06 17:37:03,541 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2023-10-06 17:37:03,562 INFO impl.MetricsSystemImpl: DataNode metrics system started (again) 2023-10-06 17:37:03,568 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2023-10-06 17:37:03,572 INFO datanode.BlockScanner: Initialized block scanner with targetBytesPerSec 1048576 2023-10-06 17:37:03,579 INFO datanode.DataNode: Configured hostname is 127.0.0.1 2023-10-06 17:37:03,580 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2023-10-06 17:37:03,583 INFO datanode.DataNode: Starting DataNode with maxLockedMemory = 0 2023-10-06 17:37:03,588 INFO datanode.DataNode: Opened streaming server at /127.0.0.1:43071 2023-10-06 17:37:03,590 INFO datanode.DataNode: Balancing bandwidth is 104857600 bytes/s 2023-10-06 17:37:03,590 INFO datanode.DataNode: Number threads for balancing is 100 2023-10-06 17:37:03,601 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2023-10-06 17:37:03,601 INFO http.HttpRequestLog: Http request log for http.requests.datanode is not defined 2023-10-06 17:37:03,603 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2023-10-06 17:37:03,604 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context datanode 2023-10-06 17:37:03,604 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2023-10-06 17:37:03,604 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2023-10-06 17:37:03,610 INFO http.HttpServer2: Jetty bound to port 34095 2023-10-06 17:37:03,610 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.20.1+1-post-Ubuntu-0ubuntu120.04 2023-10-06 17:37:03,612 INFO server.session: DefaultSessionIdManager workerName=node0 2023-10-06 17:37:03,612 INFO server.session: No SessionScavenger set, using defaults 2023-10-06 17:37:03,614 INFO server.session: node0 Scavenging every 660000ms 2023-10-06 17:37:03,615 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@6198e9b5{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2023-10-06 17:37:03,615 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@4ecd00b5{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2023-10-06 17:37:03,627 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@f5cf29b{datanode,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode} 2023-10-06 17:37:03,628 INFO server.AbstractConnector: Started ServerConnector@2b0e9f30{HTTP/1.1, (http/1.1)}{localhost:34095} 2023-10-06 17:37:03,628 INFO server.Server: Started @3341ms 2023-10-06 17:37:03,732 WARN web.DatanodeHttpServer: Got null for restCsrfPreventionFilter - will not do any filtering. 2023-10-06 17:37:03,833 INFO web.DatanodeHttpServer: Listening HTTP traffic on /127.0.0.1:42173 2023-10-06 17:37:03,834 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2023-10-06 17:37:03,835 INFO datanode.DataNode: dnUserName = clickhouse 2023-10-06 17:37:03,835 INFO datanode.DataNode: supergroup = supergroup 2023-10-06 17:37:03,848 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2023-10-06 17:37:03,849 INFO ipc.Server: Starting Socket Reader #1 for port 0 2023-10-06 17:37:03,855 INFO datanode.DataNode: Opened IPC server at /127.0.0.1:45887 2023-10-06 17:37:03,879 INFO datanode.DataNode: Refresh request received for nameservices: null 2023-10-06 17:37:03,880 INFO datanode.DataNode: Starting BPOfferServices for nameservices: 2023-10-06 17:37:03,888 INFO datanode.DataNode: Block pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 starting to offer service 2023-10-06 17:37:03,893 INFO ipc.Server: IPC Server listener on 0: starting 2023-10-06 17:37:03,893 INFO ipc.Server: IPC Server Responder: starting 2023-10-06 17:37:04,066 INFO datanode.DataNode: Acknowledging ACTIVE Namenode during handshakeBlock pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 2023-10-06 17:37:04,068 INFO common.Storage: Using 2 threads to upgrade data directories (dfs.datanode.parallel.volumes.load.threads.num=2, dataDirs=2) 2023-10-06 17:37:04,071 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data1/in_use.lock acquired by nodename 409@531da60620c1 2023-10-06 17:37:04,072 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 is not formatted for namespace 861314651. Formatting... 2023-10-06 17:37:04,073 INFO common.Storage: Generated new storageID DS-cb67a76b-2cd8-4ef4-b352-7f5d54cd135e for directory /hadoop-3.3.1/target/test/data/dfs/data/data1 2023-10-06 17:37:04,078 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data2/in_use.lock acquired by nodename 409@531da60620c1 2023-10-06 17:37:04,078 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 is not formatted for namespace 861314651. Formatting... 2023-10-06 17:37:04,078 INFO common.Storage: Generated new storageID DS-6e4882cd-b09c-4b29-a1cd-1c45d744fc11 for directory /hadoop-3.3.1/target/test/data/dfs/data/data2 2023-10-06 17:37:04,110 INFO common.Storage: Analyzing storage directories for bpid BP-2125283754-172.17.0.2-1696595821930 2023-10-06 17:37:04,110 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-2125283754-172.17.0.2-1696595821930 2023-10-06 17:37:04,110 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-2125283754-172.17.0.2-1696595821930 is not formatted. Formatting ... 2023-10-06 17:37:04,110 INFO common.Storage: Formatting block pool BP-2125283754-172.17.0.2-1696595821930 directory /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-2125283754-172.17.0.2-1696595821930/current 2023-10-06 17:37:04,136 INFO common.Storage: Analyzing storage directories for bpid BP-2125283754-172.17.0.2-1696595821930 2023-10-06 17:37:04,136 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-2125283754-172.17.0.2-1696595821930 2023-10-06 17:37:04,136 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-2125283754-172.17.0.2-1696595821930 is not formatted. Formatting ... 2023-10-06 17:37:04,136 INFO common.Storage: Formatting block pool BP-2125283754-172.17.0.2-1696595821930 directory /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-2125283754-172.17.0.2-1696595821930/current 2023-10-06 17:37:04,139 INFO datanode.DataNode: Setting up storage: nsid=861314651;bpid=BP-2125283754-172.17.0.2-1696595821930;lv=-57;nsInfo=lv=-66;cid=testClusterID;nsid=861314651;c=1696595821930;bpid=BP-2125283754-172.17.0.2-1696595821930;dnuuid=null 2023-10-06 17:37:04,142 INFO datanode.DataNode: Generated and persisted new Datanode UUID 2ac84d6b-3498-4e25-8aee-68df5df27240 2023-10-06 17:37:04,154 INFO impl.FsDatasetImpl: The datanode lock is a read write lock 2023-10-06 17:37:04,237 INFO impl.FsDatasetImpl: Added new volume: DS-cb67a76b-2cd8-4ef4-b352-7f5d54cd135e 2023-10-06 17:37:04,238 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1, StorageType: DISK 2023-10-06 17:37:04,240 INFO impl.FsDatasetImpl: Added new volume: DS-6e4882cd-b09c-4b29-a1cd-1c45d744fc11 2023-10-06 17:37:04,240 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2, StorageType: DISK 2023-10-06 17:37:04,247 INFO impl.MemoryMappableBlockLoader: Initializing cache loader: MemoryMappableBlockLoader. 2023-10-06 17:37:04,251 INFO impl.FsDatasetImpl: Registered FSDatasetState MBean 2023-10-06 17:37:04,256 INFO impl.FsDatasetImpl: Adding block pool BP-2125283754-172.17.0.2-1696595821930 2023-10-06 17:37:04,257 INFO impl.FsDatasetImpl: Scanning block pool BP-2125283754-172.17.0.2-1696595821930 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2023-10-06 17:37:04,257 INFO impl.FsDatasetImpl: Scanning block pool BP-2125283754-172.17.0.2-1696595821930 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2023-10-06 17:37:04,299 INFO hdfs.MiniDFSCluster: dnInfo.length != numDataNodes 2023-10-06 17:37:04,299 INFO hdfs.MiniDFSCluster: Waiting for cluster to become active 2023-10-06 17:37:04,300 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-2125283754-172.17.0.2-1696595821930 on /hadoop-3.3.1/target/test/data/dfs/data/data1: 43ms 2023-10-06 17:37:04,302 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-2125283754-172.17.0.2-1696595821930 on /hadoop-3.3.1/target/test/data/dfs/data/data2: 44ms 2023-10-06 17:37:04,302 INFO impl.FsDatasetImpl: Total time to scan all replicas for block pool BP-2125283754-172.17.0.2-1696595821930: 46ms 2023-10-06 17:37:04,303 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-2125283754-172.17.0.2-1696595821930 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2023-10-06 17:37:04,303 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-2125283754-172.17.0.2-1696595821930/current/replicas doesn't exist 2023-10-06 17:37:04,303 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-2125283754-172.17.0.2-1696595821930 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2023-10-06 17:37:04,304 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-2125283754-172.17.0.2-1696595821930/current/replicas doesn't exist 2023-10-06 17:37:04,305 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-2125283754-172.17.0.2-1696595821930 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1: 1ms 2023-10-06 17:37:04,305 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-2125283754-172.17.0.2-1696595821930 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2: 2ms 2023-10-06 17:37:04,305 INFO impl.FsDatasetImpl: Total time to add all replicas to map for block pool BP-2125283754-172.17.0.2-1696595821930: 3ms 2023-10-06 17:37:04,306 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data1 2023-10-06 17:37:04,318 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2023-10-06 17:37:04,320 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data2 2023-10-06 17:37:04,320 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2023-10-06 17:37:04,322 INFO datanode.VolumeScanner: Now scanning bpid BP-2125283754-172.17.0.2-1696595821930 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2023-10-06 17:37:04,322 INFO datanode.VolumeScanner: Now scanning bpid BP-2125283754-172.17.0.2-1696595821930 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2023-10-06 17:37:04,324 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-cb67a76b-2cd8-4ef4-b352-7f5d54cd135e): finished scanning block pool BP-2125283754-172.17.0.2-1696595821930 2023-10-06 17:37:04,324 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-6e4882cd-b09c-4b29-a1cd-1c45d744fc11): finished scanning block pool BP-2125283754-172.17.0.2-1696595821930 2023-10-06 17:37:04,325 WARN datanode.DirectoryScanner: dfs.datanode.directoryscan.throttle.limit.ms.per.sec set to value above 1000 ms/sec. Assuming default value of -1 2023-10-06 17:37:04,325 INFO datanode.DirectoryScanner: Periodic Directory Tree Verification scan starting in 1623634ms with interval of 21600000ms and throttle limit of -1ms/s 2023-10-06 17:37:04,332 INFO datanode.DataNode: Block pool BP-2125283754-172.17.0.2-1696595821930 (Datanode Uuid 2ac84d6b-3498-4e25-8aee-68df5df27240) service to localhost/127.0.0.1:12222 beginning handshake with NN 2023-10-06 17:37:04,340 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-cb67a76b-2cd8-4ef4-b352-7f5d54cd135e): no suitable block pools found to scan. Waiting 1814399982 ms. 2023-10-06 17:37:04,340 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-6e4882cd-b09c-4b29-a1cd-1c45d744fc11): no suitable block pools found to scan. Waiting 1814399982 ms. 2023-10-06 17:37:04,352 INFO hdfs.StateChange: BLOCK* registerDatanode: from DatanodeRegistration(127.0.0.1:43071, datanodeUuid=2ac84d6b-3498-4e25-8aee-68df5df27240, infoPort=42173, infoSecurePort=0, ipcPort=45887, storageInfo=lv=-57;cid=testClusterID;nsid=861314651;c=1696595821930) storage 2ac84d6b-3498-4e25-8aee-68df5df27240 2023-10-06 17:37:04,354 INFO net.NetworkTopology: Adding a new node: /default-rack/127.0.0.1:43071 2023-10-06 17:37:04,354 INFO blockmanagement.BlockReportLeaseManager: Registered DN 2ac84d6b-3498-4e25-8aee-68df5df27240 (127.0.0.1:43071). 2023-10-06 17:37:04,359 INFO datanode.DataNode: Block pool BP-2125283754-172.17.0.2-1696595821930 (Datanode Uuid 2ac84d6b-3498-4e25-8aee-68df5df27240) service to localhost/127.0.0.1:12222 successfully registered with NN 2023-10-06 17:37:04,359 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 2023-10-06 17:37:04,375 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-cb67a76b-2cd8-4ef4-b352-7f5d54cd135e for DN 127.0.0.1:43071 2023-10-06 17:37:04,375 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-6e4882cd-b09c-4b29-a1cd-1c45d744fc11 for DN 127.0.0.1:43071 2023-10-06 17:37:04,403 INFO BlockStateChange: BLOCK* processReport 0x48f5d9c5d8a53ed5: Processing first storage report for DS-cb67a76b-2cd8-4ef4-b352-7f5d54cd135e from datanode 2ac84d6b-3498-4e25-8aee-68df5df27240 2023-10-06 17:37:04,405 INFO BlockStateChange: BLOCK* processReport 0x48f5d9c5d8a53ed5: from storage DS-cb67a76b-2cd8-4ef4-b352-7f5d54cd135e node DatanodeRegistration(127.0.0.1:43071, datanodeUuid=2ac84d6b-3498-4e25-8aee-68df5df27240, infoPort=42173, infoSecurePort=0, ipcPort=45887, storageInfo=lv=-57;cid=testClusterID;nsid=861314651;c=1696595821930), blocks: 0, hasStaleStorage: true, processing time: 2 msecs, invalidatedBlocks: 0 2023-10-06 17:37:04,405 INFO BlockStateChange: BLOCK* processReport 0x48f5d9c5d8a53ed5: Processing first storage report for DS-6e4882cd-b09c-4b29-a1cd-1c45d744fc11 from datanode 2ac84d6b-3498-4e25-8aee-68df5df27240 2023-10-06 17:37:04,405 INFO BlockStateChange: BLOCK* processReport 0x48f5d9c5d8a53ed5: from storage DS-6e4882cd-b09c-4b29-a1cd-1c45d744fc11 node DatanodeRegistration(127.0.0.1:43071, datanodeUuid=2ac84d6b-3498-4e25-8aee-68df5df27240, infoPort=42173, infoSecurePort=0, ipcPort=45887, storageInfo=lv=-57;cid=testClusterID;nsid=861314651;c=1696595821930), blocks: 0, hasStaleStorage: false, processing time: 0 msecs, invalidatedBlocks: 0 2023-10-06 17:37:04,412 INFO hdfs.MiniDFSCluster: Cluster is active 2023-10-06 17:37:04,417 INFO mapreduce.MiniHadoopClusterManager: Started MiniDFSCluster -- namenode on port 12222 2023-10-06 17:37:04,425 INFO datanode.DataNode: Successfully sent block report 0x48f5d9c5d8a53ed5 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 3 msecs to generate and 35 msecs for RPC and NN processing. Got back one command: FinalizeCommand/5. 2023-10-06 17:37:04,426 INFO datanode.DataNode: Got finalize command for block pool BP-2125283754-172.17.0.2-1696595821930 2023-10-06 18:04:07,969 INFO datanode.DirectoryScanner: Scan Results: BlockPool BP-2125283754-172.17.0.2-1696595821930 Total blocks: 0, missing metadata files: 0, missing block files: 0, missing blocks in memory: 0, mismatched blocks: 0