Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.64 KB | None | 0 0
  1. [root@centos7 share]# rpm -ivh mapr-pig-0.13.201504240841-1.noarch.rpm
  2. Preparing... ################################# [100%]
  3. Updating / installing...
  4. 1:mapr-pig-0.13.201504240841-1 ################################# [100%]
  5. POST_YARN=1, replacing MR1 jars
  6. [root@centos7 share]#
  7. [root@centos7 share]#
  8. [root@centos7 share]# cd
  9. [root@centos7 ~]#
  10. [root@centos7 ~]#
  11. [root@centos7 ~]#
  12. [root@centos7 ~]#
  13. [root@centos7 ~]# yum clean all
  14. Loaded plugins: fastestmirror
  15. Cleaning repos: base epel extras maprecosystem maprtech mysql-connectors-community mysql-tools-community
  16. : mysql56-community updates
  17. Cleaning up everything
  18. [root@centos7 ~]#
  19. [root@centos7 ~]#
  20. [root@centos7 ~]# yum upgrade mapr-pig
  21. Loaded plugins: fastestmirror
  22. base | 3.6 kB 00:00:00
  23. epel | 4.4 kB 00:00:00
  24. extras | 3.4 kB 00:00:00
  25. http://package.mapr.com/releases/ecosystem-all/redhat/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
  26. Trying other mirror.
  27.  
  28.  
  29. One of the configured repositories failed (MapR Technologies),
  30. and yum doesn't have enough cached data to continue. At this point the only
  31. safe thing yum can do is fail. There are a few ways to work "fix" this:
  32.  
  33. 1. Contact the upstream for the repository and get them to fix the problem.
  34.  
  35. 2. Reconfigure the baseurl/etc. for the repository, to point to a working
  36. upstream. This is most often useful if you are using a newer
  37. distribution release than is supported by the repository (and the
  38. packages for the previous distribution release still work).
  39.  
  40. 3. Disable the repository, so yum won't use it by default. Yum will then
  41. just ignore the repository until you permanently enable it again or use
  42. --enablerepo for temporary usage:
  43.  
  44. yum-config-manager --disable maprecosystem
  45.  
  46. 4. Configure the failing repository to be skipped, if it is unavailable.
  47. Note that yum will try to contact the repo. when it runs most commands,
  48. so will have to try and fail each time (and thus. yum will be be much
  49. slower). If it is a very temporary problem though, this is often a nice
  50. compromise:
  51.  
  52. yum-config-manager --save --setopt=maprecosystem.skip_if_unavailable=true
  53.  
  54. failure: repodata/repomd.xml from maprecosystem: [Errno 256] No more mirrors to try.
  55. http://package.mapr.com/releases/ecosystem-all/redhat/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
  56. [root@centos7 ~]#
  57. [root@centos7 ~]#
  58. [root@centos7 ~]# nano /etc/yum.repos.d/maprtech.repo
  59. [root@centos7 ~]# nano /etc/yum.repos.d/maprtech.repo
  60. [root@centos7 ~]# yum upgrade mapr-pig
  61. Loaded plugins: fastestmirror
  62. base | 3.6 kB 00:00:00
  63. epel | 4.4 kB 00:00:00
  64. extras | 3.4 kB 00:00:00
  65. maprecosystem | 951 B 00:00:00
  66. maprtech | 951 B 00:00:00
  67. mysql-connectors-community | 2.5 kB 00:00:00
  68. mysql-tools-community | 2.5 kB 00:00:00
  69. mysql56-community | 2.5 kB 00:00:00
  70. updates | 3.4 kB 00:00:00
  71. (1/9): base/7/x86_64/group_gz | 154 kB 00:00:02
  72. (2/9): extras/7/x86_64/primary_db | 62 kB 00:00:02
  73. (3/9): base/7/x86_64/primary_db | 5.1 MB 00:00:04
  74. (4/9): mysql-connectors-community/x86_64/primary_db | 7.3 kB 00:00:02
  75. (5/9): epel/x86_64/group_gz | 169 kB 00:00:05
  76. (6/9): mysql-tools-community/x86_64/primary_db | 17 kB 00:00:02
  77. (7/9): updates/7/x86_64/primary_db | 2.5 MB 00:00:01
  78. (8/9): epel/x86_64/primary_db | 3.7 MB 00:00:06
  79. (9/9): mysql56-community/x86_64/primary_db | 100 kB 00:00:02
  80. (1/4): maprecosystem/primary | 8.5 kB 00:00:03
  81. (2/4): maprtech/primary | 4.8 kB 00:00:03
  82. (3/4): epel/x86_64/updateinfo | 448 kB 00:00:05
  83. (4/4): epel/x86_64/pkgtags | 1.6 MB 00:00:06
  84. Determining fastest mirrors
  85. * base: centos.po.opole.pl
  86. * extras: ftp.colocall.net
  87. * updates: centos.po.opole.pl
  88. maprecosystem 44/44
  89. maprtech 23/23
  90. Resolving Dependencies
  91. --> Running transaction check
  92. ---> Package mapr-pig.noarch 0:0.13.201504240841-1 will be updated
  93. ---> Package mapr-pig.noarch 0:0.14.201505151417-1 will be an update
  94. --> Finished Dependency Resolution
  95.  
  96. Dependencies Resolved
  97.  
  98. ====================================================================================================================
  99. Package Arch Version Repository Size
  100. ====================================================================================================================
  101. Updating:
  102. mapr-pig noarch 0.14.201505151417-1 maprecosystem 98 M
  103.  
  104. Transaction Summary
  105. ====================================================================================================================
  106. Upgrade 1 Package
  107.  
  108. Total download size: 98 M
  109. Is this ok [y/d/N]: y
  110. Downloading packages:
  111. Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
  112. mapr-pig-0.14.201505151417-1.noarch.rpm | 98 MB 00:00:56
  113. Running transaction check
  114. Running transaction test
  115. Transaction test succeeded
  116. Running transaction
  117. Warning: RPMDB altered outside of yum.
  118. Updating : mapr-pig-0.14.201505151417-1.noarch 1/2
  119. POST_YARN=1, replacing MR1 jars
  120. mv: target β€˜/opt/mapr/pig/pig-0.14/pig-core-h2.jar’ is not a directory
  121. Cleanup : mapr-pig-0.13.201504240841-1.noarch 2/2
  122. warning: file /opt/mapr/pig/pig-0.13/pig-withouthadoop-h2.jar: remove failed: No such file or directory
  123. warning: file /opt/mapr/pig/pig-0.13/pig-withouthadoop-h1.jar: remove failed: No such file or directory
  124. warning: file /opt/mapr/pig/pig-0.13/pig-h2.jar: remove failed: No such file or directory
  125. warning: file /opt/mapr/pig/pig-0.13/pig-h1.jar: remove failed: No such file or directory
  126. warning: file /opt/mapr/pig/pig-0.13/contrib/piggybank/java/piggybank-h2.jar: remove failed: No such file or directo ry
  127. warning: file /opt/mapr/pig/pig-0.13/contrib/piggybank/java/piggybank-h1.jar: remove failed: No such file or directo ry
  128. Verifying : mapr-pig-0.14.201505151417-1.noarch 1/2
  129. Verifying : mapr-pig-0.13.201504240841-1.noarch 2/2
  130.  
  131. Updated:
  132. mapr-pig.noarch 0:0.14.201505151417-1
  133.  
  134. Complete!
  135. [root@centos7 ~]# sudo -i mapr pig
  136. -bash: mapr: command not found
  137. [root@centos7 ~]# sudo -u mapr pig
  138. 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)
  139. 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