I'm using apache-pig
for a project I'm working on. I have a script that moves some files around and then starts pig. Once pig starts it brings up a grunt shell. I was wondering if it is possible for the script to give the grunt shell commands like executing a pig script ( exec customer.pig
). Is this possible or do I just have to break it up into separate scripts?
Credit goes to glenn from the comments above. I just had to make a file, I called it commands
and then when I run pig I just use pig < commands
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.