Re: warning message while connecting Hive shell

2012-09-18 Thread Kaufman Ng
Here's the fix: just fix the hive-log4j.properties in your hive install.

replace this line:
log4j.appender.EventCounter=org.apache.hadoop.metrics.jvm.EventCounter

with this:
log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter



On Mon, Sep 17, 2012 at 10:34 AM, Robin Verlangen ro...@us2.nl wrote:
 Same for me. It's been there always, didn't really bother, however if
 there's a fix, we should fix it.

 Best regards,

 Robin Verlangen
 Software engineer

 W http://www.robinverlangen.nl
 E ro...@us2.nl

 Disclaimer: The information contained in this message and attachments is
 intended solely for the attention and use of the named addressee and may be
 confidential. If you are not the intended recipient, you are reminded that
 the information remains the property of the sender. You must not use,
 disclose, distribute, copy, print or rely on this e-mail. If you have
 received this message in error, please contact the sender immediately and
 irrevocably delete this message and any copies.



 2012/9/17 Connell, Chuck chuck.conn...@nuance.com

 I get the same warning. Could you please be more specific about set the
 class path wrt log4J property file? Exactly what should we do?

 Chuck Connell
 Nuance RD Data Team
 Burlington, MA


 -Original Message-
 From: ashok.sa...@wipro.com [mailto:ashok.sa...@wipro.com]
 Sent: Monday, September 17, 2012 7:50 AM
 To: user@hive.apache.org
 Subject: RE: warning message while connecting Hive shell

 Please set the class path wrt log4J property file

 Thanks
 Ashok S.


 
 From: Ajit Kumar Shreevastava [ajit.shreevast...@hcl.com]
 Sent: Monday, September 17, 2012 4:11 PM
 To: user@hive.apache.org
 Subject: warning message while connecting Hive shell

 Hello ,
 When I want to make connection with hive  I got the following warning
 message.

 [hadoop@NHCLT-PC44-2 conf]$ hive
 WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please
 use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties
 files.
 Logging initialized using configuration in
 jar:file:/home/hadoop/hive-0.8.1/lib/hive-common-0.8.1.jar!/hive-log4j.properties
 Hive history
 file=/tmp/hadoop/hive_job_log_hadoop_201209171607_883156857.txt
 hive show tables;
 OK
 Time taken: 3.871 seconds
 hive

 Does anyone have some clue regarding the warning message.





RE: warning message while connecting Hive shell

2012-09-17 Thread ashok.samal
Please set the class path wrt log4J property file

Thanks
Ashok S.

From: Ajit Kumar Shreevastava [ajit.shreevast...@hcl.com]
Sent: Monday, September 17, 2012 4:11 PM
To: user@hive.apache.org
Subject: warning message while connecting Hive shell

Hello ,
When I want to make connection with hive  I got the following warning message.

[hadoop@NHCLT-PC44-2 conf]$ hive
WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use 
org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.
Logging initialized using configuration in 
jar:file:/home/hadoop/hive-0.8.1/lib/hive-common-0.8.1.jar!/hive-log4j.properties
Hive history file=/tmp/hadoop/hive_job_log_hadoop_201209171607_883156857.txt
hive show tables;
OK
Time taken: 3.871 seconds
hive

Does anyone have some clue regarding the warning message.


Thanks and Regards
Ajit Kumar Shreevastava
ADCOE (App Development Center Of Excellence )
Mobile: 9717775634



::DISCLAIMER::

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com


RE: warning message while connecting Hive shell

2012-09-17 Thread Connell, Chuck
I get the same warning. Could you please be more specific about set the class 
path wrt log4J property file? Exactly what should we do?

Chuck Connell
Nuance RD Data Team
Burlington, MA


-Original Message-
From: ashok.sa...@wipro.com [mailto:ashok.sa...@wipro.com] 
Sent: Monday, September 17, 2012 7:50 AM
To: user@hive.apache.org
Subject: RE: warning message while connecting Hive shell

Please set the class path wrt log4J property file

Thanks
Ashok S.



From: Ajit Kumar Shreevastava [ajit.shreevast...@hcl.com]
Sent: Monday, September 17, 2012 4:11 PM
To: user@hive.apache.org
Subject: warning message while connecting Hive shell

Hello ,
When I want to make connection with hive  I got the following warning message.

[hadoop@NHCLT-PC44-2 conf]$ hive
WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use 
org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.
Logging initialized using configuration in 
jar:file:/home/hadoop/hive-0.8.1/lib/hive-common-0.8.1.jar!/hive-log4j.properties
Hive history file=/tmp/hadoop/hive_job_log_hadoop_201209171607_883156857.txt
hive show tables;
OK
Time taken: 3.871 seconds
hive

Does anyone have some clue regarding the warning message.




Re: warning message while connecting Hive shell

2012-09-17 Thread Robin Verlangen
Same for me. It's been there always, didn't really bother, however if
there's a fix, we should fix it.

Best regards,

Robin Verlangen
*Software engineer*
*
*
W http://www.robinverlangen.nl
E ro...@us2.nl

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.



2012/9/17 Connell, Chuck chuck.conn...@nuance.com

 I get the same warning. Could you please be more specific about set the
 class path wrt log4J property file? Exactly what should we do?

 Chuck Connell
 Nuance RD Data Team
 Burlington, MA


 -Original Message-
 From: ashok.sa...@wipro.com [mailto:ashok.sa...@wipro.com]
 Sent: Monday, September 17, 2012 7:50 AM
 To: user@hive.apache.org
 Subject: RE: warning message while connecting Hive shell

 Please set the class path wrt log4J property file

 Thanks
 Ashok S.


 
 From: Ajit Kumar Shreevastava [ajit.shreevast...@hcl.com]
 Sent: Monday, September 17, 2012 4:11 PM
 To: user@hive.apache.org
 Subject: warning message while connecting Hive shell

 Hello ,
 When I want to make connection with hive  I got the following warning
 message.

 [hadoop@NHCLT-PC44-2 conf]$ hive
 WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please
 use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties
 files.
 Logging initialized using configuration in
 jar:file:/home/hadoop/hive-0.8.1/lib/hive-common-0.8.1.jar!/hive-log4j.properties
 Hive history
 file=/tmp/hadoop/hive_job_log_hadoop_201209171607_883156857.txt
 hive show tables;
 OK
 Time taken: 3.871 seconds
 hive

 Does anyone have some clue regarding the warning message.