Hi Sagar, Ajit is correct.
start you services first by using command. start-all.sh Regards Yogesh Kumar Dhari ________________________________ From: Ajit Kumar Shreevastava [ajit.shreevast...@hcl.com] Sent: Monday, October 29, 2012 11:42 AM To: user@hive.apache.org Subject: RE: FAILED: Hive Internal Error Hi sagar, Firstly you should start the dfs and mapreduce service. This error gives when these service are not started. Regards, Ajit From: sagar nikam [mailto:sagarnikam...@gmail.com] Sent: Sunday, October 28, 2012 12:58 PM To: user@hive.apache.org; bejoy...@yahoo.com Subject: Re: FAILED: Hive Internal Error i tried but not shell>:~/Hadoop/hadoop-0.20.2$ bin/hadoop dfs namenode -format 12/10/28 12:56:42 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 0 time(s). 12/10/28 12:56:43 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 1 time(s). 12/10/28 12:56:44 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 2 time(s). 12/10/28 12:56:45 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 3 time(s). 12/10/28 12:56:46 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 4 time(s). 12/10/28 12:56:47 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 5 time(s). 12/10/28 12:56:48 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 6 time(s). 12/10/28 12:56:49 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 7 time(s). 12/10/28 12:56:50 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 8 time(s). 12/10/28 12:56:51 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000<http://127.0.0.1:9000>. Already tried 9 time(s). Bad connection to FS. command aborted. ::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