Apache Spark中的psutil [英] psutil in Apache Spark

查看:293
本文介绍了Apache Spark中的psutil的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用PySpark 1.5.2.发出命令.collect()

I'm using PySpark 1.5.2. I got UserWarning Please install psutil to have better support with spilling after I issue the command .collect()

为什么显示此警告?

如何安装psutil?

推荐答案

pip install psutil

如果您需要专门为python 2或3安装,请尝试使用pip2pip3;它适用于两个主要版本. 此处是psutil的PyPI软件包.

If you need to install specifically for python 2 or 3, try using pip2 or pip3; it works for both major versions. Here is the PyPI package for psutil.

这篇关于Apache Spark中的psutil的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆