Re: How to config hive when using namenode HA

2015-05-05 Thread Gerald-G
Upgrading the Hive Metastore to Use HDFS HA Using the Command Line To configure the Hive metastore to use HDFS HA, change the records to reflect the location specified in the dfs.nameservices property, using the Hive metatool to obtain and change the locations. *Note*: Before attempting to upgra

Re: HIVE udf explain error

2015-05-01 Thread Gerald-G
Resolved by delete all files under /tmp hdfs://namenode:/tmp/hive delete from mysql-->hive-->funcs recreate all the function & it work On Thu, Apr 30, 2015 at 3:36 PM, Gerald-G wrote: > HI > My hive version is 0.14.0 installed from HDP2.2.4 > > On Thu, Apr 30, 201

Re: HIVE udf explain error

2015-04-30 Thread Gerald-G
HI My hive version is 0.14.0 installed from HDP2.2.4 On Thu, Apr 30, 2015 at 3:34 PM, Gerald-G wrote: > Hi ALL: > > I have develop three UDF and compile them in one jar. Hive Explainn one > udf to antother class > > Dump INFO as Follow: Hive explain userlost-->shift

HIVE udf explain error

2015-04-30 Thread Gerald-G
Hi ALL: I have develop three UDF and compile them in one jar. Hive Explainn one udf to antother class Dump INFO as Follow: Hive explain userlost-->shiftAct(), but the return type is boolean, the right return type I want 0: jdbc:hive2://10-4-32-53:1> explain select userlost(idayacti,1) f