Thanks - will take a look and get back to you.

Could you also look at /var/log/hmc/hmc.txn.55.log and see if there are any 
errors in it? 

-- Hitesh. 

On Aug 9, 2012, at 8:00 PM, xu peng wrote:

> Hi Hitesh :
> 
> Thanks a lot for your replying. I have done all your suggestions in my
> ambari server , and the result is as below.
> 
> 1. I can confirm that the hosts.txt file is empty after i failed at
> the step finding reachable nodes.
> 2. I tried make hostdetails file in win7 and redhat , it both
> failed.(Please see the attachment, my hostdetails file)
> 3. I removed the logging re-direct and run the .sh script .It seems
> like the script works well , it print the hostname in console and
> generate a file (content  is "0") in the same dir. (Please see the
> attachment , the result and my .sh script )
> 4. I attached the hmc.log and error_log too. Hope this helps ~
> 
> Thanks ~
> Xupeng
> 
> 
> On Fri, Aug 10, 2012 at 12:24 AM, Hitesh Shah <[email protected]> wrote:
>> Xupeng, can you confirm that the hosts.txt file at 
>> /var/run/hmc/clusters/EBHadoop/hosts.txt is empty?
>> 
>> Also, can you ensure that the hostdetails file that you upload does not have 
>> any special characters that may be creating problems for the parsing layer?
>> 
>> In the same dir, there should be an ssh.sh script. Can you create a copy of 
>> it, edit to remove the logging re-directs to files and run the script 
>> manually from command-line ( it takes in a hostname as the argument ) ? The 
>> output of that should show you as to what is going wrong.
>> 
>> Also, please look at /var/log/hmc/hmc.log and httpd/error_log to see if 
>> there are any errors being logged which may shed more light on the issue.
>> 
>> thanks
>> -- Hitesh
>> 
>> 
>> On Aug 9, 2012, at 9:11 AM, Artem Ervits wrote:
>> 
>>> Which file are you supplying in the step? Hostdetail.txt or hosts?
>>> 
>>> From: xupeng.bupt [mailto:[email protected]]
>>> Sent: Thursday, August 09, 2012 11:33 AM
>>> To: ambari-user
>>> Subject: Re: RE: Problem when setting up hadoop cluster step 2
>>> 
>>> Thank you for your replying ~
>>> 
>>> 
>>> I made only one hostdetail.txt file which contains the names of all 
>>> servers. And i submit this file on the website ,  but i still have the same 
>>> problem. I failed at the step of finding reachable nodes.
>>> 
>>> The error log is : "
>>> [ERROR][sequentialScriptExecutor][sequentialScriptRunner.php:272][]:
>>> Encountered total failure in transaction 100 while running cmd:
>>> /usr/bin/php ./addNodes/findSshableNodes.php with args: EBHadoop root
>>> 35 100 36 /var/run/hmc/clusters/EBHadoop/hosts.txt
>>> "
>>> 
>>> And my hostdetail.txt file is :"
>>> vbaby2.cloud.eb
>>> vbaby3.cloud.eb
>>> vbaby4.cloud.eb
>>> vbaby5.cloud.eb
>>> vbaby6.cloud.eb
>>> "
>>> Thank you very much ~
>>> 
>>> 2012-08-09
>>> xupeng.bupt
>>> 发件人: Artem Ervits
>>> 发送时间: 2012-08-09  22:16:53
>>> 收件人: [email protected]
>>> 抄送:
>>> 主题: RE: Problem when setting up hadoop cluster step 2
>>> the installer requires a hosts file which I believe you called hostdetail. 
>>> Make sure it's the same file. You also mention a hosts.txt and host.txt. 
>>> You only need one file with the names of all servers.
>>> -----Original Message-----
>>> From: xu peng [mailto:[email protected]]
>>> Sent: Thursday, August 09, 2012 2:02 AM
>>> To: [email protected]
>>> Subject: Problem when setting up hadoop cluster step 2
>>> Hi everyone :
>>> I am trying to use ambari to set up a hadoop cluster , but i encounter a 
>>> problem on step 2. I already set up the password-less ssh, and i creat a 
>>> hostdetail.txt file.
>>> The problem is that i found the file
>>> "/var/run/hmc/clusters/EBHadoop/hosts.txt" is empty , no matter how many 
>>> times i submit the host.txt file on the website , and i really don't know 
>>> why.
>>> {
>>> Here is the log file : [2012:08:09
>>> 05:17:56][ERROR][sequentialScriptExecutor][sequentialScriptRunner.php:272][]:
>>> Encountered total failure in transaction 100 while running cmd:
>>> /usr/bin/php ./addNodes/findSshableNodes.php with args: EBHadoop root
>>> 35 100 36 /var/run/hmc/clusters/EBHadoop/hosts.txt
>>> and my host.txt is like this(vbaby1.cloud.eb is the master node) :
>>> vbaby2.cloud.eb
>>> vbaby3.cloud.eb
>>> vbaby4.cloud.eb
>>> vbaby5.cloud.eb
>>> vbaby6.cloud.eb
>>> }
>>> Can anyone help me and tell me what i am doing wrong ?
>>> Thank you very much ~!
>>> This electronic message is intended to be for the use only of the named 
>>> recipient, and may contain information that is confidential or privileged. 
>>> If you are not the intended recipient, you are hereby notified that any 
>>> disclosure, copying, distribution or use of the contents of this message is 
>>> strictly prohibited. If you have received this message in error or are not 
>>> the named recipient, please notify us immediately by contacting the sender 
>>> at the electronic mail address noted above, and delete and destroy all 
>>> copies of this message. Thank you.
>>> --------------------
>>> This electronic message is intended to be for the use only of the named 
>>> recipient, and may contain information that is confidential or privileged.  
>>> If you are not the intended recipient, you are hereby notified that any 
>>> disclosure, copying, distribution or use of the contents of this message is 
>>> strictly prohibited.  If you have received this message in error or are not 
>>> the named recipient, please notify us immediately by contacting the sender 
>>> at the electronic mail address noted above, and delete and destroy all 
>>> copies of this message.  Thank you.
>>> --------------------
>>> This electronic message is intended to be for the use only of the named 
>>> recipient, and may contain information that is confidential or privileged.  
>>> If you are not the intended recipient, you are hereby notified that any 
>>> disclosure, copying, distribution or use of the contents of this message is 
>>> strictly prohibited.  If you have received this message in error or are not 
>>> the named recipient, please notify us immediately by contacting the sender 
>>> at the electronic mail address noted above, and delete and destroy all 
>>> copies of this message.  Thank you.
>>> --------------------
>>> 
>>> This electronic message is intended to be for the use only of the named 
>>> recipient, and may contain information that is confidential or privileged.  
>>> If you are not the intended recipient, you are hereby notified that any 
>>> disclosure, copying, distribution or use of the contents of this message is 
>>> strictly prohibited.  If you have received this message in error or are not 
>>> the named recipient, please notify us immediately by contacting the sender 
>>> at the electronic mail address noted above, and delete and destroy all 
>>> copies of this message.  Thank you.
>>> 
>>> 
>>> --------------------
>>> 
>>> This electronic message is intended to be for the use only of the named 
>>> recipient, and may contain information that is confidential or privileged.  
>>> If you are not the intended recipient, you are hereby notified that any 
>>> disclosure, copying, distribution or use of the contents of this message is 
>>> strictly prohibited.  If you have received this message in error or are not 
>>> the named recipient, please notify us immediately by contacting the sender 
>>> at the electronic mail address noted above, and delete and destroy all 
>>> copies of this message.  Thank you.
>>> 
>>> 
>>> 
>>> 
>> 
> <hmcLog.txt><hostdetails.txt><httpdLog.txt><ssh1.sh><ssh1_result.jpg>

Reply via email to