从Java应用程序中执行Pig [英] Execute Pig from within Java Application

查看:215
本文介绍了从Java应用程序中执行Pig的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Java应用程序中运行Apache Pig作业,而不需要外部进程?

Is it possible to run Apache Pig jobs from within a Java application, without forking an external process?

似乎Pig和Hadoop都是用Java编写的,但是不要真的提供Java API。我宁愿在Java Spring应用程序中使用这些工具表单,而不是依赖shell脚本。

It seems both Pig and Hadoop are written in Java but don't really offer Java APIs. Rather than relying on shell scripts, I'd rather use these tools form within a Java Spring application.

推荐答案

参见 Spring Hadoop 项目及其猪支持

这篇关于从Java应用程序中执行Pig的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆