Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Fail to install kerberos in HDP sandbox 2.5

avatar
Super Collaborator

I use the following command to install kerborse in HDP sandbox 2.5, but fails with the following error.

yum install krb5-server krb5-libs krb5-workstation -y
Determining fastest mirrors
epel/metalink                                                                                  | 5.2 kB     00:00
 * base: mirrors.btte.net
 * epel: mirror01.idc.hinet.net
 * extras: ftp.tc.edu.tw
 * updates: ftp.tc.edu.tw
AMBARI.2.4.0.0-2.x                                                                             | 2.9 kB     00:00
HDP-2.5                                                                                        | 2.9 kB     00:00
HDP-SOLR-2.5-100                                                                               | 2.5 kB     00:00
HDP-SOLR-2.5-100/primary_db                                                                    | 2.0 kB     00:00
HDP-UTILS-1.1.0.21                                                                             | 2.9 kB     00:00
base                                                                                           | 3.7 kB     00:00
epel                                                                                           | 4.3 kB     00:00
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 298, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 146, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 440, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 211, in doCommand
    return base.installPkgs(extcmds)
  File "/usr/share/yum-cli/cli.py", line 702, in installPkgs
    self.install(pattern=arg)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3551, in install
    mypkgs = self.pkgSack.returnPackages(patterns=pats,
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 907, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 687, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.6/site-packages/yum/repos.py", line 324, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 165, in populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in _check_db_version
    return repo._check_db_version(mdtype)
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1261, in _check_db_version
    repoXML = self.repoXML
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1460, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1452, in _getRepoXML
    self._loadRepoXML(text=self)
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1442, in _loadRepoXML
    return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1418, in _groupLoadRepoXML
    self._commonRetrieveDataMD(mdtypes)
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1349, in _commonRetrieveDataMD
    os.rename(local, local + '.old.tmp')
OSError: [Errno 22] Invalid argument
1 ACCEPTED SOLUTION

avatar
Guru

Hello @jzhang,

This problem used be there with old HDP 2.5 Sandbox image. Can you please verify the MD5 checksum of the HDP 2.5 sandbox images that you are using for this page? For example, for virtualbox image file (the .ova file) of HDP 2.5 sandbox, the MD5 sum should be :

MD5 : d42a9bd11f29775cc5b804ce82a72efd

Please confirm this. If checksums are not matching, then download the correct image from above link.

Hope this helps.

View solution in original post

2 REPLIES 2

avatar
Guru

Hello @jzhang,

This problem used be there with old HDP 2.5 Sandbox image. Can you please verify the MD5 checksum of the HDP 2.5 sandbox images that you are using for this page? For example, for virtualbox image file (the .ova file) of HDP 2.5 sandbox, the MD5 sum should be :

MD5 : d42a9bd11f29775cc5b804ce82a72efd

Please confirm this. If checksums are not matching, then download the correct image from above link.

Hope this helps.

avatar
Super Collaborator

Thanks @Vipin Rathor, The latest snadbox works.