In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
In yarn mode, the jar package will be uploaded to yarn to execute the spark program. If you upload it every time, it will take a lot of time. Moreover, if it is Ali Yun's machine, the upload is very slow, and the 180m jar will take more than ten minutes to upload, so you have to upload it to hdfs in advance.
Spark supports the following parameters
Spark.yarn.jars: you can only specify a specific jar package. Before spark1.6.2 (including), you can download a large jar package from the official website and write this jar package, but after 2.0, it becomes a lot of small packages.
Spark.yarn.archive: this folder is supported, but there is one thing to note
.set ("spark.yarn.archive", "hdfs://node2:8020/user/xiaokan/assembly/target/scala-2.11/jars")
.set ("spark.yarn.archive", "hdfs://node2:8020/user/xiaokan/assembly/target/scala-2.11/jars/")
Only the first one is correct, the second is wrong, and the second does not read any jar packets.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.