matlab - 无法使用 MATLAB MapReducer 2014b 中的 'local' 配置文件启动并行池

标签 matlab hadoop parallel-processing mapreduce

我正在使用 here 中的示例作为 MATLAB 2014b 中的“使用 MapReduce 计算平均值”。当我运行示例时,出现以下错误:

Starting parallel pool (parpool) using the 'local' profile ... Error using mapreducer (line 96) Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)

Error in gcmr (line 34) mr = mapreducer();

Error in mapreduce (line 94) mrcer = gcmr();

Error in MapReduceFunction (line 10) meanDelay = mapreduce(ds, @Mapper1, @Reducer1);

Caused by: Error using parallel.internal.pool.InteractiveClient/start (line 329) Failed to start pool. Error using parallel.Job/submit (line 304) All dimension arguments must be greater than zero

我检查了'local'配置文件,它有一些问题如下图:

error in 'local' profile

我们如何解决这个问题?

最佳答案

在使用 MATLAB 并解决问题后,我找到了解决方案。出现此验证错误的原因多种多样。其中一种解决方案如下:

(1) Run the following MATLAB commands in order:

rehash toolboxcache;

restoredefaultpath;

savepath

(2) Restart MATLAB and try the validation again.

关于matlab - 无法使用 MATLAB MapReducer 2014b 中的 'local' 配置文件启动并行池,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27984963/

相关文章:

c# - 如何指定Parallel.ForEach中执行的并行任务数?

C# parallel foreach 等量完成任务

matlab - 如何将字段名称及其内容复制到 matlab 中的另一个结构变量

sorting - 对Mapreduce数据集进行排序

hadoop - Hortonworks与Cloudera体系结构的区别

json - hadoop - 验证加载到 hive 仓库中的 json 数据

c# - 使用Azure处理大量数据

python - 将图像从 Python 传递到 MATLAB 函数

r - MATLAB 等效于 R 函数 rank()?

matlab - 打开由 Matlab 保存的 .fig 文件的程序