【发布时间】:2015-01-24 00:57:54
【问题描述】:
我有一个 .NET 可执行文件,我想通过它在我的 Azure HDInsight 群集上的 Pig 中流式传输数据。我已将它上传到我的容器中,但是当我尝试通过它流式传输数据时,我收到以下错误:
<line 1, column 393> Failed to generate logical plan. Nested exception: java.io.IOException: Invalid ship specification: '/util/myStreamApp.exe' does not exist!
我定义和使用我的动作如下:
DEFINE myApp `myStreamApp.exe` SHIP('/util/myStreamApp.exe');
outputData = STREAM inputData THROUGH myApp;
我尝试使用和不使用前导 /,尝试将其限定为 wasb:///util/myStreamApp.exe,并尝试将其完全限定为 wasb://myContainer@myAccount.blob.core.windows.net/util/myStreamApp.exe,但在每种情况下,我都会收到我的文件不存在的消息。
This page on uploading to HDInsight 表示您可以将 HDInsight 中 wasb:///example/data/davinci.txt 的 Azure Blob 存储路径用作 /example/data/davinci.txt,这表明路径应该没有问题。
【问题讨论】:
标签: azure hadoop apache-pig azure-storage azure-hdinsight