Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@centos7 share]# rpm -ivh mapr-pig-0.13.201504240841-1.noarch.rpm
- Preparing... ################################# [100%]
- Updating / installing...
- 1:mapr-pig-0.13.201504240841-1 ################################# [100%]
- POST_YARN=1, replacing MR1 jars
- [root@centos7 share]#
- [root@centos7 share]#
- [root@centos7 share]# cd
- [root@centos7 ~]#
- [root@centos7 ~]#
- [root@centos7 ~]#
- [root@centos7 ~]#
- [root@centos7 ~]# yum clean all
- Loaded plugins: fastestmirror
- Cleaning repos: base epel extras maprecosystem maprtech mysql-connectors-community mysql-tools-community
- : mysql56-community updates
- Cleaning up everything
- [root@centos7 ~]#
- [root@centos7 ~]#
- [root@centos7 ~]# yum upgrade mapr-pig
- Loaded plugins: fastestmirror
- base | 3.6 kB 00:00:00
- epel | 4.4 kB 00:00:00
- extras | 3.4 kB 00:00:00
- http://package.mapr.com/releases/ecosystem-all/redhat/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
- Trying other mirror.
- One of the configured repositories failed (MapR Technologies),
- and yum doesn't have enough cached data to continue. At this point the only
- safe thing yum can do is fail. There are a few ways to work "fix" this:
- 1. Contact the upstream for the repository and get them to fix the problem.
- 2. Reconfigure the baseurl/etc. for the repository, to point to a working
- upstream. This is most often useful if you are using a newer
- distribution release than is supported by the repository (and the
- packages for the previous distribution release still work).
- 3. Disable the repository, so yum won't use it by default. Yum will then
- just ignore the repository until you permanently enable it again or use
- --enablerepo for temporary usage:
- yum-config-manager --disable maprecosystem
- 4. Configure the failing repository to be skipped, if it is unavailable.
- Note that yum will try to contact the repo. when it runs most commands,
- so will have to try and fail each time (and thus. yum will be be much
- slower). If it is a very temporary problem though, this is often a nice
- compromise:
- yum-config-manager --save --setopt=maprecosystem.skip_if_unavailable=true
- failure: repodata/repomd.xml from maprecosystem: [Errno 256] No more mirrors to try.
- http://package.mapr.com/releases/ecosystem-all/redhat/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
- [root@centos7 ~]#
- [root@centos7 ~]#
- [root@centos7 ~]# nano /etc/yum.repos.d/maprtech.repo
- [root@centos7 ~]# nano /etc/yum.repos.d/maprtech.repo
- [root@centos7 ~]# yum upgrade mapr-pig
- Loaded plugins: fastestmirror
- base | 3.6 kB 00:00:00
- epel | 4.4 kB 00:00:00
- extras | 3.4 kB 00:00:00
- maprecosystem | 951 B 00:00:00
- maprtech | 951 B 00:00:00
- mysql-connectors-community | 2.5 kB 00:00:00
- mysql-tools-community | 2.5 kB 00:00:00
- mysql56-community | 2.5 kB 00:00:00
- updates | 3.4 kB 00:00:00
- (1/9): base/7/x86_64/group_gz | 154 kB 00:00:02
- (2/9): extras/7/x86_64/primary_db | 62 kB 00:00:02
- (3/9): base/7/x86_64/primary_db | 5.1 MB 00:00:04
- (4/9): mysql-connectors-community/x86_64/primary_db | 7.3 kB 00:00:02
- (5/9): epel/x86_64/group_gz | 169 kB 00:00:05
- (6/9): mysql-tools-community/x86_64/primary_db | 17 kB 00:00:02
- (7/9): updates/7/x86_64/primary_db | 2.5 MB 00:00:01
- (8/9): epel/x86_64/primary_db | 3.7 MB 00:00:06
- (9/9): mysql56-community/x86_64/primary_db | 100 kB 00:00:02
- (1/4): maprecosystem/primary | 8.5 kB 00:00:03
- (2/4): maprtech/primary | 4.8 kB 00:00:03
- (3/4): epel/x86_64/updateinfo | 448 kB 00:00:05
- (4/4): epel/x86_64/pkgtags | 1.6 MB 00:00:06
- Determining fastest mirrors
- * base: centos.po.opole.pl
- * extras: ftp.colocall.net
- * updates: centos.po.opole.pl
- maprecosystem 44/44
- maprtech 23/23
- Resolving Dependencies
- --> Running transaction check
- ---> Package mapr-pig.noarch 0:0.13.201504240841-1 will be updated
- ---> Package mapr-pig.noarch 0:0.14.201505151417-1 will be an update
- --> Finished Dependency Resolution
- Dependencies Resolved
- ====================================================================================================================
- Package Arch Version Repository Size
- ====================================================================================================================
- Updating:
- mapr-pig noarch 0.14.201505151417-1 maprecosystem 98 M
- Transaction Summary
- ====================================================================================================================
- Upgrade 1 Package
- Total download size: 98 M
- Is this ok [y/d/N]: y
- Downloading packages:
- Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
- mapr-pig-0.14.201505151417-1.noarch.rpm | 98 MB 00:00:56
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Warning: RPMDB altered outside of yum.
- Updating : mapr-pig-0.14.201505151417-1.noarch 1/2
- POST_YARN=1, replacing MR1 jars
- mv: target β/opt/mapr/pig/pig-0.14/pig-core-h2.jarβ is not a directory
- Cleanup : mapr-pig-0.13.201504240841-1.noarch 2/2
- warning: file /opt/mapr/pig/pig-0.13/pig-withouthadoop-h2.jar: remove failed: No such file or directory
- warning: file /opt/mapr/pig/pig-0.13/pig-withouthadoop-h1.jar: remove failed: No such file or directory
- warning: file /opt/mapr/pig/pig-0.13/pig-h2.jar: remove failed: No such file or directory
- warning: file /opt/mapr/pig/pig-0.13/pig-h1.jar: remove failed: No such file or directory
- warning: file /opt/mapr/pig/pig-0.13/contrib/piggybank/java/piggybank-h2.jar: remove failed: No such file or directo ry
- warning: file /opt/mapr/pig/pig-0.13/contrib/piggybank/java/piggybank-h1.jar: remove failed: No such file or directo ry
- Verifying : mapr-pig-0.14.201505151417-1.noarch 1/2
- Verifying : mapr-pig-0.13.201504240841-1.noarch 2/2
- Updated:
- mapr-pig.noarch 0:0.14.201505151417-1
- Complete!
- [root@centos7 ~]# sudo -i mapr pig
- -bash: mapr: command not found
- [root@centos7 ~]# sudo -u mapr pig
- which: no hbase in (/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79-2.5.5.1.el7_1.x86_64/bin:/sbin:/bin:/usr/sbin:/usr/bin)
- Not a valid JAR: /opt/mapr/pig/pig-0.14/pig-0.14.0-mapr-1504-core-h2.jar /opt/mapr/pig/pig-0.14/pig-core-h2.jar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement