添加从CLI读取SQL的步骤

时间:2017-04-11 17:16:18

标签: amazon-web-services hadoop hive

如何向我的Hive集群添加一个步骤,该集群从CLI执行我的命令。

例如,我知道如果我进入我的群集,我可以hive -e 'do some stuff here'。或者使用awscli我可以执行add-steps ... Args=[-f, s3://path]但是有没有办法将hive -e 'do stuff'提供给Args参数,或者是我将命令转换为function homeTransition() { $(this).toggleClass('activePage'); if(document.getElementById("aboutContent").className.indexOf("slideInLeft") !== -1){ document.getElementById("aboutContent").className = " animated slideOutRight"; } if(document.getElementById("projectsContent").className.indexOf("slideInUp") !== -1){ document.getElementById("projectsContent").className = " animated slideOutUp"; } if(document.getElementById("contactContent").className.indexOf("slideInUp") !== -1){ document.getElementById("contactContent").className = " animated slideOutUp"; } document.getElementById("homeContent").className = " animated bounceInDown"; } function aboutTransition() { $(this).toggleClass('activePage'); document.getElementById("homeContent").className = " animated bounceOutUp"; document.getElementById("aboutContent").style.visibility = "visible"; document.getElementById("aboutContent").className = "activePage animated slideInLeft"; document.getElementById("projectsContent").className = " animated slideOutUp"; document.getElementById("contactContent").className = " animated slideOutUp"; } function projectsTransition() { $(this).toggleClass('activePage'); document.getElementById("homeContent").className = " animated bounceOutUp"; document.getElementById("projectsContent").style.visibility = "visible"; document.getElementById("projectsContent").className = "activePage animated slideInUp"; document.getElementById("aboutContent").className = " animated slideOutRight"; document.getElementById("contactContent").className = " animated slideOutUp"; } function contactTransition() { $(this).toggleClass('activePage'); document.getElementById("homeContent").className = " animated bounceOutUp"; document.getElementById("contactContent").style.visibility = "visible"; document.getElementById("contactContent").className = "activePage animated slideInUp"; document.getElementById("aboutContent").className = " animated slideOutRight"; document.getElementById("projectsContent").className = " animated slideOutUp"; } //Menu $(function() { function expand() { $(this).toggleClass("on"); $(".menu").toggleClass("active"); }; $('.noselect').click(function() { $('.noselect').removeClass('activePage'); $(this).toggleClass('activePage'); }); $(".button").on('click', expand); });的唯一方法脚本并将其发送到S3进行运行?

提前致谢!

0 个答案:

没有答案