What Can I Do If Device Performance Data Is Not Displayed on the Controller?
Question
Device performance data is not displayed on the controller, and a log that contains "Token has expired" can be found in Yarn tasks on FusionInsight Manager.
Answer
- Log in to FusionInsight Manager as the admin user.
- Choose from the main menu.
- Choose custom to spark.security.credentials.renewalRatio and 0.000000000007, respectively. , and set Name and Value next to
If the following window is displayed, close it.
- Choose custom to spark.security.credentials.renewalRatio and 0.000000000007, respectively. , and set Name and Value next to
If the following window is displayed, close it.
- Click Save in the upper left corner of the page.
- On the Save Configuration page that is displayed, click OK. The configuration is saved successfully after about 1 minute.
- Choose and choose in the upper right corner of the page.
- On the Verify Identity page, enter the login password for the admin user and click OK.
- Modify the FusionInsight client configuration on the controller server.
- Log in to the controller server as the sopuser user and switch to the ossuser user.
- Modify the FusionInsight client configuration. Run the following command to go to the /opt/hadoopclient/Spark2x/spark/conf/ directory:
cd /opt/hadoopclient/Spark2x/spark/conf/
If the directory does not exist on the server, you do not need to perform the following operations. If the directory exists, run the following command:
vi spark-defaults.conf
Change the spark.security.credentials.renewalRatio value in the vi spark-defaults.conf file as follows. If the parameter does not exist, add it to the end of this file.
spark.security.credentials.renewalRatio = 0.000000000007
- Restart CampusPerfService.
- Log in to the management plane of the controller as the admin user.
- On the homepage, click the service icon of the desired product.
- Search for CampusPerfService in the search box, select the CampusPerfService check box, and click Stop.
- After CampusPerfService is stopped, click Start to start this service.
- Restart Spark tasks.
- Log in to FusionInsight Manager as the admin user.
- Choose Cluster > Yarn > Dashboard from the main menu, and click ResourcesManager(***,Active)
- On the page that is displayed, choose
- Choose each application_XXXXX task. On the page that displayed, Click Kill Application to stop the task.
- Repeat operations in 11.d to stop all Spark tasks and wait for the system to start these Spark tasks.