Re: Help with simple UDF error.. [fixed]

2014-02-13 Thread Manish
On 2/13/14, 9:20 AM, John Meagher wrote: Try changing ArrayList to just List as the argument to the evaluate function. +1 worked thanks!

Re: Compiling Hive 0.12.0

2014-02-13 Thread Prasanth Jayachandran
Glad that it helped! HIVE-6382 is waiting on some other ORC related patches. Will get in soon. Thanks Prasanth Jayachandran On Feb 13, 2014, at 8:04 AM, Bryan Jeffrey wrote: > Prasanth, > > That appears to have resolved the issue. I originally intended to apply > both, but did not think tha

Calling Community to Test Feature of pyhs2 on Kerberized Hive

2014-02-13 Thread Brad Ruderman
Hope all is well. I recently released a python wrapper around thrift for connecting to Hive Server 2. One of the big functionalities I was looking to implement was kerberos authentication support. Charith-qubit was gracious enough to modify the code and add the support. He has created a pull reque

Re: Configuring Apache Hive using Kerberos Authentication

2014-02-13 Thread Prasad Mujumdar
On the client side, you need to run kinit manually. Beeline doesn't support getting TGT programatically. You should ideally have a different userid for the client side. Also the hive command line tool (invoked directly as 'hive') is an embedded client that doesn't communicate with HiveServer2. Y

Re: Help with simple UDF error..

2014-02-13 Thread John Meagher
Try changing ArrayList to just List as the argument to the evaluate function. On Thu, Feb 13, 2014 at 12:15 PM, Manish wrote: > Hello: > While running the hive query : > > hive> select "Actor", count (*) from metrics where > array_contains(type_tuple, "Actor") and checkAttributes (attribute_tuple

Help with simple UDF error..

2014-02-13 Thread Manish
Hello: While running the hive query : hive> select "Actor", count (*) from metrics where array_contains(type_tuple, "Actor") and checkAttributes (attribute_tuple, "p1", "Actor") ; I get this error : FAILED: SemanticException [Error 10014]: Line 1:103 Wrong arguments '"Actor"': No matching m

RE: Hadoop streaming with insert dynamic partition generate many small files

2014-02-13 Thread Bogala, Chandra Reddy
Thanks Wang. I have implemented reducer in java and trying to run with below job. But its failing with "java.io.IOException: error=2, No such file or directory" . I am thinking it may be due to not able to find jar/java in path. Right? Hive Job: add jar /home/x/embeddedDoc.jar; from (from

Re: Compiling Hive 0.12.0

2014-02-13 Thread Bryan Jeffrey
Prasanth, That appears to have resolved the issue. I originally intended to apply both, but did not think that 6382 was associated with the error. Thank you for the assistance! Regards, Bryan Jeffrey On Wed, Feb 12, 2014 at 9:18 PM, Prasanth Jayachandran < pjayachand...@hortonworks.com> wrot