In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
The following configuration is required for viewing SPARK history tasks:
Modify spark-defaults.conf configuration file
Spark.eventLog.enabled true
Spark.eventLog.dir hdfs://192.168.9.110:9000/eventLogs
Spark.eventLog.compress true
Modify spark-env.sh configuration file
Export SPARK_HISTORY_OPTS= "- Dspark.history.ui.port=18080-Dspark.history.retainedApplications=3-Dspark.history.fs.logDirectory=hdfs://DEV-HADOOP-01:9000/sparkHistoryLogs"
Both spark.eventLog.dir and SPARK_HISTORY_OPTS use hdfs to store log information for historical tasks in the above two configurations. So you need to create these two directories hdfs://192.168.9.110:9000/eventLogs and hdfs://DEV-HADOOP-01:9000/sparkHistoryLogs in hdfs ahead of time.
Enter the bin directory command of hadoop: cd / data/server/hadoop-2.6.0/bin
New hdfs://192.168.9.110:9000/eventLogs command:. / hadoop dfs-mkdir / eventLogs
New hdfs://DEV-HADOOP-01:9000/sparkHistoryLogs command:. / hadoop dfs-mkdir / sparkHistoryLogs
Restart the spark cluster
Start the history task process
Sbin/start-history-server.sh
The history task process initiates verification
Execute the jps command and the HistoryServer process appears
View Historical Task Web UI
Http://192.168.9.110:18080/
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.