cp ambari.repo /etc/yum.repos.d/ echo"unzip packege, may take a little time" tar -zxf ../ambari-*-centos7.tar.gz -C $install_dirname tar -zxf ../HDP-3*-centos7-rpm.tar.gz -C $install_dirname tar -zxf ../HDP-GPL-3.1.5.0-*-gpl.tar.gz -C $install_dirname tar -zxf ../HDP-UTILS-1.1.0.22-centos7.tar.gz -C $install_dirname
[root@hdp01 ~]# ambari-server setup Using python /usr/bin/python Setup ambari-server Checking SELinux... SELinux status is 'enabled' SELinux mode is 'permissive' WARNING: SELinux is set to 'permissive' mode and temporarily disabled. OK to continue [y/n] (y)? y Customize user account for ambari-server daemon [y/n] (n)? y Enter user account for ambari-server daemon (root):ambari Adjusting ambari-server permissions and ownership... Checking firewall status... Checking JDK... Do you want to change Oracle JDK [y/n] (n)? y [1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8 [2] Custom JDK ============================================================================== Enter choice (1): 2 WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on all hosts. WARNING: JCE Policy files are required for configuring Kerberos security. If you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction Policy Files are valid on all hosts. Path to JAVA_HOME: /usr/java/default Validating JDK on Ambari Server...done. Check JDK version for Ambari Server... JDK version found: 8 Minimum JDK version is 8 for Ambari. Skipping to setup different JDK for Ambari Server. Checking GPL software agreement... Completing setup... Configuring database... Enter advanced database configuration [y/n] (n)? y Configuring database... ============================================================================== Choose one of the following options: [1] - PostgreSQL (Embedded) [2] - Oracle [3] - MySQL / MariaDB [4] - PostgreSQL [5] - Microsoft SQL Server (Tech Preview) [6] - SQL Anywhere [7] - BDB ============================================================================== Enter choice (3): Hostname (localhost): Port (3306): Database name (ambari): Username (ambari): Enter Database Password (ambari): Configuring ambari database... Should ambari use existing default jdbc /usr/share/java/mysql-connector-java.jar [y/n] (y)? y Configuring remote database connection properties... WARNING: Before starting Ambari Server, you must run the following DDL directly from the database shell to create the schema: /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql Proceed with configuring remote database connection properties [y/n] (y)? y Extracting system views... ambari-admin-2.7.5.0.72.jar .... Ambari repo file doesn't contain latest json url, skipping repoinfos modification Adjusting ambari-server permissions and ownership... Ambari Server 'setup' completed successfully.
su - hadoop cd /opt/bigdata/hadoop/current mkdir wcinput
cat > /opt/bigdata/hadoop/current/wcinput/demo.txt <<-EOF Linux Unix windows hadoop Linux spark hive hadoop Unix MapReduce hadoop Linux hive windows hadoop spark EOF
hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-*.jar wordcount wcinput wcoutput
结果:
1 2 3 4 5 6 7 8 9 10 11
# ls wcoutput/ part-r-00000 _SUCCESS
# cat wcoutput/part-r-00000 Linux 3 MapReduce 1 Unix 2 hadoop 4 hive 2 spark 2 windows 2
输出目录里两个文件的含义:_SUCCESS 是任务完成标识,表示执行成功;part-r-00000 才是结果文件,其中带 m 标识的是 mapper 输出、带 r 标识的是 reduce 输出,00000 是 reduce task(分区)编号——有 N 个 reducer 就有 part-r-00000 到 part-r-0000(N-1),job id 根本不出现在输出文件名里。
mkdir -p /opt/bigdata/zookeeper tar -zxvf apache-zookeeper-*-bin.tar.gz -C /opt/bigdata/zookeeper cd /opt/bigdata/zookeeper ln -s apache-zookeeper-*-bin current
报错:Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader。
# 检查软连接是否成功更新 if [ "$(readlink -f /opt/bigdata/java/current)" != "/opt/bigdata/java/jdk1.8.0_321" ]; then echo"Failed to update the Java soft link to java2" exit 1 fi
# 定义恢复函数 function restore_java { ln -sfn /opt/bigdata/java/jdk-11.0.23 /opt/bigdata/java/current
if [ "$(readlink -f /opt/bigdata/java/current)" != "/opt/bigdata/java/jdk-11.0.23" ]; then echo"Failed to restore the Java soft link to the original version" exit 1 fi }
# 捕捉各种退出信号以便恢复 Java 软链接 trap restore_java EXIT HUP INT TERM
mkdir -p /opt/bigdata/spark tar -zxf spark-3.2.1-bin-hadoop3.2.tgz -C /opt/bigdata/spark cd /opt/bigdata/spark/ ln -s spark-3.2.1-bin-hadoop3.2 current
Spark Command: /opt/bigdata/java/current/bin/java -cp /opt/bigdata/spark/current/conf/:/opt/bigdata/spark/current/jars/*:/opt/bigdata/hadoop/current/tc/hadoop/ org.apache.spark.deploy.SparkSubmit --master yarn --deploy-mode cluster --conf spark.executorEnv.PYSPARK_PYTHON=./pyspark_env/bin/python -conf spark.yarn.dist.archives=hdfs:///user/test/pyspark_env.tar.gz#pyspark_env --conf spark.executorEnv.PYSPARK_DRIVER_PYTHON=./pyspark_env/bin/python--conf spark.pyspark.driver.python=./pyspark_env/bin/python --conf spark.pyspark.python=./pyspark_env/bin/python test.py ======================================== 2024-11-15 17:38:40,071 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm2 2024-11-15 17:38:40,131 INFO yarn.Client: Requesting a new application from cluster with 3 NodeManagers 2024-11-15 17:38:40,983 INFO conf.Configuration: resource-types.xml not found 2024-11-15 17:38:40,984 INFO resource.ResourceUtils: Unable to find 'resource-types.xml'. 2024-11-15 17:38:41,004 INFO yarn.Client: Verifying our application has not requested more than the maximum memory capability of the cluster (8192 MBper container) 2024-11-15 17:38:41,005 INFO yarn.Client: Will allocate AM container, with 1408 MB memory including 384 MB overhead 2024-11-15 17:38:41,005 INFO yarn.Client: Setting up container launch context for our AM 2024-11-15 17:38:41,028 INFO yarn.Client: Setting up the launch environment for our AM container 2024-11-15 17:38:41,054 INFO yarn.Client: Preparing resources for our AM container 2024-11-15 17:38:41,302 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/HikariCP-2.5.1.jar 2024-11-15 17:38:41,435 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/JLargeArrays-1.5.jar 2024-11-15 17:38:41,440 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/JTransforms-3.1.jar 2024-11-15 17:38:41,445 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/RoaringBitmap-0.9.0.jar 2024-11-15 17:38:41,452 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/ST4-4.0.4.jar 2024-11-15 17:38:41,457 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/accessors-smart-1.2.jar 2024-11-15 17:38:41,461 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/activation-1.1.1.jar 2024-11-15 17:38:41,465 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/aircompressor-0.10.jar 2024-11-15 17:38:41,471 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/algebra_2.12-2.0.0-M2.jar 2024-11-15 17:38:41,476 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/animal-sniffer-annotations-1.17.jar 2024-11-15 17:38:41,482 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/antlr-runtime-3.5.2.jar 2024-11-15 17:38:41,487 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/antlr4-runtime-4.8-1.jar 2024-11-15 17:38:41,491 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/aopalliance-1.0.jar 2024-11-15 17:38:41,495 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/aopalliance-repackaged-2.6.1.jar 2024-11-15 17:38:41,501 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/arpack_combined_all-0.1.jar 2024-11-15 17:38:41,507 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/arrow-format-2.0.0.jar 2024-11-15 17:38:41,513 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/arrow-memory-core-2.0.0.jar 2024-11-15 17:38:41,517 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/arrow-memory-netty-2.0.0.jar 2024-11-15 17:38:41,521 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/arrow-vector-2.0.0.jar 2024-11-15 17:38:41,526 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/audience-annotations-0.5.0.jar 2024-11-15 17:38:41,531 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/automaton-1.11-8.jar 2024-11-15 17:38:41,536 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/avro-1.8.2.jar 2024-11-15 17:38:41,539 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/avro-ipc-1.8.2.jar 2024-11-15 17:38:41,544 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/avro-mapred-1.8.2-hadoop2.jar 2024-11-15 17:38:41,548 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/aws-java-sdk-bundle-1.11.563.jar 2024-11-15 17:38:41,554 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/azure-keyvault-core-1.0.0.jar 2024-11-15 17:38:41,558 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/azure-storage-7.0.0.jar 2024-11-15 17:38:41,562 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/bcpkix-jdk15on-1.60.jar 2024-11-15 17:38:41,566 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/bcprov-jdk15on-1.60.jar 2024-11-15 17:38:41,569 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/bonecp-0.8.0.RELEASE.jar 2024-11-15 17:38:41,573 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/breeze-macros_2.12-1.0.jar 2024-11-15 17:38:41,576 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/breeze_2.12-1.0.jar 2024-11-15 17:38:41,579 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/cats-kernel_2.12-2.0.0-M4.jar 2024-11-15 17:38:41,582 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/checker-qual-2.5.2.jar 2024-11-15 17:38:41,585 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/chill-java-0.9.5.jar 2024-11-15 17:38:41,588 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/chill_2.12-0.9.5.jar 2024-11-15 17:38:41,592 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-beanutils-1.9.4.jar 2024-11-15 17:38:41,595 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-cli-1.2.jar 2024-11-15 17:38:41,598 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-codec-1.10.jar 2024-11-15 17:38:41,601 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-collections-3.2.2.jar 2024-11-15 17:38:41,604 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-compiler-3.0.16.jar 2024-11-15 17:38:41,607 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-compress-1.20.jar 2024-11-15 17:38:41,610 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-configuration2-2.1.1.jar 2024-11-15 17:38:41,613 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-crypto-1.1.0.jar 2024-11-15 17:38:41,616 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-daemon-1.0.13.jar 2024-11-15 17:38:41,619 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-dbcp-1.4.jar 2024-11-15 17:38:41,623 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-httpclient-3.1.jar 2024-11-15 17:38:41,626 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-io-2.5.jar 2024-11-15 17:38:41,629 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-lang-2.6.jar 2024-11-15 17:38:41,632 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-lang3-3.10.jar 2024-11-15 17:38:41,636 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-logging-1.1.3.jar 2024-11-15 17:38:41,639 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-math3-3.4.1.jar 2024-11-15 17:38:41,642 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-net-3.1.jar 2024-11-15 17:38:41,645 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-pool-1.5.4.jar 2024-11-15 17:38:41,648 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/commons-text-1.6.jar 2024-11-15 17:38:41,651 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/compress-lzf-1.0.3.jar 2024-11-15 17:38:41,654 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/core-1.1.2.jar 2024-11-15 17:38:41,658 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/curator-client-2.13.0.jar 2024-11-15 17:38:41,661 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/curator-framework-2.13.0.jar 2024-11-15 17:38:41,664 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/curator-recipes-2.13.0.jar 2024-11-15 17:38:41,667 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/datanucleus-api-jdo-4.2.4.jar 2024-11-15 17:38:41,670 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/datanucleus-core-4.1.17.jar 2024-11-15 17:38:41,673 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/datanucleus-rdbms-4.1.19.jar 2024-11-15 17:38:41,676 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/derby-10.12.1.1.jar 2024-11-15 17:38:41,679 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/dnsjava-2.1.7.jar 2024-11-15 17:38:41,682 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/dropwizard-metrics-hadoop-metrics2-reporter-0.1.2.jar 2024-11-15 17:38:41,685 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/ehcache-3.3.1.jar 2024-11-15 17:38:41,688 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/eigenbase-properties-1.1.5.jar 2024-11-15 17:38:41,691 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/error_prone_annotations-2.2.0.jar 2024-11-15 17:38:41,696 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/failureaccess-1.0.jar 2024-11-15 17:38:41,699 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/flatbuffers-java-1.9.0.jar 2024-11-15 17:38:41,702 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/generex-1.0.2.jar 2024-11-15 17:38:41,704 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/geronimo-jcache_1.0_spec-1.0-alpha-1.jar 2024-11-15 17:38:41,707 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/gmetric4j-1.0.10.jar 2024-11-15 17:38:41,709 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/gson-2.2.4.jar 2024-11-15 17:38:41,712 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/guava-27.0-jre.jar 2024-11-15 17:38:41,715 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/guice-4.0.jar 2024-11-15 17:38:41,717 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/guice-servlet-4.0.jar 2024-11-15 17:38:41,720 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-annotations-3.2.2.jar 2024-11-15 17:38:41,723 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-auth-3.2.2.jar 2024-11-15 17:38:41,725 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-aws-3.2.2.jar 2024-11-15 17:38:41,729 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-azure-3.2.2.jar 2024-11-15 17:38:41,732 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-client-3.2.2.jar 2024-11-15 17:38:41,735 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-common-3.2.2.jar 2024-11-15 17:38:41,739 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-hdfs-client-3.2.2.jar 2024-11-15 17:38:41,742 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-mapreduce-client-common-3.2.2.jar 2024-11-15 17:38:41,744 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-mapreduce-client-core-3.2.2.jar 2024-11-15 17:38:41,747 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-mapreduce-client-jobclient-3.2.2.jar 2024-11-15 17:38:41,750 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-openstack-3.2.2.jar 2024-11-15 17:38:41,753 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-yarn-api-3.2.2.jar 2024-11-15 17:38:41,756 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-yarn-client-3.2.2.jar 2024-11-15 17:38:41,759 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-yarn-common-3.2.2.jar 2024-11-15 17:38:41,762 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-yarn-registry-3.2.2.jar 2024-11-15 17:38:41,765 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-yarn-server-common-3.2.2.jar 2024-11-15 17:38:41,768 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hadoop-yarn-server-web-proxy-3.2.2.jar 2024-11-15 17:38:41,770 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-beeline-2.3.8.jar 2024-11-15 17:38:41,773 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-cli-2.3.8.jar 2024-11-15 17:38:41,775 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-common-2.3.8.jar 2024-11-15 17:38:41,778 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-exec-2.3.8-core.jar 2024-11-15 17:38:41,780 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-jdbc-2.3.8.jar 2024-11-15 17:38:41,783 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-llap-common-2.3.8.jar 2024-11-15 17:38:41,785 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-metastore-2.3.8.jar 2024-11-15 17:38:41,788 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-serde-2.3.8.jar 2024-11-15 17:38:41,791 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-service-rpc-3.1.2.jar 2024-11-15 17:38:41,793 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-shims-0.23-2.3.8.jar 2024-11-15 17:38:41,796 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-shims-2.3.8.jar 2024-11-15 17:38:41,798 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-shims-common-2.3.8.jar 2024-11-15 17:38:41,801 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-shims-scheduler-2.3.8.jar 2024-11-15 17:38:41,803 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-storage-api-2.7.2.jar 2024-11-15 17:38:41,806 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hive-vector-code-gen-2.3.8.jar 2024-11-15 17:38:41,808 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hk2-api-2.6.1.jar 2024-11-15 17:38:41,811 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hk2-locator-2.6.1.jar 2024-11-15 17:38:41,813 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/hk2-utils-2.6.1.jar 2024-11-15 17:38:41,816 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/htrace-core4-4.1.0-incubating.jar 2024-11-15 17:38:41,819 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/httpclient-4.5.6.jar 2024-11-15 17:38:41,822 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/httpcore-4.4.12.jar 2024-11-15 17:38:41,825 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/istack-commons-runtime-3.0.8.jar 2024-11-15 17:38:41,828 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/ivy-2.4.0.jar 2024-11-15 17:38:41,830 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/j2objc-annotations-1.1.jar 2024-11-15 17:38:41,833 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-annotations-2.10.0.jar 2024-11-15 17:38:41,835 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-core-2.10.0.jar 2024-11-15 17:38:41,839 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-core-asl-1.9.13.jar 2024-11-15 17:38:41,842 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-databind-2.10.0.jar 2024-11-15 17:38:41,844 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-dataformat-cbor-2.10.0.jar 2024-11-15 17:38:41,847 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-dataformat-yaml-2.10.0.jar 2024-11-15 17:38:41,849 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-datatype-jsr310-2.11.2.jar 2024-11-15 17:38:41,852 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-jaxrs-base-2.9.10.jar 2024-11-15 17:38:41,854 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-jaxrs-json-provider-2.9.10.jar 2024-11-15 17:38:41,857 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-mapper-asl-1.9.13.jar 2024-11-15 17:38:41,859 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-module-jaxb-annotations-2.10.0.jar 2024-11-15 17:38:41,862 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-module-paranamer-2.10.0.jar 2024-11-15 17:38:41,864 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jackson-module-scala_2.12-2.10.0.jar 2024-11-15 17:38:41,866 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jakarta.activation-api-1.2.1.jar 2024-11-15 17:38:41,869 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jakarta.annotation-api-1.3.5.jar 2024-11-15 17:38:41,871 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jakarta.inject-2.6.1.jar 2024-11-15 17:38:41,873 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jakarta.servlet-api-4.0.3.jar 2024-11-15 17:38:41,876 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jakarta.validation-api-2.0.2.jar 2024-11-15 17:38:41,878 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jakarta.ws.rs-api-2.1.6.jar 2024-11-15 17:38:41,881 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jakarta.xml.bind-api-2.3.2.jar 2024-11-15 17:38:41,883 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/janino-3.0.16.jar 2024-11-15 17:38:41,885 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/javassist-3.25.0-GA.jar 2024-11-15 17:38:41,888 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/javax.activation-api-1.2.0.jar 2024-11-15 17:38:41,890 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/javax.inject-1.jar 2024-11-15 17:38:41,892 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/javax.jdo-3.2.0-m3.jar 2024-11-15 17:38:41,895 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/javolution-5.5.1.jar 2024-11-15 17:38:41,897 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jaxb-api-2.2.11.jar 2024-11-15 17:38:41,899 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jaxb-runtime-2.3.2.jar 2024-11-15 17:38:41,902 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jcip-annotations-1.0-1.jar 2024-11-15 17:38:41,904 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jcl-over-slf4j-1.7.30.jar 2024-11-15 17:38:41,906 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jdo-api-3.0.1.jar 2024-11-15 17:38:41,909 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jersey-client-2.30.jar 2024-11-15 17:38:41,911 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jersey-common-2.30.jar 2024-11-15 17:38:41,914 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jersey-container-servlet-2.30.jar 2024-11-15 17:38:41,916 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jersey-container-servlet-core-2.30.jar 2024-11-15 17:38:41,919 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jersey-hk2-2.30.jar 2024-11-15 17:38:41,921 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jersey-media-jaxb-2.30.jar 2024-11-15 17:38:41,924 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jersey-server-2.30.jar 2024-11-15 17:38:41,926 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jetty-util-9.4.40.v20210413.jar 2024-11-15 17:38:41,928 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jetty-util-ajax-9.4.40.v20210413.jar 2024-11-15 17:38:41,931 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jline-2.14.6.jar 2024-11-15 17:38:41,933 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jniloader-1.1.jar 2024-11-15 17:38:41,935 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/joda-time-2.10.5.jar 2024-11-15 17:38:41,938 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jodd-core-3.5.2.jar 2024-11-15 17:38:41,940 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jpam-1.1.jar 2024-11-15 17:38:41,943 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/json-1.8.jar 2024-11-15 17:38:41,945 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/json-smart-2.3.jar 2024-11-15 17:38:41,947 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/json4s-ast_2.12-3.7.0-M5.jar 2024-11-15 17:38:41,950 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/json4s-core_2.12-3.7.0-M5.jar 2024-11-15 17:38:41,952 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/json4s-jackson_2.12-3.7.0-M5.jar 2024-11-15 17:38:41,954 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/json4s-scalap_2.12-3.7.0-M5.jar 2024-11-15 17:38:41,957 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jsp-api-2.1.jar 2024-11-15 17:38:41,959 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jsr305-3.0.0.jar 2024-11-15 17:38:41,962 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jta-1.1.jar 2024-11-15 17:38:41,964 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/jul-to-slf4j-1.7.30.jar 2024-11-15 17:38:41,967 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerb-admin-1.0.1.jar 2024-11-15 17:38:41,969 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerb-client-1.0.1.jar 2024-11-15 17:38:41,972 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerb-common-1.0.1.jar 2024-11-15 17:38:41,974 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerb-core-1.0.1.jar 2024-11-15 17:38:41,977 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerb-crypto-1.0.1.jar 2024-11-15 17:38:41,980 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerb-identity-1.0.1.jar 2024-11-15 17:38:41,983 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerb-server-1.0.1.jar 2024-11-15 17:38:41,985 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerb-simplekdc-1.0.1.jar 2024-11-15 17:38:41,988 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerb-util-1.0.1.jar 2024-11-15 17:38:41,990 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerby-asn1-1.0.1.jar 2024-11-15 17:38:41,992 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerby-config-1.0.1.jar 2024-11-15 17:38:41,995 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerby-pkix-1.0.1.jar 2024-11-15 17:38:41,997 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerby-util-1.0.1.jar 2024-11-15 17:38:42,000 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kerby-xdr-1.0.1.jar 2024-11-15 17:38:42,003 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kryo-shaded-4.0.2.jar 2024-11-15 17:38:42,006 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-client-4.12.0.jar 2024-11-15 17:38:42,008 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-admissionregistration-4.12.0.jar 2024-11-15 17:38:42,011 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-apiextensions-4.12.0.jar 2024-11-15 17:38:42,013 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-apps-4.12.0.jar 2024-11-15 17:38:42,016 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-autoscaling-4.12.0.jar 2024-11-15 17:38:42,018 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-batch-4.12.0.jar 2024-11-15 17:38:42,020 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-certificates-4.12.0.jar 2024-11-15 17:38:42,023 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-common-4.12.0.jar 2024-11-15 17:38:42,025 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-coordination-4.12.0.jar 2024-11-15 17:38:42,028 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-core-4.12.0.jar 2024-11-15 17:38:42,030 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-discovery-4.12.0.jar 2024-11-15 17:38:42,032 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-events-4.12.0.jar 2024-11-15 17:38:42,035 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-extensions-4.12.0.jar 2024-11-15 17:38:42,037 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-metrics-4.12.0.jar 2024-11-15 17:38:42,040 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-networking-4.12.0.jar 2024-11-15 17:38:42,042 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-policy-4.12.0.jar 2024-11-15 17:38:42,044 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-rbac-4.12.0.jar 2024-11-15 17:38:42,046 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-scheduling-4.12.0.jar 2024-11-15 17:38:42,048 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-settings-4.12.0.jar 2024-11-15 17:38:42,051 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/kubernetes-model-storageclass-4.12.0.jar 2024-11-15 17:38:42,053 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/leveldbjni-all-1.8.jar 2024-11-15 17:38:42,056 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/libfb303-0.9.3.jar 2024-11-15 17:38:42,058 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/libthrift-0.12.0.jar 2024-11-15 17:38:42,060 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar 2024-11-15 17:38:42,063 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/log4j-1.2.17.jar 2024-11-15 17:38:42,065 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/logging-interceptor-3.12.12.jar 2024-11-15 17:38:42,067 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/lz4-java-1.7.1.jar 2024-11-15 17:38:42,070 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/machinist_2.12-0.6.8.jar 2024-11-15 17:38:42,072 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/macro-compat_2.12-1.1.1.jar 2024-11-15 17:38:42,074 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/mesos-1.4.0-shaded-protobuf.jar 2024-11-15 17:38:42,077 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/metrics-core-4.1.1.jar 2024-11-15 17:38:42,079 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/metrics-graphite-4.1.1.jar 2024-11-15 17:38:42,081 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/metrics-jmx-4.1.1.jar 2024-11-15 17:38:42,084 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/metrics-json-4.1.1.jar 2024-11-15 17:38:42,086 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/metrics-jvm-4.1.1.jar 2024-11-15 17:38:42,089 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/minlog-1.3.0.jar 2024-11-15 17:38:42,091 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/native_ref-java-1.1.jar 2024-11-15 17:38:42,094 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/native_system-java-1.1.jar 2024-11-15 17:38:42,096 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_ref-linux-armhf-1.1-natives.jar 2024-11-15 17:38:42,098 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_ref-linux-i686-1.1-natives.jar 2024-11-15 17:38:42,101 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_ref-linux-x86_64-1.1-natives.jar 2024-11-15 17:38:42,104 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_ref-osx-x86_64-1.1-natives.jar 2024-11-15 17:38:42,106 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_ref-win-i686-1.1-natives.jar 2024-11-15 17:38:42,109 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_ref-win-x86_64-1.1-natives.jar 2024-11-15 17:38:42,111 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_system-linux-armhf-1.1-natives.jar 2024-11-15 17:38:42,113 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_system-linux-i686-1.1-natives.jar 2024-11-15 17:38:42,116 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_system-linux-x86_64-1.1-natives.jar 2024-11-15 17:38:42,118 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_system-osx-x86_64-1.1-natives.jar 2024-11-15 17:38:42,121 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_system-win-i686-1.1-natives.jar 2024-11-15 17:38:42,123 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netlib-native_system-win-x86_64-1.1-natives.jar 2024-11-15 17:38:42,126 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/netty-all-4.1.51.Final.jar 2024-11-15 17:38:42,130 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/nimbus-jose-jwt-7.9.jar 2024-11-15 17:38:42,134 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/objenesis-2.6.jar 2024-11-15 17:38:42,136 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/okhttp-2.7.5.jar 2024-11-15 17:38:42,140 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/okhttp-3.12.12.jar 2024-11-15 17:38:42,143 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/okio-1.14.0.jar 2024-11-15 17:38:42,146 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/opencsv-2.3.jar 2024-11-15 17:38:42,149 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/orc-core-1.5.12.jar 2024-11-15 17:38:42,152 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/orc-mapreduce-1.5.12.jar 2024-11-15 17:38:42,155 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/orc-shims-1.5.12.jar 2024-11-15 17:38:42,160 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/oro-2.0.8.jar 2024-11-15 17:38:42,164 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/osgi-resource-locator-1.0.3.jar 2024-11-15 17:38:42,166 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/paranamer-2.8.jar 2024-11-15 17:38:42,169 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/parquet-column-1.10.1.jar 2024-11-15 17:38:42,171 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/parquet-common-1.10.1.jar 2024-11-15 17:38:42,173 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/parquet-encoding-1.10.1.jar 2024-11-15 17:38:42,176 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/parquet-format-2.4.0.jar 2024-11-15 17:38:42,178 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/parquet-hadoop-1.10.1.jar 2024-11-15 17:38:42,180 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/parquet-jackson-1.10.1.jar 2024-11-15 17:38:42,183 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/protobuf-java-2.5.0.jar 2024-11-15 17:38:42,185 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/py4j-0.10.9.jar 2024-11-15 17:38:42,187 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/pyrolite-4.30.jar 2024-11-15 17:38:42,189 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/re2j-1.1.jar 2024-11-15 17:38:42,191 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/remotetea-oncrpc-1.1.2.jar 2024-11-15 17:38:42,194 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/scala-collection-compat_2.12-2.1.1.jar 2024-11-15 17:38:42,196 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/scala-compiler-2.12.10.jar 2024-11-15 17:38:42,198 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/scala-library-2.12.10.jar 2024-11-15 17:38:42,200 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/scala-parser-combinators_2.12-1.1.2.jar 2024-11-15 17:38:42,202 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/scala-reflect-2.12.10.jar 2024-11-15 17:38:42,204 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/scala-xml_2.12-1.2.0.jar 2024-11-15 17:38:42,207 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/shapeless_2.12-2.3.3.jar 2024-11-15 17:38:42,209 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/shims-0.9.0.jar 2024-11-15 17:38:42,211 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/slf4j-api-1.7.30.jar 2024-11-15 17:38:42,213 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/slf4j-log4j12-1.7.30.jar 2024-11-15 17:38:42,216 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/snakeyaml-1.24.jar 2024-11-15 17:38:42,218 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/snappy-java-1.1.8.2.jar 2024-11-15 17:38:42,220 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-catalyst_2.12-3.1.2.jar 2024-11-15 17:38:42,222 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-core_2.12-3.1.2.jar 2024-11-15 17:38:42,224 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-ganglia-lgpl_2.12-3.1.2.jar 2024-11-15 17:38:42,226 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-graphx_2.12-3.1.2.jar 2024-11-15 17:38:42,230 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-hadoop-cloud_2.12-3.1.2.jar 2024-11-15 17:38:42,232 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-hive-thriftserver_2.12-3.1.2.jar 2024-11-15 17:38:42,234 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-hive_2.12-3.1.2.jar 2024-11-15 17:38:42,236 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-kubernetes_2.12-3.1.2.jar 2024-11-15 17:38:42,238 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-kvstore_2.12-3.1.2.jar 2024-11-15 17:38:42,241 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-launcher_2.12-3.1.2.jar 2024-11-15 17:38:42,243 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-mesos_2.12-3.1.2.jar 2024-11-15 17:38:42,245 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-mllib-local_2.12-3.1.2.jar 2024-11-15 17:38:42,247 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-mllib_2.12-3.1.2.jar 2024-11-15 17:38:42,249 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-network-common_2.12-3.1.2.jar 2024-11-15 17:38:42,251 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-network-shuffle_2.12-3.1.2.jar 2024-11-15 17:38:42,253 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-repl_2.12-3.1.2.jar 2024-11-15 17:38:42,256 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-sketch_2.12-3.1.2.jar 2024-11-15 17:38:42,258 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-sql_2.12-3.1.2.jar 2024-11-15 17:38:42,260 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-streaming_2.12-3.1.2.jar 2024-11-15 17:38:42,262 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-tags_2.12-3.1.2-tests.jar 2024-11-15 17:38:42,264 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-tags_2.12-3.1.2.jar 2024-11-15 17:38:42,266 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-unsafe_2.12-3.1.2.jar 2024-11-15 17:38:42,268 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spark-yarn_2.12-3.1.2.jar 2024-11-15 17:38:42,270 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spire-macros_2.12-0.17.0-M1.jar 2024-11-15 17:38:42,272 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spire-platform_2.12-0.17.0-M1.jar 2024-11-15 17:38:42,274 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spire-util_2.12-0.17.0-M1.jar 2024-11-15 17:38:42,276 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/spire_2.12-0.17.0-M1.jar 2024-11-15 17:38:42,278 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/stax-api-1.0.1.jar 2024-11-15 17:38:42,281 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/stax2-api-3.1.4.jar 2024-11-15 17:38:42,283 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/stream-2.9.6.jar 2024-11-15 17:38:42,285 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/super-csv-2.2.0.jar 2024-11-15 17:38:42,287 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/threeten-extra-1.5.0.jar 2024-11-15 17:38:42,289 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/token-provider-1.0.1.jar 2024-11-15 17:38:42,291 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/transaction-api-1.1.jar 2024-11-15 17:38:42,294 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/univocity-parsers-2.9.1.jar 2024-11-15 17:38:42,296 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/velocity-1.5.jar 2024-11-15 17:38:42,298 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/wildfly-openssl-1.0.7.Final.jar 2024-11-15 17:38:42,300 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/woodstox-core-5.0.3.jar 2024-11-15 17:38:42,302 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/xbean-asm7-shaded-4.15.jar 2024-11-15 17:38:42,304 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/xz-1.5.jar 2024-11-15 17:38:42,306 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/zjsonpatch-0.3.0.jar 2024-11-15 17:38:42,308 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/zookeeper-3.4.14.jar 2024-11-15 17:38:42,310 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs://example-hdfs/user/test/spark/libs/spark-arn-jars/zstd-jni-1.4.8-1.jar 2024-11-15 17:38:42,327 INFO yarn.Client: Source and destination file systems are the same. Not copying hdfs:/user/test/pyspark_env.tar.gz#pyspark_env 2024-11-15 17:38:42,344 INFO yarn.Client: Uploading resource file:/home/test/test.py -> hdfs://example-hdfs/user/test/.sparkStaging/application_173088658438_0003/test.py 2024-11-15 17:38:42,861 INFO yarn.Client: Uploading resource file:/opt/bigdata/spark/current/python/lib/pyspark.zip -> hdfs://example-hdfs/user/test/.sarkStaging/application_1730886518438_0003/pyspark.zip 2024-11-15 17:38:42,950 INFO yarn.Client: Uploading resource file:/opt/bigdata/spark/current/python/lib/py4j-0.10.9-src.zip -> hdfs://example-hdfs/use/test/.sparkStaging/application_1730886518438_0003/py4j-0.10.9-src.zip 2024-11-15 17:38:43,419 INFO yarn.Client: Uploading resource file:/tmp/spark-0d4cb7de-c038-4966-a554-391cf5eb2814/__spark_conf__7713810412816413378.zp -> hdfs://example-hdfs/user/test/.sparkStaging/application_1730886518438_0003/__spark_conf__.zip 2024-11-15 17:38:43,563 INFO spark.SecurityManager: Changing view acls to: test 2024-11-15 17:38:43,564 INFO spark.SecurityManager: Changing modify acls to: test 2024-11-15 17:38:43,565 INFO spark.SecurityManager: Changing view acls groups to: 2024-11-15 17:38:43,567 INFO spark.SecurityManager: Changing modify acls groups to: 2024-11-15 17:38:43,568 INFO spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(test; groups with view permissions: Set(); users with modify permissions: Set(test); groups with modify permissions: Set() 2024-11-15 17:38:43,690 INFO yarn.Client: Submitting application application_1730886518438_0003 to ResourceManager 2024-11-15 17:38:43,982 INFO impl.YarnClientImpl: Submitted application application_1730886518438_0003 2024-11-15 17:38:44,988 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:44,995 INFO yarn.Client: client token: N/A diagnostics: AM container is launched, waiting for AM container to Register with RM ApplicationMaster host: N/A ApplicationMaster RPC port: -1 queue: default start time: 1731663523749 final status: UNDEFINED tracking URL: http://hadoop03:8088/proxy/application_1730886518438_0003/ user: test 2024-11-15 17:38:45,998 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:47,001 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:48,004 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:49,008 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:50,010 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:51,013 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:52,016 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:53,019 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:54,022 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:55,025 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:56,028 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:57,031 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:58,035 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:38:59,039 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:39:00,042 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:39:01,045 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:39:02,047 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:39:03,051 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:39:04,054 INFO yarn.Client: Application report for application_1730886518438_0003 (state: ACCEPTED) 2024-11-15 17:39:05,057 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:05,058 INFO yarn.Client: client token: N/A diagnostics: N/A ApplicationMaster host: hadoop02 ApplicationMaster RPC port: 43158 queue: default start time: 1731663523749 final status: UNDEFINED tracking URL: http://hadoop03:8088/proxy/application_1730886518438_0003/ user: test 2024-11-15 17:39:06,061 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:07,064 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:08,067 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:09,070 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:10,072 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:11,075 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:12,079 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:13,081 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:14,084 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:15,087 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:16,090 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:17,093 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:18,096 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:19,099 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:20,102 INFO yarn.Client: Application report for application_1730886518438_0003 (state: RUNNING) 2024-11-15 17:39:21,105 INFO yarn.Client: Application report for application_1730886518438_0003 (state: FINISHED) 2024-11-15 17:39:21,106 INFO yarn.Client: client token: N/A diagnostics: N/A ApplicationMaster host: hadoop02 ApplicationMaster RPC port: 43158 queue: default start time: 1731663523749 final status: SUCCEEDED tracking URL: http://hadoop03:8088/proxy/application_1730886518438_0003/ user: test 2024-11-15 17:39:21,135 INFO util.ShutdownHookManager: Shutdown hook called 2024-11-15 17:39:21,138 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-8bcc6fb4-6632-4593-8e86-445ccba65497 2024-11-15 17:39:21,149 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-0d4cb7de-c038-4966-a554-391cf5eb2814
$ cd /opt/bigdata/flink/current/ $ ./bin/yarn-session.sh -d # 日志节选
.......
2022-05-19 22:45:37,278 INFO org.apache.flink.yarn.YarnClusterDescriptor [] - Found Web Interface hadoop01:33237 of application 'application_1652942203850_0022'. JobManager Web Interface: http://hadoop01:33237 2022-05-19 22:45:37,404 INFO org.apache.flink.yarn.cli.FlinkYarnSessionCli [] - The Flink YARN session cluster has been started in detached mode. In order to stop Flink gracefully, use the following command: $ echo "stop" | ./bin/yarn-session.sh -id application_1652942203850_0022 If this should not be possible, then you can also kill Flink via YARN's web interface or via: $ yarn application -kill application_1652942203850_0022 Note that killing Flink might not clean up all job artifacts and temporary files.
$ hdfs dfs -text /logs/count hadoop 4 hive 2 linux 3 mapreduce 1 spark 2 unix 2 windows 2
能看到结果
网页查看
遇到的问题
classloader
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Exception in thread "Thread-5" java.lang.IllegalStateException: Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'. at org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.ensureInner(FlinkUserCodeClassLoaders.java:164) at org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.getResource(FlinkUserCodeClassLoaders.java:183) at org.apache.hadoop.conf.Configuration.getResource(Configuration.java:2830) at org.apache.hadoop.conf.Configuration.getStreamReader(Configuration.java:3104) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:3063) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:3036) at org.apache.hadoop.conf.Configuration.loadProps(Configuration.java:2914) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2896) at org.apache.hadoop.conf.Configuration.get(Configuration.java:1246) at org.apache.hadoop.conf.Configuration.getTimeDuration(Configuration.java:1863) at org.apache.hadoop.conf.Configuration.getTimeDuration(Configuration.java:1840) at org.apache.hadoop.util.ShutdownHookManager.getShutdownTimeout(ShutdownHookManager.java:183) at org.apache.hadoop.util.ShutdownHookManager.shutdownExecutor(ShutdownHookManager.java:145) at org.apache.hadoop.util.ShutdownHookManager.access$300(ShutdownHookManager.java:65) at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:102)
org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: java.util.concurrent.ExecutionExce: java.lang.RuntimeException: org.apache.flink.runtime.client.JobInitializationException: Could not start the JobMaster. at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:372) at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222) at org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:114) at org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:836) at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:247) at org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1078) at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1156) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1878) at org.apache.flink.runtime.security.contexts.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41) at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1156) Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.flink.ru.client.JobInitializationException: Could not start the JobMaster. at org.apache.flink.util.ExceptionUtils.rethrow(ExceptionUtils.java:319) at org.apache.flink.api.java.ExecutionEnvironment.executeAsync(ExecutionEnvironment.java:1061) at org.apache.flink.client.program.ContextEnvironment.executeAsync(ContextEnvironment.java:132) at org.apache.flink.client.program.ContextEnvironment.execute(ContextEnvironment.java:70) at org.apache.flink.examples.java.wordcount.WordCount.main(WordCount.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:355) ... 11 more Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.flink.runtime.client.JobInitializatieption: Could not start the JobMaster. at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908) at org.apache.flink.api.java.ExecutionEnvironment.executeAsync(ExecutionEnvironment.java:1056) ... 19 more Caused by: java.lang.RuntimeException: org.apache.flink.runtime.client.JobInitializationException: Could not start the JobMaste at org.apache.flink.util.ExceptionUtils.rethrow(ExceptionUtils.java:319) at org.apache.flink.util.function.FunctionUtils.lambda$uncheckedFunction$2(FunctionUtils.java:75) at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616) at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:591) at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:457) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172) Caused by: org.apache.flink.runtime.client.JobInitializationException: Could not start the JobMaster. at org.apache.flink.runtime.jobmaster.DefaultJobMasterServiceProcess.lambda$new$0(DefaultJobMasterServiceProcess.java:9 at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1609) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.util.concurrent.CompletionException: java.lang.RuntimeException: org.apache.flink.runtime.client.JobExecutionExon: Cannot initialize task 'DataSink (CsvOutputFormat (path: hdfs://bigdata/logs/count, delimiter: ))': File or directory alrexists. Existing files and directories are not overwritten in NO_OVERWRITE mode. Use OVERWRITE mode to overwrite existing files irectories. at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) ... 3 more Caused by: java.lang.RuntimeException: org.apache.flink.runtime.client.JobExecutionException: Cannot initialize task 'DataSink utputFormat (path: hdfs://bigdata/logs/count, delimiter: ))': File or directory already exists. Existing files and directoriesnot overwritten in NO_OVERWRITE mode. Use OVERWRITE mode to overwrite existing files and directories. at org.apache.flink.util.ExceptionUtils.rethrow(ExceptionUtils.java:319) at org.apache.flink.util.function.FunctionUtils.lambda$uncheckedSupplier$4(FunctionUtils.java:114) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ... 3 more Caused by: org.apache.flink.runtime.client.JobExecutionException: Cannot initialize task 'DataSink (CsvOutputFormat (path: hdfsgdata/logs/count, delimiter: ))': File or directory already exists. Existing files and directories are not overwritten in NO_OITE mode. Use OVERWRITE mode to overwrite existing files and directories. at org.apache.flink.runtime.executiongraph.DefaultExecutionGraphBuilder.buildGraph(DefaultExecutionGraphBuilder.java:17 at org.apache.flink.runtime.scheduler.DefaultExecutionGraphFactory.createAndRestoreExecutionGraph(DefaultExecutionGraphry.java:149) at org.apache.flink.runtime.scheduler.SchedulerBase.createAndRestoreExecutionGraph(SchedulerBase.java:363) at org.apache.flink.runtime.scheduler.SchedulerBase.<init>(SchedulerBase.java:208) at org.apache.flink.runtime.scheduler.DefaultScheduler.<init>(DefaultScheduler.java:191) at org.apache.flink.runtime.scheduler.DefaultScheduler.<init>(DefaultScheduler.java:139) at org.apache.flink.runtime.scheduler.DefaultSchedulerFactory.createInstance(DefaultSchedulerFactory.java:135) at org.apache.flink.runtime.jobmaster.DefaultSlotPoolServiceSchedulerFactory.createScheduler(DefaultSlotPoolServiceScheFactory.java:115) at org.apache.flink.runtime.jobmaster.JobMaster.createScheduler(JobMaster.java:345) at org.apache.flink.runtime.jobmaster.JobMaster.<init>(JobMaster.java:322) at org.apache.flink.runtime.jobmaster.factories.DefaultJobMasterServiceFactory.internalCreateJobMasterService(DefaultJoerServiceFactory.java:106) at org.apache.flink.runtime.jobmaster.factories.DefaultJobMasterServiceFactory.lambda$createJobMasterService$0(DefaultJterServiceFactory.java:94) at org.apache.flink.util.function.FunctionUtils.lambda$uncheckedSupplier$4(FunctionUtils.java:112) ... 4 more Caused by: java.io.IOException: File or directory already exists. Existing files and directories are not overwritten in NO_OVER mode. Use OVERWRITE mode to overwrite existing files and directories. at org.apache.flink.core.fs.FileSystem.initOutPathDistFS(FileSystem.java:995) at org.apache.flink.api.common.io.FileOutputFormat.initializeGlobal(FileOutputFormat.java:299) at org.apache.flink.runtime.jobgraph.InputOutputFormatVertex.initializeOnMaster(InputOutputFormatVertex.java:110) at org.apache.flink.runtime.executiongraph.DefaultExecutionGraphBuilder.buildGraph(DefaultExecutionGraphBuilder.java:17 ... 16 more
$ hive which: no hbase in (/opt/bigdata/java/current/bin:/opt/bigdata/java/current/bin:/opt/bigdata/java/default/bin:/opt/bigdata/java/current/bin:/opt/bigdata/java/current/bin:/opt/bigdata/java/default/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/bigdata/hadoop/current/bin:/opt/bigdata/hadoop/current/sbin:/root/bin:/bin:/opt/bigdata/hive/current/bin) SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/bigdata/hive/apache-hive-3.1.3-bin/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/bigdata/hadoop/hadoop-3.3.2/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] Hive Session ID = be148795-b9a0-4a33-abce-b13042eb5d35
Logging initialized using configuration in jar:file:/opt/bigdata/hive/apache-hive-3.1.3-bin/lib/hive-common-3.1.3.jar!/hive-log4j2.properties Async: true Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases. Hive Session ID = 0dc1e75e-3121-486e-ada9-81b7a693a979 hive> show databases; OK default Time taken: 0.374 seconds, Fetched: 1 row(s) hive> use default; OK Time taken: 0.03 seconds hive> show tables; OK Time taken: 0.032 seconds hive> exit;
使用JDBC方式访问Hive
需要修改 /etc/hadoop/conf/core-site.xml(Hadoop 没有 .yml 配置,内容是 XML;写进 .yml 不会被读取,hadoop.proxyuser.hadoop.* 不生效,beeline 会报 is not allowed to impersonate)
mkdir -p /opt/bigdata/tez/tez-0.10.1 tar zxvf tez-0.10.1-minimal.tar.gz -C /opt/bigdata/tez/tez-0.10.1 cd /opt/bigdata/tez ln -s tez-0.10.1 current
chown -R hadoop:hadoop /opt/bigdata/tez
修改 /opt/bigdata/hive/current/conf/hive-env.sh
1 2 3 4 5 6 7 8 9 10 11 12 13
export HIVE_HOME=/opt/bigdata/hive/current export TEZ_HOME=/opt/bigdata/tez/current export TEZ_JARS="" for jar in `ls $TEZ_HOME |grep jar`; do export TEZ_JARS=$TEZ_JARS:$TEZ_HOME/$jar done for jar in `ls $TEZ_HOME/lib`; do export TEZ_JARS=$TEZ_JARS:$TEZ_HOME/lib/$jar done # 上面两个循环已经把 TEZ_JARS 拼成了"冒号分隔的完整 jar 路径列表", # 这里不能再当目录去追加 /*,否则最后一项会变成 .../xxx.jar/* 这种非法项, # 而且原有的 $HADOOP_CLASSPATH 也被整体丢弃了。 export HADOOP_CLASSPATH=${TEZ_JARS}:${HADOOP_CLASSPATH}
排查顺序建议反过来走:先用 set -v 打出实际生效值(hive-site.xml、tez-site.xml、会话级 set 三层会互相覆盖),再对着上面这张图逐层比对,而不是看到报错就调其中一个。
另外这一节前面”mr 15.7s vs tez 3.4s”那个对比要打个折扣看:测的是 5 行、105 字节的表,两个数字里量到的几乎全是引擎启动开销,而且 Tez 那次是同一会话复用了已有的 AM(省掉了 AM 启动)。这能说明”Tez 启动比 MR 快”,但不能当作引擎性能的一般结论——真要比得上规模数据、清掉缓存、各跑几轮。
日志文件
/tmp/root/hive.log
1 2 3 4 5
property.hive.log.level = INFO property.hive.root.logger = DRFA property.hive.log.dir = ${sys:java.io.tmpdir}/${sys:user.name} property.hive.log.file = hive.log property.hive.perflogger.log.level = INFO
<property> <name>hbase.client.scanner.timeout.period</name> <value>300000</value> <description>default is 60s</description> </property>
<!-- 别配成 1800000(30 分钟):一是这个值受 ZK 服务端 maxSessionTimeout 封顶 (默认 20 × tickTime,通常 40s),客户端单方面写大了协商不下来,除非同步改 zoo.cfg; 二是 30 分钟意味着 RegionServer 宕机后要 30 分钟才被发现、才触发 region 重分配, 这期间它上面的 region 全部不可用。 --> <property> <name>zookeeper.session.timeout</name> <value>90000</value> <description>default is 90s</description> </property> <property> <name>hbase.rpc.timeout</name> <value>300000</value> <description>default is 60s</description> </property> <property> <name>hbase.hregion.memstore.flush.size</name> <value>268435456</value> <description>default is 128M</description> </property> <property> <name>hbase.hregion.max.filesize</name> <value>6442450944</value> </property> <property> <name>hbase.regionserver.handler.count</name> <value>100</value> <description>default is 30</description> </property>
<!-- 测试需要添加此项,不然报错ServerNotRunningYetException: Server is not running --> <property> <name>hbase.wal.provider</name> <value>filesystem</value> </property> </configuration>
HBase 在启动时会校验这两者之和,超过 0.8 直接拒绝启动(报 Current heap configuration for MemStore and BlockCache exceeds the threshold required for successful cluster operation)。留出的 0.2 是给 RPC 队列、region 元数据、压缩缓冲这些用的。
[hadoop@hadoop02 bin]$ hbase shell HBase Shell Use "help" to get list of supported commands. Use "exit" to quit this interactive shell. For Reference, please visit: http://hbase.apache.org/2.0/book.html#shell Version 2.4.12, r8382f55b15be6ae190f8d202a5e6a40af177ec76, Fri Apr 29 19:34:27 PDT 2022 Took 0.0010 seconds hbase:001:0> create 'test','data' Created table test Took 0.8866 seconds => Hbase::Table - test hbase:002:0> list TABLE test 1 row(s) Took 0.0149 seconds => ["test"] hbase:003:0>
mkdir -p /opt/bigdata/elasticsearch tar -zxf elasticsearch-8.2.0-linux-x86_64.tar.gz -C /opt/bigdata/elasticsearch cd /opt/bigdata/elasticsearch/ ln -s elasticsearch-8.2.0 current
mkdir -p /opt/bigdata/logstash tar -zxf logstash-8.2.0-linux-x86_64.tar.gz -C /opt/bigdata/logstash cd /opt/bigdata/logstash/ ln -s logstash-8.2.0 current
先用命令行参数跑一个读标准输入、打印到标准输出的最小例子:
1 2
cd /opt/bigdata/logstash/current bin/logstash -e 'input{stdin{}} output{stdout{codec=>rubydebug}}'
hello world # 输入 {"message":"hello world # 输入","@version":"1","host":{"hostname":"hadoop02"},"event":{"original":"hello world # 输入"},"@timestamp":"2022-05-23T02:04:49.242024Z"}
mkdir -p /opt/bigdata/filebeat tar -zxf filebeat-8.2.0-linux-x86_64.tar.gz -C /opt/bigdata/filebeat cd /opt/bigdata/filebeat/ ln -s filebeat-8.2.0-linux-x86_64 current
cd /opt/bigdata/kafka/current/bin ./kafka-console-consumer.sh --bootstrap-server hadoop01:9092,hadoop02:9092,hadoop03:9092 --topic my_test --from-beginning
默认配置下消息是完整的 JSON,字段非常多:
1
{"@timestamp":"2022-05-22T08:20:32.262Z","@metadata":{"beat":"filebeat","type":"_doc","version":"8.2.0"},"ecs":{"version":"8.0.0"},"log":{"offset":3204,"file":{"path":"/var/log/secure"}},"message":"May 22 04:20:30 hadoop02 sshd[18047]: pam_systemd(sshd:session): Failed to release session: Interrupted system call","input":{"type":"log"},"host":{"containerized":false,"ip":["192.168.2.242","fe80::ec97:d991:4336:2e98","fe80::f0df:f765:7f99:9634"],"mac":["00:0c:29:68:79:09"],"hostname":"hadoop02","name":"hadoop02","architecture":"x86_64","os":{"type":"linux","platform":"centos","version":"7 (Core)","family":"redhat","name":"CentOS Linux","kernel":"3.10.0-1160.el7.x86_64","codename":"Core"},"id":"0988a88e747e428dbcf4fdc212a6c1ac"},"agent":{"ephemeral_id":"4f44629c-d5e9-4ae4-a5fc-6f96df866dfe","id":"5d7e5f81-16e5-4863-b736-89f6873105ec","name":"hadoop02","type":"filebeat","version":"8.2.0"}}
加上 drop_fields 之后,只剩下关心的字段:
1
{"@timestamp":"2022-05-22T08:32:49.556Z","@metadata":{"beat":"filebeat","type":"_doc","version":"8.2.0"},"log":{"file":{"path":"/var/log/secure"},"offset":5550},"message":"May 22 04:32:49 hadoop02 sshd[23225]: Received disconnect from 192.168.2.242 port 55948:11: disconnected by user","agent":{"name":"hadoop02"}}
May 22 04:43:41 hadoop01 sshd[3106]: Accepted publickey for root from 192.168.2.243 port 41710 ssh2: RSA SHA256:F1RBzp64noGdTdwWX8w+PYfi0zs8ifzkv+etLAOaCJQ May 22 04:43:41 hadoop01 sshd[3106]: pam_unix(sshd:session): session opened for user root by (uid=0)
mkdir -p /opt/bigdata/kafka-eagle tar -zxf v2.1.0.tar.gz cd kafka-eagle-bin-2.1.0 tar zxf efak-web-2.1.0-bin.tar.gz -C /opt/bigdata/kafka-eagle cd /opt/bigdata/kafka-eagle ln -s efak-web-2.1.0 current chown -R kafka:kafka /opt/bigdata/kafka-eagle
[root@test-152 keytabs]# KRB5_TRACE=/dev/stdout kinit -kt test.keytab test [3737241] 1731657026.743873: Getting initial credentials for [email protected] [3737241] 1731657026.743874: Looked up etypes in keytab: aes256-cts, aes128-cts [3737241] 1731657026.743876: Sending unauthenticated request [3737241] 1731657026.743877: Sending request (175 bytes) to example.COM [3737241] 1731657026.743878: Resolving hostname test-152 [3737241] 1731657026.743879: Sending initial UDP request to dgram 172.20.1.152:88 [3737241] 1731657026.743880: Received answer (692 bytes) from dgram 172.20.1.152:88 [3737241] 1731657026.743881: Sending DNS URI query for _kerberos.example.COM. [3737241] 1731657026.743882: No URI records found [3737241] 1731657026.743883: Sending DNS SRV query for _kerberos-master._udp.example.COM. [3737241] 1731657026.743884: Sending DNS SRV query for _kerberos-master._tcp.example.COM. [3737241] 1731657026.743885: No SRV records found [3737241] 1731657026.743886: Response was not from master KDC [3737241] 1731657026.743887: Processing preauth types: PA-ETYPE-INFO2 (19) [3737241] 1731657026.743888: Selected etype info: etype aes256-cts, salt "example.COMtest", params "" [3737241] 1731657026.743889: Produced preauth for next request: (empty) [3737241] 1731657026.743890: Getting AS key, salt "example.COMtest", params "" [3737241] 1731657026.743891: Retrieving [email protected] from FILE:test.keytab (vno 0, enctype aes256-cts) with result: 0/Success [3737241] 1731657026.743892: AS key obtained from gak_fct: aes256-cts/C03C [3737241] 1731657026.743893: Decrypted AS reply; session key is: aes256-cts/0610 [3737241] 1731657026.743894: FAST negotiation: available [3737241] 1731657026.743895: Initializing FILE:/tmp/krb5cc_0 with default princ [email protected] [3737241] 1731657026.743896: Storing [email protected] -> krbtgt/[email protected] in FILE:/tmp/krb5cc_0 [3737241] 1731657026.743897: Storing config in FILE:/tmp/krb5cc_0 for krbtgt/[email protected]: fast_avail: yes [3737241] 1731657026.743898: Storing [email protected] -> krb5_ccache_conf_data/fast_avail/krbtgt\/example.COM\@example.COM@X-CACHECONF: in FILE:/tmp/krb5cc_0