beeline can not connect to hive server2 in hive2 action

2016-12-07 Thread Huang Meilong
Hi, I have a simple hive2 action in oozie workflow, the strerr logs indicate that this action can not connect to hiveserver2: INFO: Binding org.apache.hadoop.yarn.webapp.GenericExceptionHandler to GuiceManagedComponentProvider with the scope "Singleton" Dec 07, 2016 3:48:52 PM com.sun.jerse

Re: beeline can not connect to hive server2 in hive2 action

2016-12-07 Thread MyGmail
Hi, check if oozie is launching on the same host where hiveserver2 is running. Try pointing full hostname, not localhost. Regards, Andrey > 7 дек. 2016 г., в 11:03, Huang Meilong написал(а): > > Hi, > > > I have a simple hive2 action in oozie workflow, the strerr logs indicate > that this

答复: beeline can not connect to hive server2 in hive2 action

2016-12-07 Thread Huang Meilong
hi Andrey, where to specify the hiveserver2 url? 发件人: MyGmail 发送时间: 2016年12月7日 16:08:27 收件人: user@oozie.apache.org 主题: Re: beeline can not connect to hive server2 in hive2 action Hi, check if oozie is launching on the same host where hiveserver2 is running. Try

答复: beeline can not connect to hive server2 in hive2 action

2016-12-07 Thread Huang Meilong
I've just checked that oozie is launching on the same host where hiveserver2 is running. 发件人: MyGmail 发送时间: 2016年12月7日 16:08:27 收件人: user@oozie.apache.org 主题: Re: beeline can not connect to hive server2 in hive2 action Hi, check if oozie is launching on the same

答复: beeline can not connect to hive server2 in hive2 action

2016-12-07 Thread Huang Meilong
I've just resolved this problem. I'm using oozie on hue, and hue's default hiveserver2 url is localhost, and hive2 action is submitted to yarn(running on a worker host), not running on the host oozie is launching. It works fine when I set the hiveserver2 rul with full hostname. Thanks Andrey.

Re: Exception when setup oozie HA using virtual IP

2016-12-07 Thread Andras Piros
Hi Dongying, this seems like a bug in ZKJobsConcurrencyService - in case numOozies is zero isJobIdForThisServer() should emit a WARN log stating that the other Oozie instance might be missing and return true rather than throwing a RuntimeException. Can you please file a bug under Apache JIRA. Th

Re: MiniOozie for local dryrun or other options for doing dryrun of oozie workflows?

2016-12-07 Thread Robert Kanter
If you get MiniOozie to work, it should start Mini HDFS and a Mini MapReduce (Yarn + MR or just MR depending on Hadoop 1 or Hadoop 2) clusters. There are methods in the parent class to get the URIs for these. That should let you submit workflows containing most action types. For ones that require

Re: Change NN and JobTracker dynamically during runtime

2016-12-07 Thread mdk-swandha
@Andreas Hope you understood my use case above. I would appreciate if you please shed some more light and share about using load balancer to route jobs and keeping this load balancer outside. I would like to know how you are suggesting enable this load balancer in RM or NN or you are suggesting to

Re: Exception when setup oozie HA using virtual IP

2016-12-07 Thread Dongying Jiao
Hi: I opened a JIRA for this issue: https://issues.apache.org/jira/browse/OOZIE-2755 Thanks 2016-12-07 17:22 GMT+08:00 Andras Piros : > Hi Dongying, > > this seems like a bug in ZKJobsConcurrencyService - in case numOozies is > zero isJobIdForThisServer() should emit a WARN log stating that the o