Fw: read this

2015-09-28 Thread Rahul Sharma
Hello! New message, please read <http://owensclubservice.com/beside.php?xh2zi> Rahul Sharma

Fw: read this

2015-09-28 Thread Rahul Sharma
Hello! New message, please read <http://faithbritishschool.com/family.php?fv> Rahul Sharma

Re: UDF Configure method not getting called

2015-08-28 Thread Rahul Sharma
hat are based on > functional programming. > > Best, > Douglas > Sent from my iPhone > > On Aug 28, 2015, at 5:56 PM, Rahul Sharma wrote: > > So the use case is like this: > We want to be able to let the user point us to any number of columns in a > table and th

Re: UDF Configure method not getting called

2015-08-28 Thread Rahul Sharma
might have a suggestion. > > > > ------ > *From:* Rahul Sharma > *Sent:* Wednesday, August 26, 2015 9:39 AM > > *To:* user@hive.apache.org > *Subject:* Re: UDF Configure method not getting called > > Thanks again Jason. I tried hive.fetch.task.conversion=minimal/none

Re: HiveServer2 & Kerberos

2015-08-26 Thread Rahul Sharma
I think the best way would be to parse the URL and see if its Kerberos enabled and then not ask for username and password. However, I doubt it is that trivial. Case in point - lets say SQLBasedAuthorization is being used, then which user will the authorization requests be checked against? - Use

Re: HiveServer2 & Kerberos

2015-08-26 Thread Rahul Sharma
Even I (and a few others I know in different orgs) have been confused by the password prompts. So looking at the multiple users using their own credentials to authenticate, would that mean Kerberos is not used for authentication? Only for Authorization? In which case what will the authorization be

Re: UDF Configure method not getting called

2015-08-26 Thread Rahul Sharma
to get the configuration. > GenericUDFBaseNumeric has an example of this. > > > > As for trying to force map/reduce jobs, you can try > hive.fetch.task.conversion=minimal/none and > hive.optimize.constant.propagation=false and see how it works. > > > ---

Re: UDF Configure method not getting called

2015-08-25 Thread Rahul Sharma
that, then I can modify the UDF to run irrespective if its run locally or with MapRed context. On Tue, Aug 25, 2015 at 2:44 PM, Rahul Sharma wrote: > Oh thanks for the reply, Jason. That was my suspicion too. > > The UDF in our case is not a function per say in pure mathematical sense >

Re: UDF Configure method not getting called

2015-08-25 Thread Rahul Sharma
* > > > Taking a look at the explain plan for you query might confirm this. In > those cases the UDF would not run within a M/R task and configure() would > not be called. > > > > -- > *From:* Rahul Sharma > *Sent:* Tuesday, August 25, 20

Re: UDF Configure method not getting called

2015-08-25 Thread Rahul Sharma
d and it seems like out UDF should satisfy the condition check there and thus the configure method should be called. What are the top things I could check to make sure why job is not being submitted and why the UDF is being run on the local machine itself? On Tue, Aug 25, 2015 at 11:32 AM, Rahul S

UDF Configure method not getting called

2015-08-25 Thread Rahul Sharma
Hi Guys, We have a UDF which extends GenericUDF and does some configuration within the public void configure(MapredContext ctx) method. MapredContext in configure method gives access to the HiveConfiguration via JobConf, which contains custom attributes of the form xy.abc.something. Reading these

GenericUDF configure method not called for ORC tables

2015-03-24 Thread Rahul Sharma
Hi, I have a Hive table stored as ORC with the following properties: # Detailed Table Information Database: default Owner: root CreateTime: Tue Mar 24 21:33:53 PDT 2015 LastAccessTime: UNKNOWN Protect Mode: None Retention:

Error using ADD JAR with signed jars

2015-03-05 Thread Rahul Sharma
Hi, I am trying to use a signed jar (BouncyCastle) in one of my UDFs. Since signed jars shouldn't be extracted I am using two ADD JAR statements to add both the UDF jar as well as BouncyCastle provider jar to the classpath. However, hive/hadoop automatically extracts the signed jar (BouncyCastle)

Signed Jars in Distributed Cache

2015-02-25 Thread Rahul Sharma
Hi, I am trying to use a signed jar (BouncyCastle) in one of my UDFs. Since signed jars shouldn't be extracted I am using two ADD JAR statements to add both the UDF jar as well as BouncyCastle provider jar to the classpath. However, hive/hadoop automatically extracts the signed jar (BouncyCastle)