为什么R系统无法执行hdfs命令?

问题描述

我正在尝试将某些.csv文件与 hdfs dfs -getmerge /path/folderfile filename.csv命令。 如果我从终端或rstudio的内部终端运行此命令,则可以正常运行。如果我使用system("hdfs dfs -getmerge /path/folderfile /destinationpath/filename.csv")执行相同的命令,它将返回以下错误:

sh: hdfs: command not found
Warning message:
In system("hdfs dfs -getmerge /path/folderfile /destinationpath/filename.csv") :
  error in running command

感谢建议

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)