Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
02-24-2023
07:29 AM
- last edited on
04-21-2026
12:43 AM
by
GrazittiAPI
Hi team,
I have the error Faled running performance when i run the "Inspect network Performance" all the nodes of clouster are good except one. I see this error:
[24/Feb/2023 09:19:19 -0600] 1547408 MainThread redactor INFO Started launcher: /opt/cloudera/cm-agent/service/perf/host_perf_diag.py input.json logs/result.json
[24/Feb/2023 09:19:19 -0600] 1547408 MainThread redactor ERROR Redaction rules file doesn't exist, not redacting logs. file: redaction-rules.json, directory: /run/cloudera-scm-agent/process/1502-host-perf-inspector
[24/Feb/2023 09:19:19 -0600] 1547408 MainThread redactor INFO Re-exec watcher: /opt/cloudera/cm-agent/bin/cm proc_watcher 1547410
Traceback (most recent call last):
File "/opt/cloudera/cm-agent/bin/cm", line 8, in <module>
sys.exit(main())
File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/cmf/main.py", line 399, in main
root(obj=argparse.Namespace())
File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
return self.main(*args, **kwargs)
File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/click/core.py", line 1062, in main
rv = self.invoke(ctx)
File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/click/core.py", line 1668, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/click/core.py", line 763, in invoke
return __callback(*args, **kwargs)
File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/cmf/main.py", line 208, in launch
cmf.redactor.launch(one_off, command_args)
File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/cmf/redactor.py", line 270, in launch
os.execve(args[0], args, os.environ)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/cloudera/cm-agent/service/perf/host_perf_diag.py'
Created 02-24-2023 08:14 AM
Hi,
If you are not using CM 7.7.3.Please set the default python version to python2 and try running performance inspector.
--> run #alternatives --set python /usr/bin/python2
--> restart the agent : systemctl restart cloudera-scm-agent
Thanks
Created 02-24-2023 08:14 AM
Hi,
If you are not using CM 7.7.3.Please set the default python version to python2 and try running performance inspector.
--> run #alternatives --set python /usr/bin/python2
--> restart the agent : systemctl restart cloudera-scm-agent
Thanks
Created 02-24-2023 03:17 PM
In fact, we're using CM7.7.3. We check the error and it seems like a good solution, but is there anything related to that specific version of CM?
Created 03-01-2023 10:59 AM
Thanks ymprakash I did the procedure indicated and was the solution