Azure 存储中存在 Pig-Loading Json 文件
Pig-Loading Json file which is present on Azure Storage
我正在尝试使用 Azure 存储容器上存在的 pig 脚本加载 Json 文件 (Email_Master.json
)。 json 文件由 pig 脚本生成并存储到 azure 容器中。下面是文件在容器中的样子。
我在通过 Powershell 使用 pig 脚本加载文件时遇到错误
ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1131: Could not find schema file
使用的命令是
a = LOAD '$Azure_Path/Email_Master.json' USING JsonLoader();
如何解决这个问题?
问题出在配置 HdInsight 时指定的默认容器 Cluster.The 架构和头文件存储在默认容器中。
我正在尝试使用 Azure 存储容器上存在的 pig 脚本加载 Json 文件 (Email_Master.json
)。 json 文件由 pig 脚本生成并存储到 azure 容器中。下面是文件在容器中的样子。
我在通过 Powershell 使用 pig 脚本加载文件时遇到错误
ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1131: Could not find schema file
使用的命令是
a = LOAD '$Azure_Path/Email_Master.json' USING JsonLoader();
如何解决这个问题?
问题出在配置 HdInsight 时指定的默认容器 Cluster.The 架构和头文件存储在默认容器中。