如何在 Google Cloud Platform 上查看 Dataproc 作业的输出文件

Posted

技术标签:

【中文标题】如何在 Google Cloud Platform 上查看 Dataproc 作业的输出文件【英文标题】:How to view output files from Dataproc job on Google Cloud Platform 【发布时间】:2021-11-29 22:02:59 【问题描述】:

如何查看我的 dataproc 作业的输出文件的内容?

这是我为 dataproc .jar 文件编写的代码中需要更改的地方吗?

this is my storage bucket for the output of the job

【问题讨论】:

【参考方案1】:

如果您将文件下载到本地计算机,则可以使用文本编辑器程序打开它们。

【讨论】:

正如目前所写,您的答案尚不清楚。请edit 添加其他详细信息,以帮助其他人了解这如何解决所提出的问题。你可以找到更多关于如何写好答案的信息in the help center。 我发现了我的问题,dataproc 正在返回一个数字,而不是我的 java 代码产生的字数。当我在本地机器上运行 hadoop 作业时,它的字数很好。你有什么建议为什么他可能不起作用?谢谢

以上是关于如何在 Google Cloud Platform 上查看 Dataproc 作业的输出文件的主要内容,如果未能解决你的问题,请参考以下文章

Google Cloud Messaging VS Google Cloud Platform

如何在 Google Cloud Platform 上查看 Dataproc 作业的输出文件

如何从 google-cloud-platform vminstance 中的 pubsub 回调函数调用全局变量?

如何让 PySoundfile 在 Google Cloud Platform 柔性环境中运行? [关闭]

Google Cloud Platform:如何监控VM实例的内存使用情况

有关如何从 Google Cloud Platform 调用外部网络服务的任何信息?