Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2507 | 04-27-2020 03:48 AM | |
| 4974 | 04-26-2020 06:18 PM | |
| 4054 | 04-26-2020 06:05 PM | |
| 3287 | 04-13-2020 08:53 PM | |
| 5010 | 03-31-2020 02:10 AM |
07-30-2018
06:39 AM
I have to reinstall latest Ambari 😞 Thanks for your kindness.
... View more
07-30-2018
04:19 PM
There are 2 problems in the Ambari installation document for Ubuntu 16 at https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation/content/download_the_ambari_repo_ubuntu16.html wget -O /etc/apt/sources.list.d/ambari.list http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates//ambari.list
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
apt-get update As both Geoffrey and Jay had pointed out, the first sample command missing version number and document did not instruct to insert that for the execution For 2nd command to retrieve Linux key, the given format will result in timeout due to the syntax used. root@msl-dpe-perf77:/usr/local/Ambari# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
Executing: /tmp/tmp.1enMMyqYWS/gpg.1.sh --recv-keys
--keyserver
keyserver.ubuntu.com
B9733A7A07513CAD
gpg: requesting key 07513CAD from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
root@msl-dpe-perf77:/usr/local/Ambari# Following syntax will resolve this error root@msl-dpe-perf77:/usr/local/Ambari# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv B9733A7A07513CAD
Executing: /tmp/tmp.PQTyyilAKr/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv
B9733A7A07513CAD
gpg: requesting key 07513CAD from hkp server keyserver.ubuntu.com
gpg: key 07513CAD: "Jenkins (HDP Builds) <jenkin@hortonworks.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
root@msl-dpe-perf77:/usr/local/Ambari#
... View more
07-27-2018
05:53 PM
@Jay Kumar SenSharma will it work for postgres too? thanks
... View more
07-23-2018
04:40 PM
Issue resolved: I had reset the password for root, it solved my issue. Thanks
... View more
07-13-2018
08:01 AM
@Dukool SHarma Rack Awareness Article Part-2. https://community.hortonworks.com/articles/43164/rack-awareness-series-2.html
... View more
07-27-2018
10:21 AM
@Junfeng Chen I am facing a similar problem , can you please share the steps you performed to resolve it.
... View more
07-04-2018
11:17 AM
1 Kudo
@Kant T File View will allow to upload binary files, However you can only view/read the Text files via Ambari View. Binary files (Like PDF/ Image files) are not supposed to be displayed fine in File View. In order to view those files, you can however use the "Download" button present in the file view to download the file on your local machine (laptop) and then open it in the suitable s/w (like Image viewers/ PDF reader)
... View more
06-16-2018
12:05 AM
1 Kudo
@Michael Bronson As the AMS collector seems to be running it should collect and show the data however we will need to check if AMS collector has the data or not? So in order to check that we will need to capture the following informations: 1. Need to make an API call to the AMS collector in order to list down the number & names of metrics that it is collecting? and from which hosts. The following URLs will give us JSON output . Can you please share the same here. http://<ams-host>:6188/ws/v1/timeline/metrics/metadata http://<ams-host>:6188/ws/v1/timeline/metrics/hosts 2. Need to check the Binaries of ambari collector and sink (so that we can see if it is same as ambari ersion) # rpm -qa | grep ambari 3. Can you please check if the metrics-monitor logs shows any kind of connectivity error while connecting to AMS collector? # /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out
4. Do we see if the hostname resolution if file and correctly defined inside the "/etc/ambari-metrics-monitor/conf/metric_monitor.ini" file
5. Please check if the AMS collector log shows any error?
... View more
06-13-2018
09:33 AM
@panitta suksaran As we see the error, Where it looks like you have not setup MySQL server for Hive properly. Please see: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-administration/content/using_hive_with_mysql.html raise Fail("Failed to download file from {0} due to HTTP error: {1}".format(self.url, str(ex)))
resource_management.core.exceptions.Fail: Failed to download file from http://xxxxxx:8080/resources//mysql-connector-java.jar due to HTTP error: HTTP Error 404 So please make sure that you have already done the following steps? On the Ambari Server Host. # yum install mysql-connection-java -y (OR) if you are downloading the mysql-connector-java JAR from some tar.gz archive then please make sure to check the following locations and create the symlinks something like following to point to your jar. . Then you should find some symlink as following: Example: # ls -l /usr/share/java/mysql-connector-java.jar
lrwxrwxrwx 1 root root 31 Apr 19 2017 /usr/share/java/mysql-connector-java.jar -> mysql-connector-java-5.1.17.jar https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-administration/content/using_hive_with_mysql.html So now ambari knows how to find this jar. The JAR can be found here after # ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar
# ls -l /var/lib/ambari-server/resources/mysql-connector-java.jar
-rw-r--r-- 1 root root 819803 Sep 28 19:52 /var/lib/ambari-server/resources/mysql-connector-java.jar Reference HCC Thread: https://community.hortonworks.com/questions/186090/mysql-connector-javajar-due-to-http-error-http-err.html .
... View more