Support Questions

Find answers, ask questions, and share your expertise

Registration of one of my server failed because some of the index files failed to download

avatar
Contributor

I enter the latest URL for Ubuntu 14, passed the URL validation but when registering my master node, failed because some of the index files failed to download and old ones are used instead. So my Slave node register correctly but my master node fail. Can any body help me with this issue?.

Here is the entire registration log for my master.dev.local node.

==========================
Creating target directory...
==========================

Command start time 2015-12-28 18:56:32

Connection to master.dev.local closed.
SSH command execution finished
host=master.dev.local, exitcode=0
Command end time 2015-12-28 18:56:32

==========================
Copying common functions script...
==========================

Command start time 2015-12-28 18:56:32

scp /usr/lib/python2.6/site-packages/ambari_commons
host=master.dev.local, exitcode=0
Command end time 2015-12-28 18:56:33

==========================
Copying OS type check script...
==========================

Command start time 2015-12-28 18:56:33

scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=master.dev.local, exitcode=0
Command end time 2015-12-28 18:56:33

==========================
Running OS type check...
==========================

Command start time 2015-12-28 18:56:33
Cluster primary/cluster OS family is ubuntu14 and local/current OS family is ubuntu14

Connection to master.dev.local closed.
SSH command execution finished
host=master.dev.local, exitcode=0
Command end time 2015-12-28 18:56:33

==========================
Checking 'sudo' package on remote host...
==========================

Command start time 2015-12-28 18:56:33
sudo						install

Connection to master.dev.local closed.
SSH command execution finished
host=master.dev.local, exitcode=0
Command end time 2015-12-28 18:56:33

==========================
Copying repo file to 'tmp' folder...
==========================

Command start time 2015-12-28 18:56:33

scp /etc/apt/sources.list.d/ambari.list
host=master.dev.local, exitcode=0
Command end time 2015-12-28 18:56:33

==========================
Moving file to repo dir...
==========================

Command start time 2015-12-28 18:56:33

Connection to master.dev.local closed.
SSH command execution finished
host=master.dev.local, exitcode=0
Command end time 2015-12-28 18:56:34

==========================
Changing permissions for ambari.repo...
==========================

Command start time 2015-12-28 18:56:34

Connection to master.dev.local closed.
SSH command execution finished
host=master.dev.local, exitcode=0
Command end time 2015-12-28 18:56:34

==========================
Update apt cache of repository...
==========================

Command start time 2015-12-28 18:56:34
0% [Working]
            
Hit http://ppa.launchpad.net trusty InRelease

            
0% [Waiting for headers]
                        
0% [InRelease gpgv 15,5 kB] [Waiting for headers]
                                                 
12% [Waiting for headers]
                         
Hit http://ppa.launchpad.net trusty/main amd64 Packages

12% [Waiting for headers]
                         
12% [Packages 19,5 kB] [Waiting for headers] [Waiting for headers]
                                                                  
100% [Waiting for headers] [Waiting for headers]
                                                
Hit http://public-repo-1.hortonworks.com Ambari InRelease

                                                
Hit http://ppa.launchpad.net trusty/main i386 Packages

100% [Waiting for headers] [Waiting for headers]
                                                
100% [InRelease gpgv 3.187 B] [Waiting for headers] [Waiting for headers]
                                                                         
100% [Packages 19,5 kB] [InRelease gpgv 3.187 B] [Waiting for headers] [Waiting
                                                                               
100% [InRelease gpgv 3.187 B] [Waiting for headers] [Waiting for headers]
                                                                         
100% [Waiting for headers] [Waiting for headers]
                                                
Hit http://ppa.launchpad.net trusty/main Translation-en

                                                
100% [Waiting for headers]
                          
100% [Translation-en 6.192 B] [Waiting for headers]
                                                   
100% [Waiting for headers]
                          
Hit http://public-repo-1.hortonworks.com HDP-UTILS InRelease

100% [Waiting for headers]
                          
100% [InRelease gpgv 7.439 B] [Waiting for headers]
                                                   
100% [Waiting for headers]
                          
Ign http://public-repo-1.hortonworks.com HDP InRelease

                          
100% [Working]
              
Hit http://public-repo-1.hortonworks.com Ambari/main amd64 Packages

              
100% [Waiting for headers]
100% [Waiting for headers]
                          
Hit http://public-repo-1.hortonworks.com Ambari/main i386 Packages

                          
100% [Working]
              
100% [Waiting for headers]
100% [Waiting for headers]
100% [Waiting for headers]
100% [Waiting for headers]
                          
Hit http://public-repo-1.hortonworks.com HDP-UTILS/main amd64 Packages

100% [Waiting for headers]
100% [Waiting for headers]
                          
Hit http://public-repo-1.hortonworks.com HDP-UTILS/main i386 Packages

100% [Waiting for headers]
100% [Waiting for headers]
100% [Waiting for headers]
                          
Ign http://public-repo-1.hortonworks.com HDP Release.gpg

                          
100% [Working]
              
100% [Waiting for headers]
                          
Ign http://public-repo-1.hortonworks.com HDP Release

                          
100% [Working]
              
100% [Waiting for headers]
100% [Waiting for headers]
100% [Waiting for headers]
                          
100% [Waiting for headers]                                         14,5 kB/s 0s
100% [Waiting for headers]                                         14,5 kB/s 0s
100% [Waiting for headers]                                         14,5 kB/s 0s
100% [Waiting for headers]                                         14,5 kB/s 0s
100% [Waiting for headers]                                         14,5 kB/s 0s
                                                                               
Ign http://public-repo-1.hortonworks.com Ambari/main Translation-en_US

100% [Waiting for headers]                                         14,5 kB/s 0s
                                                                               
Ign http://public-repo-1.hortonworks.com Ambari/main Translation-en

100% [Working]                                                     14,5 kB/s 0s
                                                                               
Ign http://public-repo-1.hortonworks.com HDP-UTILS/main Translation-en_US

100% [Working]                                                     14,5 kB/s 0s
                                                                               
Ign http://public-repo-1.hortonworks.com HDP-UTILS/main Translation-en

100% [Working]                                                     14,5 kB/s 0s
100% [Waiting for headers]                                         14,5 kB/s 0s
100% [Waiting for headers]                                         14,5 kB/s 0s
100% [Waiting for headers]                                         14,5 kB/s 0s
                                                                               
Err http://public-repo-1.hortonworks.com HDP/main amd64 Packages
  404  Not Found [IP: 54.230.218.83 80]

100% [Working]                                                     14,5 kB/s 0s
                                                                               
Err http://public-repo-1.hortonworks.com HDP/main i386 Packages
  404  Not Found [IP: 54.230.218.83 80]

100% [Working]                                                     14,5 kB/s 0s
                                                                               
Ign http://public-repo-1.hortonworks.com HDP/main Translation-en_US

100% [Working]                                                     14,5 kB/s 0s
                                                                               
Ign http://public-repo-1.hortonworks.com HDP/main Translation-en

100% [Working]                                                     14,5 kB/s 0s
                                                                               
W: Failed to fetch http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.3.0.0/dists/HDP/main/binary-amd64/Pa...  404  Not Found [IP: 54.230.218.83 80]

W: Failed to fetch http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.3.0.0/dists/HDP/main/binary-i386/Pac...  404  Not Found [IP: 54.230.218.83 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

Connection to master.dev.local closed.
SSH command execution finished
host=master.dev.local, exitcode=100
Command end time 2015-12-28 18:56:46

==========================
Copying setup script file...
==========================

Command start time 2015-12-28 18:56:46

scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
host=master.dev.local, exitcode=0
Command end time 2015-12-28 18:56:46

ERROR: Bootstrap of host master.dev.local fails because previous action finished with non-zero exit code (100)
ERROR MESSAGE: Execute of '<bound method BootstrapDefault.copyNeededFiles of <BootstrapDefault(Thread-1, started daemon 140058271373056)>>' failed
STDOUT: Try to execute '<bound method BootstrapDefault.copyNeededFiles of <BootstrapDefault(Thread-1, started daemon 140058271373056)>>'
1 ACCEPTED SOLUTION

avatar
Master Mentor

@Jose Antonio Munoz there is no 2.3.0.0 in updates section, your url is wrong. The updates only contain 2.3.2.0 and 2.3.4.0. I don't see 2.3.0.0 published anymore, try using HDP/ubuntu14/2.x/updates/2.3.4.0 or 2.3.2.0. What HDP version are you on? Please post the repo url you're trying to use.

View solution in original post

5 REPLIES 5

avatar
Master Mentor

@Jose Antonio Munoz there is no 2.3.0.0 in updates section, your url is wrong. The updates only contain 2.3.2.0 and 2.3.4.0. I don't see 2.3.0.0 published anymore, try using HDP/ubuntu14/2.x/updates/2.3.4.0 or 2.3.2.0. What HDP version are you on? Please post the repo url you're trying to use.

avatar
Contributor

Artem, I am trying to install HDP-2.3 and the repo url are:

public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.3.2.0 and

public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu14

avatar
Contributor

These url repo where recommended by Jonas Straub , from Hortonworks. What apparently it is happening is that when fail to download this version, by default the scripts try to download and old one that is not supported anymore I think.

avatar
Master Mentor

try to clean your cache, "apt-get update"

avatar
Contributor

It worked, thank you Artem.