您可以 运行 python 在 Azure HDInsight 中使用 Hadoop Streaming API 编写代码吗?

Can you run python code with Hadoop Streaming API in Azure HDInsight?

我看到您可以 运行 C# 代码(http://azure.microsoft.com/en-us/documentation/articles/hdinsight-hadoop-develop-deploy-streaming-jobs/。)并且可能是任何其他编译语言,因为该示例使用 .exe 文件。

你能用 python 代码做同样的事情吗?

我运气不佳 运行 Python HDInsight 上的 mapreduce。虽然 Python 在 Windows 集群上,但我收到管道错误,试图将其用于流式 mapreduce。

但是,Linux 集群上的 HDInsight 今天宣布为预览版,并且 Python 可以在那里流式传输 mapreduce。 http://azure.microsoft.com/en-us/documentation/articles/hdinsight-hadoop-streaming-python/