In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 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.
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.