Re: Hive on Tez query failed with ³wrong key class"

2015-07-27 Thread Gopal Vijayaraghavan
> From the java code which creates the sequence file, it has set the key >class to NullWritable.class: > job.setOutputKeyClass(org.apache.hadoop.io.NullWritable.class); ... > I think that caused the mismatch: > wrong key class: org.apache.hadoop.io.BytesWritable is not class >org.apache.hadoop.i

Re: Hive on Tez query failed with “wrong key class"

2015-07-27 Thread Jim Green
Hi Team, Some clue: >From the java code which creates the sequence file, it has set the key class to NullWritable.class: job.setOutputKeyClass(org.apache.hadoop.io.NullWritable.class); However per the source code of Hive, and the key class for sequence file writer should be : BytesWritable. HiveS

Re: Obtain user identity in UDF

2015-07-27 Thread Adeel Qureshi
Right :) Thanks. Problem solved. On Mon, Jul 27, 2015 at 3:18 PM, Xuefu Zhang wrote: > There is a udf, current_user, which returns a value that can passed to > your udf as an input, right? > > On Mon, Jul 27, 2015 at 1:13 PM, Adeel Qureshi > wrote: > >> Is there a way to obtain user authenticat

Re: Obtain user identity in UDF

2015-07-27 Thread Xuefu Zhang
There is a udf, current_user, which returns a value that can passed to your udf as an input, right? On Mon, Jul 27, 2015 at 1:13 PM, Adeel Qureshi wrote: > Is there a way to obtain user authentication information in a UDF like > kerberos username that they have logged in with to execute a hive q

Obtain user identity in UDF

2015-07-27 Thread Adeel Qureshi
Is there a way to obtain user authentication information in a UDF like kerberos username that they have logged in with to execute a hive query. I would appreciate any help. Thanks Adeel

RE: Hive Data into a Html Page

2015-07-27 Thread Lohith Samaga M
Hi Siva What web/application server do you have? You could use Hive or Drill odbc drivers... Sent from my Sony Xperia™ smartphone siva kumar wrote Hi , There is some data loaded into hive and i want to display hive data into a html webpage based on the parameters i pass. So, h

Hive Data into a Html Page

2015-07-27 Thread siva kumar
Hi , There is some data loaded into hive and i want to display hive data into a html webpage based on the parameters i pass. So, how can i do this? Any Help? Thanks in Advance siva.