Member since
04-22-2016
931
Posts
46
Kudos Received
26
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1860 | 10-11-2018 01:38 AM | |
| 2220 | 09-26-2018 02:24 AM | |
| 2252 | 06-29-2018 02:35 PM | |
| 2932 | 06-29-2018 02:34 PM | |
| 6105 | 06-20-2018 04:30 PM |
06-12-2017
05:26 PM
hi Jay please see below , proxy is set but wget times out also see the attached screenshot showing that from web the URL is reachable screenshot.jpg [root@hadoop1 yum.repos.d]# wget http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml
--2017-06-12 13:22:57-- http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml
Resolving dotatofwproxy.tolls.dot.state.fl.us... 10.100.30.27
Connecting to dotatofwproxy.tolls.dot.state.fl.us|10.100.30.27|:8080... connected.
Proxy request sent, awaiting response... 504 Gateway Timeout
2017-06-12 13:23:06 ERROR 504: Gateway Timeout.
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# cat /etc/yum.conf | grep proxy
proxy=http://dotatofwproxy.tolls.dot.state.fl.us:8080
[root@hadoop1 yum.repos.d]#
... View more
06-12-2017
05:10 PM
I only have this host name in one file ambari.repo and as I am showing above the url is reachable [root@hadoop1 yum.repos.d]# grep 'hadoop1.tolls.dot.state.fl.us' *.repo
ambari.repo:baseurl=http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# more ambari.repo
#VERSION_NUMBER=2.4.2.0-22
[ambari-2.4.2.0]
name=ambari-2.4.2.0
baseurl=http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136
gpgcheck=0
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[root@hadoop1 yum.repos.d]#
... View more
06-12-2017
03:50 PM
The yum repolist works for other repositories but not the local ambari . [root@hadoop1 yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, priorities, protectbase, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 13 kB 00:00
* base: centos.unixheads.org
* epel: archive.linux.duke.edu
* extras: centos.mirror.constant.com
* updates: centos.mirror.lstn.net
http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.
http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.
base | 3.7 kB 00:00
base/primary_db | 4.7 MB 00:00
centos-sclo-rh | 2.9 kB 00:00
centos-sclo-rh/primary_db | 2.5 MB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 29 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 1.4 MB 00:00
repo id repo name status
HDP-2.5 HDP-2.5 200
HDP-2.5.0.0 HDP-2.5.0.0 200
HDP-UTILS-1.1.0.21 HDP-UTILS-1.1.0.21 56
HDP-UTILS-2.5.0.0 HDP-UTILS-2.5.0.0 56
Updates-ambari-2.4.2.0 ambari-2.4.2.0 - Updates 0
base CentOS-6 - Base 6,706
centos-sclo-rh CentOS-6 - SCLo rh 5,553
epel Extra Packages for Enterprise Linux 6 - x86_64 12,309
extras CentOS-6 - Extras 45
updates CentOS-6 - Updates 354
repolist: 25,479
[root@hadoop1 yum.repos.d]#
... View more
06-12-2017
03:13 PM
I am following Hortonworks document for this and they are mentioning and have setup the ambari.repo file but install is failing , please see what I am doing wrong, also attaching the screenshot showing that the repository directory is accessable from web. getting following error:
http://hadoop1/AMBARI-2.4.2.0/centos6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.
the repond.xml file is there and accessable [root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# ls /var/www/html/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml
/var/www/html/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml
[root@hadoop1 yum.repos.d]#
though the document is saying to set the base url as "http://<web.server>/Ambari-2.4.2.0/<OS> " but the respomd.xml file is the <OS><RELEASE> directory , I tried both but no luck. the ambari.repo file is shown below: [root@hadoop1 yum.repos.d]# more ambari.repo
#VERSION_NUMBER=2.4.2.0-22
[Updates-ambari-2screenshot.jpg.4.2.0]
name=ambari-2.4.2.0 - Updates
baseurl=http://hadoop1/AMBARI-2.4.2.0/centos6/2.4.2.0-136
gpgcheck=0
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
... View more
Labels:
06-11-2017
07:09 AM
This one is resolved , the solution was to grant all privileges on *.* to 'root'@'hiveserver' identified by 'hadoop' with grant option;
... View more
06-11-2017
06:22 AM
Ranger creates the database and usernames successfully by fails on granting privileges ? please take a look at screenshot.
... View more
Labels:
06-11-2017
05:52 AM
I am configuring Ranger and its asking me to enter an external URL ? what is this ? I have choosen UNIX as authentication method. please take a look at the screen shot
... View more
Labels:
05-26-2017
07:05 PM
I have a document showing how to set ACLs in hadoop but it has a pre-requisite of setting the following policy. but this policy is missing from my HDP 2.5 ? set the "dfs.namenode.acls.enabled" to true (HDFS configs).
... View more
Labels:
05-11-2017
09:55 PM
i tried to search the site you gave me for some keywords , it can't find any ? capture.jpg
... View more