You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Chinna Lalam <ch...@intel.com> on 2015/04/15 08:04:55 UTC

Review Request 33211: [HIVE-10288] : permanent UDFs are not working after restarting the server

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33211/
-----------------------------------------------------------

Review request for hive, Jason Dere and Navis Ryu.


Repository: hive


Description
-------

While reloading the permanent functions we need to add udf type (genericUDF/genericUDTF/genericUDAFResolver). Currently this information is not there, so it is throwing NullpointerException. 
We have download the related jars when using this functions.


Diffs
-----

  trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java 1673646 

Diff: https://reviews.apache.org/r/33211/diff/


Testing
-------

Related tests are pass.


Thanks,

Chinna Lalam


Re: Review Request 33211: [HIVE-10288] : permanent UDFs are not working after restarting the server

Posted by Chinna Lalam <ch...@intel.com>.

> On April 27, 2015, 9:31 a.m., Amareshwari Sriramadasu wrote:
> > trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java, line 179
> > <https://reviews.apache.org/r/33211/diff/1/?file=929630#file929630line179>
> >
> >     I did not understand how the changes are related to restart?
> >     
> >     We have not faced in our setup.

This issue was faced in trunk version.. After restarting the service while loading functions from DB, type was not determined and null was returned.


- Chinna


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33211/#review81667
-----------------------------------------------------------


On April 15, 2015, 6:04 a.m., Chinna Lalam wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33211/
> -----------------------------------------------------------
> 
> (Updated April 15, 2015, 6:04 a.m.)
> 
> 
> Review request for hive, Jason Dere and Navis Ryu.
> 
> 
> Repository: hive
> 
> 
> Description
> -------
> 
> While reloading the permanent functions we need to add udf type (genericUDF/genericUDTF/genericUDAFResolver). Currently this information is not there, so it is throwing NullpointerException. 
> We have download the related jars when using this functions.
> 
> 
> Diffs
> -----
> 
>   trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java 1673646 
> 
> Diff: https://reviews.apache.org/r/33211/diff/
> 
> 
> Testing
> -------
> 
> Related tests are pass.
> 
> 
> Thanks,
> 
> Chinna Lalam
> 
>


Re: Review Request 33211: [HIVE-10288] : permanent UDFs are not working after restarting the server

Posted by Amareshwari Sriramadasu <am...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33211/#review81667
-----------------------------------------------------------



trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
<https://reviews.apache.org/r/33211/#comment132094>

    I did not understand how the changes are related to restart?
    
    We have not faced in our setup.


- Amareshwari Sriramadasu


On April 15, 2015, 6:04 a.m., Chinna Lalam wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33211/
> -----------------------------------------------------------
> 
> (Updated April 15, 2015, 6:04 a.m.)
> 
> 
> Review request for hive, Jason Dere and Navis Ryu.
> 
> 
> Repository: hive
> 
> 
> Description
> -------
> 
> While reloading the permanent functions we need to add udf type (genericUDF/genericUDTF/genericUDAFResolver). Currently this information is not there, so it is throwing NullpointerException. 
> We have download the related jars when using this functions.
> 
> 
> Diffs
> -----
> 
>   trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java 1673646 
> 
> Diff: https://reviews.apache.org/r/33211/diff/
> 
> 
> Testing
> -------
> 
> Related tests are pass.
> 
> 
> Thanks,
> 
> Chinna Lalam
> 
>