安装文件
hadoop-3.3.4.tar.gz
scala-2.13.10.tgz
scala-docs-2.13.10.txz
目录配置
(base) hadoop@apollo-virtualbox:/opt/bigdata$ ll total 44 drwxr-xr-x 11 hadoop hadoop 4096 2023-02-24 11:03 . drwxr-xr-x 4 root root 4096 2023-02-20 21:16 .. drwxrwxr-x 28 hadoop hadoop 4096 2023-02-20 23:09 anaconda3 drwxr-xr-x 11 hadoop hadoop 4096 2023-02-24 11:16 hadoop-3.3.4 drwxrwxr-x 3 hadoop hadoop 4096 2023-02-24 11:09 hadoop-3.3.4-data drwxr-xr-x 8 hadoop hadoop 4096 1970-01-20 17:09 pycharm drwxrwxr-x 6 hadoop hadoop 4096 2022-10-09 02:26 scala-2.13.10 drwxrwxr-x 3 hadoop hadoop 4096 2022-10-09 02:26 scala-2.13.10_doc drwxr-xr-x 14 hadoop hadoop 4096 2023-02-20 21:48 spark-3.3.2-bin-hadoop3-scala2.13 drwxrwxr-x 4 hadoop hadoop 4096 2023-02-21 13:20 workspace drwxr-xr-x 2 hadoop hadoop 4096 2023-02-24 10:54 _backup (base) hadoop@apollo-virtualbox:/opt/bigdata$ (base) hadoop@apollo-virtualbox:/opt/bigdata$
(base) hadoop@apollo-virtualbox:/opt/bigdata$
(base) hadoop@apollo-virtualbox:/opt/bigdata$ find hadoop-3.3.4-data
hadoop-3.3.4-data
hadoop-3.3.4-data/hdfs
hadoop-3.3.4-data/hdfs/datanode
hadoop-3.3.4-data/hdfs/namenode
(base) hadoop@apollo-virtualbox:/opt/bigdata$
文件配置
/home/hadoop/.bashrc
alias ll='ls -al -v --group-directories-first --color=auto --time-style=long-iso' #################################################################################################### ## HADOOP #################################################################################################### export HADOOP_HOME=/opt/bigdata/hadoop-3.3.4 export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME:/sbin #################################################################################################### ## SPARK #################################################################################################### export SPARK_HOME=/opt/bigdata/spark-3.3.2-bin-hadoop3-scala2.13 export PATH=$PATH:$SPARK_HOME/bin #################################################################################################### ## SCALA #################################################################################################### SCALA_HOME=/opt/bigdata/scala-2.13.10 export PATH=$PATH:$SCALA_HOME/bin
/opt/bigdata/hadoop-3.3.4/etc/hadoop/core-site.xml
<configuration> <property> <name>fs.defaultFS</name> <value>hdfs://localhost:9000</value> </property> </configuration>
/opt/bigdata/hadoop-3.3.4/etc/hadoop/hdfs-site.xml
<configuration> <property> <name>dfs.namenode.secondary.http-address</name> <value>localhost:50090</value> </property> <property> <name>dfs.replication</name> <value>3</value> </property> <property> <name>dfs.namenode.name.dir</name> <value>file:///opt/bigdata/hadoop-3.3.4-data/hdfs/namenode</value> <final>true</final> </property> <property> <name>dfs.datanode.data.dir</name> <value>file:///opt/bigdata/hadoop-3.3.4-data/hdfs/datanode</value> <final>true</final> </property> <property> <name>dfs.webhdfs.enabled</name> <value>true</value> </property> <property> <name>dfs.permissions.enabled</name> <value>false</value> </property> </configuration>
/opt/bigdata/hadoop-3.3.4/etc/hadoop/mapred-site.xml
<configuration> <property> <name>mapreduce.framework.name</name> <value>yarn</value> </property> <property> <name>mapreduce.jobhistory.address</name> <value>localhost:10020</value> </property> <property> <name>mapreduce.jobhistory.webapp.address</name> <value>localhost:19888</value> </property> <property> <name>mapreduce.application.classpath</name> <value> /opt/bigdata/hadoop-3.3.4/etc/hadoop, /opt/bigdata/hadoop-3.3.4/share/hadoop/common/*, /opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/*, /opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/*, /opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/*, /opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/*, /opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/lib/*, /opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/*, /opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/* </value> </property> </configuration>
/opt/bigdata/hadoop-3.3.4/etc/hadoop/yarn-site.xml
<configuration> <property> <name>yarn.nodemanager.aux-services</name> <value>mapreduce_shuffle</value> </property> <property> <name>yarn.resourcemanager.address</name> <value>localhost:8032</value> </property> <property> <name>yarn.resourcemanager.scheduler.address</name> <value>localhost:8030</value> </property> <property> <name>yarn.log-aggregation-enable</name> <value>true</value> </property> <property> <name>yarn.resourcemanager.resource-tracker.address</name> <value>localhost:8031</value> </property> <property> <name>yarn.resourcemanager.admin.address</name> <value>localhost:8033</value> </property> <property> <name>yarn.resourcemanager.webapp.address</name> <value>localhost:8088</value> </property> </configuration>
/opt/bigdata/hadoop-3.3.4/etc/hadoop/workers
localhost
初始化hadoop
(base) hadoop@apollo-virtualbox:~$ which hdfs /opt/bigdata/hadoop-3.3.4/bin/hdfs (base) hadoop@apollo-virtualbox:~$ hdfs namenode -format WARNING: /opt/bigdata/hadoop-3.3.4/logs does not exist. Creating. 2023-02-24 11:16:23,967 INFO namenode.NameNode: STARTUP_MSG: /************************************************************ STARTUP_MSG: Starting NameNode STARTUP_MSG: host = apollo-virtualbox/127.0.1.1 STARTUP_MSG: args = [-format] STARTUP_MSG: version = 3.3.4 STARTUP_MSG: classpath = /opt/bigdata/hadoop-3.3.4/etc/hadoop:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-cli-1.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jackson-annotations-2.12.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/httpclient-4.5.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jetty-xml-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-beanutils-1.9.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/failureaccess-1.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jettison-1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jackson-jaxrs-1.9.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/zookeeper-jute-3.5.6.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/metrics-core-3.2.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jersey-json-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerb-common-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jetty-util-ajax-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/j2objc-annotations-1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerby-config-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jackson-mapper-asl-1.9.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jackson-databind-2.12.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerb-simplekdc-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerby-pkix-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jetty-util-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jetty-servlet-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jackson-core-2.12.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/dnsjava-2.1.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/gson-2.8.9.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/avro-1.7.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/re2j-1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-net-3.6.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/curator-framework-4.2.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/checker-qual-2.5.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/slf4j-api-1.7.36.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-math3-3.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/json-smart-2.4.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jetty-security-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jsch-0.1.55.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jakarta.activation-api-1.2.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerby-asn1-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jackson-xc-1.9.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jsr305-3.0.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/stax2-api-4.2.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerb-core-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/guava-27.0-jre.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerb-identity-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerby-xdr-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerb-admin-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jersey-server-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/asm-5.0.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-codec-1.15.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jetty-http-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/zookeeper-3.5.6.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/token-provider-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-collections-3.2.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerb-util-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerby-util-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerb-crypto-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/curator-recipes-4.2.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/audience-annotations-0.5.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jsp-api-2.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jcip-annotations-1.0-1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/hadoop-shaded-protobuf_3_7-1.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/httpcore-4.4.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/javax.servlet-api-3.1.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/animal-sniffer-annotations-1.17.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-io-2.8.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/protobuf-java-2.5.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/paranamer-2.3.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerb-server-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jackson-core-asl-1.9.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/netty-3.10.6.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/hadoop-auth-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/curator-client-4.2.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/hadoop-annotations-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/woodstox-core-5.3.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/nimbus-jose-jwt-9.8.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jaxb-api-2.2.11.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jersey-core-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jersey-servlet-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jetty-server-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-text-1.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jsr311-api-1.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-configuration2-2.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/hadoop-shaded-guava-1.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-logging-1.1.3.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/accessors-smart-2.4.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-lang3-3.12.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jetty-io-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/kerb-client-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/slf4j-reload4j-1.7.36.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-compress-1.21.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jul-to-slf4j-1.7.36.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/snappy-java-1.1.8.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/commons-daemon-1.0.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/reload4j-1.2.22.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/lib/jetty-webapp-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/hadoop-common-3.3.4-tests.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/hadoop-nfs-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/hadoop-common-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/hadoop-registry-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/common/hadoop-kms-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-classes-epoll-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-classes-kqueue-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-resolver-dns-classes-macos-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jackson-annotations-2.12.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/httpclient-4.5.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jetty-xml-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-handler-proxy-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-resolver-dns-native-macos-4.1.77.Final-osx-aarch_64.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-beanutils-1.9.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-udt-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/failureaccess-1.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jettison-1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jackson-jaxrs-1.9.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/zookeeper-jute-3.5.6.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jersey-json-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-mqtt-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerb-common-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-xml-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jetty-util-ajax-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jaxb-impl-2.2.3-1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/j2objc-annotations-1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerby-config-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-resolver-dns-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jackson-mapper-asl-1.9.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-resolver-dns-native-macos-4.1.77.Final-osx-x86_64.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jackson-databind-2.12.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerb-simplekdc-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerby-pkix-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jetty-util-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jetty-servlet-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jackson-core-2.12.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/dnsjava-2.1.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/gson-2.8.9.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kotlin-stdlib-common-1.4.10.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-http2-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/avro-1.7.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/re2j-1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-handler-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-net-3.6.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-http-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/curator-framework-4.2.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/checker-qual-2.5.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-math3-3.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/json-smart-2.4.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-haproxy-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jetty-security-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jsch-0.1.55.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-socks-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jakarta.activation-api-1.2.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerby-asn1-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jackson-xc-1.9.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jsr305-3.0.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-buffer-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-memcache-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/stax2-api-4.2.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerb-core-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/guava-27.0-jre.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerb-identity-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerby-xdr-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerb-admin-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-redis-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jersey-server-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/asm-5.0.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-codec-1.15.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jetty-http-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/zookeeper-3.5.6.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/token-provider-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-collections-3.2.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerb-util-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-native-epoll-4.1.77.Final-linux-x86_64.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerby-util-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-dns-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/okio-2.8.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerb-crypto-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/curator-recipes-4.2.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/audience-annotations-0.5.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-native-unix-common-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-all-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jcip-annotations-1.0-1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/hadoop-shaded-protobuf_3_7-1.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/httpcore-4.4.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/javax.servlet-api-3.1.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/animal-sniffer-annotations-1.17.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/leveldbjni-all-1.8.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-io-2.8.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/paranamer-2.3.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerb-server-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jackson-core-asl-1.9.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-sctp-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-smtp-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-3.10.6.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-native-epoll-4.1.77.Final-linux-aarch_64.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/hadoop-auth-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/curator-client-4.2.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/hadoop-annotations-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/woodstox-core-5.3.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/json-simple-1.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/nimbus-jose-jwt-9.8.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jaxb-api-2.2.11.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-common-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jersey-core-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jersey-servlet-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-native-kqueue-4.1.77.Final-osx-aarch_64.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jetty-server-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-text-1.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-native-kqueue-4.1.77.Final-osx-x86_64.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jsr311-api-1.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-resolver-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-configuration2-2.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/hadoop-shaded-guava-1.1.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-logging-1.1.3.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/accessors-smart-2.4.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-lang3-3.12.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kotlin-stdlib-1.4.10.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jetty-io-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/kerb-client-1.0.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-compress-1.21.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/snappy-java-1.1.8.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/okhttp-4.9.3.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/reload4j-1.2.22.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-transport-rxtx-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/netty-codec-stomp-4.1.77.Final.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/lib/jetty-webapp-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-client-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-native-client-3.3.4-tests.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-rbf-3.3.4-tests.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-native-client-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-httpfs-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-3.3.4-tests.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-rbf-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-client-3.3.4-tests.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/hdfs/hadoop-hdfs-nfs-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-nativetask-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-common-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-core-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-app-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-3.3.4-tests.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/mapreduce/hadoop-mapreduce-client-uploader-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/snakeyaml-1.26.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/asm-analysis-9.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/mssql-jdbc-6.2.1.jre7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jackson-jaxrs-json-provider-2.12.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/metrics-core-3.2.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/javax.websocket-api-1.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/guice-servlet-4.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jetty-annotations-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/javax.inject-1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/websocket-common-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jakarta.xml.bind-api-2.3.2.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/ehcache-3.3.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jersey-guice-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/asm-commons-9.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/bcpkix-jdk15on-1.60.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/objenesis-2.6.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/aopalliance-1.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/websocket-client-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/websocket-api-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/javax-websocket-server-impl-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/javax-websocket-client-impl-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/json-io-2.5.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/guice-4.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jetty-client-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jline-3.9.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jetty-plus-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/websocket-servlet-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jackson-module-jaxb-annotations-2.12.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/asm-tree-9.1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jetty-jndi-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/javax.websocket-client-api-1.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jersey-client-1.19.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/bcprov-jdk15on-1.60.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/websocket-server-9.4.43.v20210629.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/swagger-annotations-1.5.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/geronimo-jcache_1.0_spec-1.0-alpha-1.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/fst-2.50.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jna-5.2.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/jackson-jaxrs-base-2.12.7.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/java-util-1.9.0.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/lib/HikariCP-java7-2.4.12.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-server-router-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-server-nodemanager-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-applications-mawo-core-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-server-web-proxy-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-server-tests-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-client-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-server-common-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-common-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-services-api-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-api-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-services-core-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-server-sharedcachemanager-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-registry-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-server-timeline-pluginstorage-3.3.4.jar:/opt/bigdata/hadoop-3.3.4/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-3.3.4.jar STARTUP_MSG: build = https://github.com/apache/hadoop.git -r a585a73c3e02ac62350c136643a5e7f6095a3dbb; compiled by 'stevel' on 2022-07-29T12:32Z STARTUP_MSG: java = 1.8.0_352 ************************************************************/ 2023-02-24 11:16:24,007 INFO namenode.NameNode: registered UNIX signal handlers for [TERM, HUP, INT] 2023-02-24 11:16:24,213 INFO namenode.NameNode: createNameNode [-format] 2023-02-24 11:16:25,194 INFO namenode.NameNode: Formatting using clusterid: CID-708cfb26-50ec-4ed7-aaf3-ac09e4cbfdad 2023-02-24 11:16:25,249 INFO namenode.FSEditLog: Edit logging is async:true 2023-02-24 11:16:25,291 INFO namenode.FSNamesystem: KeyProvider: null 2023-02-24 11:16:25,294 INFO namenode.FSNamesystem: fsLock is fair: true 2023-02-24 11:16:25,298 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2023-02-24 11:16:25,314 INFO namenode.FSNamesystem: fsOwner = hadoop (auth:SIMPLE) 2023-02-24 11:16:25,315 INFO namenode.FSNamesystem: supergroup = supergroup 2023-02-24 11:16:25,316 INFO namenode.FSNamesystem: isPermissionEnabled = false 2023-02-24 11:16:25,316 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2023-02-24 11:16:25,316 INFO namenode.FSNamesystem: HA Enabled: false 2023-02-24 11:16:25,358 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2023-02-24 11:16:25,368 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2023-02-24 11:16:25,368 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2023-02-24 11:16:25,372 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2023-02-24 11:16:25,373 INFO blockmanagement.BlockManager: The block deletion will start around 2023 Feb 24 11:16:25 2023-02-24 11:16:25,375 INFO util.GSet: Computing capacity for map BlocksMap 2023-02-24 11:16:25,376 INFO util.GSet: VM type = 64-bit 2023-02-24 11:16:25,381 INFO util.GSet: 2.0% max memory 3.5 GB = 71.1 MB 2023-02-24 11:16:25,382 INFO util.GSet: capacity = 2^23 = 8388608 entries 2023-02-24 11:16:25,401 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2023-02-24 11:16:25,401 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2023-02-24 11:16:25,417 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2023-02-24 11:16:25,418 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2023-02-24 11:16:25,418 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 30000 2023-02-24 11:16:25,419 INFO blockmanagement.BlockManager: defaultReplication = 3 2023-02-24 11:16:25,419 INFO blockmanagement.BlockManager: maxReplication = 512 2023-02-24 11:16:25,419 INFO blockmanagement.BlockManager: minReplication = 1 2023-02-24 11:16:25,419 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2023-02-24 11:16:25,420 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2023-02-24 11:16:25,420 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2023-02-24 11:16:25,421 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2023-02-24 11:16:25,442 INFO namenode.FSDirectory: GLOBAL serial map: bits=29 maxEntries=536870911 2023-02-24 11:16:25,442 INFO namenode.FSDirectory: USER serial map: bits=24 maxEntries=16777215 2023-02-24 11:16:25,442 INFO namenode.FSDirectory: GROUP serial map: bits=24 maxEntries=16777215 2023-02-24 11:16:25,442 INFO namenode.FSDirectory: XATTR serial map: bits=24 maxEntries=16777215 2023-02-24 11:16:25,461 INFO util.GSet: Computing capacity for map INodeMap 2023-02-24 11:16:25,463 INFO util.GSet: VM type = 64-bit 2023-02-24 11:16:25,464 INFO util.GSet: 1.0% max memory 3.5 GB = 35.5 MB 2023-02-24 11:16:25,464 INFO util.GSet: capacity = 2^22 = 4194304 entries 2023-02-24 11:16:25,467 INFO namenode.FSDirectory: ACLs enabled? true 2023-02-24 11:16:25,468 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2023-02-24 11:16:25,468 INFO namenode.FSDirectory: XAttrs enabled? true 2023-02-24 11:16:25,472 INFO namenode.NameNode: Caching file names occurring more than 10 times 2023-02-24 11:16:25,486 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2023-02-24 11:16:25,492 INFO snapshot.SnapshotManager: SkipList is disabled 2023-02-24 11:16:25,497 INFO util.GSet: Computing capacity for map cachedBlocks 2023-02-24 11:16:25,497 INFO util.GSet: VM type = 64-bit 2023-02-24 11:16:25,497 INFO util.GSet: 0.25% max memory 3.5 GB = 8.9 MB 2023-02-24 11:16:25,498 INFO util.GSet: capacity = 2^20 = 1048576 entries 2023-02-24 11:16:25,506 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2023-02-24 11:16:25,507 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2023-02-24 11:16:25,507 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2023-02-24 11:16:25,511 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2023-02-24 11:16:25,512 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2023-02-24 11:16:25,517 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2023-02-24 11:16:25,518 INFO util.GSet: VM type = 64-bit 2023-02-24 11:16:25,519 INFO util.GSet: 0.029999999329447746% max memory 3.5 GB = 1.1 MB 2023-02-24 11:16:25,519 INFO util.GSet: capacity = 2^17 = 131072 entries 2023-02-24 11:16:25,567 INFO namenode.FSImage: Allocated new BlockPoolId: BP-227276318-127.0.1.1-1677208585560 2023-02-24 11:16:25,590 INFO common.Storage: Storage directory /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode has been successfully formatted. 2023-02-24 11:16:25,651 INFO namenode.FSImageFormatProtobuf: Saving image file /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/current/fsimage.ckpt_0000000000000000000 using no compression 2023-02-24 11:16:25,911 INFO namenode.FSImageFormatProtobuf: Image file /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/current/fsimage.ckpt_0000000000000000000 of size 401 bytes saved in 0 seconds . 2023-02-24 11:16:25,942 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0 2023-02-24 11:16:25,990 INFO namenode.FSNamesystem: Stopping services started for active state 2023-02-24 11:16:25,991 INFO namenode.FSNamesystem: Stopping services started for standby state 2023-02-24 11:16:25,996 INFO namenode.FSImage: FSImageSaver clean checkpoint: txid=0 when meet shutdown. 2023-02-24 11:16:25,997 INFO namenode.NameNode: SHUTDOWN_MSG: /************************************************************ SHUTDOWN_MSG: Shutting down NameNode at apollo-virtualbox/127.0.1.1 ************************************************************/ (base) hadoop@apollo-virtualbox:~$ $HADOOP_HOME/sbin/start-all.sh WARNING: Attempting to start all Apache Hadoop daemons as hadoop in 10 seconds. WARNING: This is not a recommended production deployment configuration. WARNING: Use CTRL-C to abort. Starting namenodes on [localhost] Starting datanodes Starting secondary namenodes [localhost] Starting resourcemanager Starting nodemanagers (base) hadoop@apollo-virtualbox:~$ (base) hadoop@apollo-virtualbox:~$
状态检查
(base) hadoop@apollo-virtualbox:~$ hdfs dfsadmin -report Configured Capacity: 421073985536 (392.16 GB) Present Capacity: 373577056256 (347.92 GB) DFS Remaining: 373577031680 (347.92 GB) DFS Used: 24576 (24 KB) DFS Used%: 0.00% Replicated Blocks: Under replicated blocks: 0 Blocks with corrupt replicas: 0 Missing blocks: 0 Missing blocks (with replication factor 1): 0 Low redundancy blocks with highest priority to recover: 0 Pending deletion blocks: 0 Erasure Coded Block Groups: Low redundancy block groups: 0 Block groups with corrupt internal blocks: 0 Missing block groups: 0 Low redundancy blocks with highest priority to recover: 0 Pending deletion blocks: 0 ------------------------------------------------- Live datanodes (1): Name: 127.0.0.1:9866 (localhost) Hostname: apollo-virtualbox Decommission Status : Normal Configured Capacity: 421073985536 (392.16 GB) DFS Used: 24576 (24 KB) Non DFS Used: 26032369664 (24.24 GB) DFS Remaining: 373577031680 (347.92 GB) DFS Used%: 0.00% DFS Remaining%: 88.72% Configured Cache Capacity: 0 (0 B) Cache Used: 0 (0 B) Cache Remaining: 0 (0 B) Cache Used%: 100.00% Cache Remaining%: 0.00% Xceivers: 0 Last contact: Fri Feb 24 11:25:12 CST 2023 Last Block Report: Fri Feb 24 11:17:33 CST 2023 Num of Blocks: 0 (base) hadoop@apollo-virtualbox:~$ (base) hadoop@apollo-virtualbox:~$
初始化目录
(base) hadoop@apollo-virtualbox:~$ find /opt/bigdata/hadoop-3.3.4-data/ /opt/bigdata/hadoop-3.3.4-data/ /opt/bigdata/hadoop-3.3.4-data/hdfs /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/current /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/current/VERSION /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/current/BP-227276318-127.0.1.1-1677208585560 /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/current/BP-227276318-127.0.1.1-1677208585560/tmp /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/current/BP-227276318-127.0.1.1-1677208585560/scanner.cursor /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/current/BP-227276318-127.0.1.1-1677208585560/current /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/current/BP-227276318-127.0.1.1-1677208585560/current/finalized /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/current/BP-227276318-127.0.1.1-1677208585560/current/VERSION /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/current/BP-227276318-127.0.1.1-1677208585560/current/rbw /opt/bigdata/hadoop-3.3.4-data/hdfs/datanode/in_use.lock /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/current /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/current/fsimage_0000000000000000000.md5 /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/current/seen_txid /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/current/VERSION /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/current/edits_inprogress_0000000000000000003 /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/current/fsimage_0000000000000000000 /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/current/edits_0000000000000000001-0000000000000000002 /opt/bigdata/hadoop-3.3.4-data/hdfs/namenode/in_use.lock (base) hadoop@apollo-virtualbox:~$ pwd /home/hadoop (base) hadoop@apollo-virtualbox:~$
http://localhost:9870/dfshealth.html#tab-overview
http://localhost:8088/cluster
标签:bin,02,jar,share,hadoop,scala2.13,bigdata,3.3,opt From: https://www.cnblogs.com/apolloextra/p/17150714.html