jjzjj

ProcfsMetricsGetter

全部标签

【BUG】Windows配置spark运行cmd时报错:WARN ProcfsMetricsGetter: Exception when trying to compute pagesize,...

报错:WARNProcfsMetricsGetter:Exceptionwhentryingtocomputepagesize,asaresultreportingofProcessTreemetricsisstopped解决方法:1.配置环境spark的解压路径下将其添加到环境变量:%SPARK_HOME%\bin;%SPARK_HOME%\sbin;%SPARK_HOME%\python;%SPARK_HOME%\python\lib\py4j-0.10.9-src.zip;%PYTHONPATH%2.把配置中spark.executor.processTreeMetrics改成false