Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2714 | 04-27-2020 03:48 AM | |
| 5273 | 04-26-2020 06:18 PM | |
| 4443 | 04-26-2020 06:05 PM | |
| 3566 | 04-13-2020 08:53 PM | |
| 5375 | 03-31-2020 02:10 AM |
05-26-2017
06:57 AM
@Rajesh Reddy You are not supposed to change the "/usr/lib/ambari-server/web/javascripts/app.js" manually. If the ambari installation is properly done then you should get the correct version mentioned in the "app.js". Because this is done at the Ambari RPM Build time. Ambari uses the following script to update the App.version during the time of RPM build. https://github.com/apache/ambari/blob/release-2.4.1/ambari-web/set-ambari-version.sh#L24 . So if you see that your "/usr/lib/ambari-server/web/javascripts/app.js" was showing some other version then it indicates that during ambari upgrade on that host this file was not upgraded properly and hence there may be some other files as well that might not be upgraded properly which might be causing the Stuck UI issue. . Please try doing a ambari re-install as following to see it it helps: (Always recommended to take a fresh DB dump for safety) yum reinstall ambari-server
. Can you let us know what was the older verison mentioned in the "App.version" ? Was it showing "2.0.0" earlier before your manual edit ? .
... View more
05-26-2017
05:54 AM
1 Kudo
@nshelke Are you looking out for some information's like mentioned in : https://hortonworks.com/blog/fault-tolerant-nimbus-in-apache-storm/
... View more
05-25-2017
01:40 PM
@Prakash Punj 1. stop ambari-server
2. take a back of existing /var/lib/ambari-server/keys folder and empty it.
3. download the attached keys.zip file and copy it to /var/lib/ambari-server/ , your new folder structure should be like /var/lib/ambari-server/keys/ca.config,/var/lib/ambari-server/keys/db/, - basically this is a fresh keys folder ( this is what you get when you install ambari-server )
4. Take a back up of all the Agent certs located at /var/lib/ambari-agent/keys/ in all the hosts.
5. Delete all the files under /var/lib/ambari-agent/keys/ folder
6. restart ambari-server. Note: ambari-server should create new certs under /var/lib/ambari-server/keys/ca.crt , /var/lib/ambari-server/keys/ca.key ....
7. restart ambari-agent, Note: ambari-agent should create new certs under /var/lib/ambari-server/keys/ folder
now you should see the successful heart beat from all the Agents.
... View more
05-25-2017
12:04 PM
@Prakash Punj From the ambari agent host try to access the ambari server's following port to findout if the Ambari's Heartbeat port is accessible to the agent or not? telnet $AMBARI_HOSTNAME 8441 . The "/etc/ambari-agent/conf/ambari-agent.ini" file should have the mentioned host & port information of server. Also check the ambari-agent.log to see if there are any strange errors. (please share if any error/warning). Also check if there is any SSL issue openssl s_client -connect $AMBARI_SERVER_HOSTNAME:8441
openssl s_client -connect $AMBARI_SERVER_HOSTNAME:8440
... View more
05-25-2017
08:04 AM
@Rajesh Reddy
Is that happening on any other browser as well ? (As normally it is related to browser caching)
... View more
05-25-2017
07:50 AM
@Rajesh Reddy This also happens sometimes if all the ambari RPMs are not properly upgraded. So can you please run the following command on ambari host and share the results (To see if all the RPM versions are same?) # rpm -qa | grep ambari .
... View more
05-25-2017
06:39 AM
@Rajesh Reddy You will need to do a Hard Refresh on your browser. For Example if you are using MAC (Google Chrome) then press "command + shift + R". Clear the browser cache. OR try opening the browser in "Incognito Mode" (New Private Window) option from the Browser Menu.
... View more
05-24-2017
05:45 AM
2 Kudos
@Michael Allen Also initially we see that you are getting this error:
'ambari-sudo.sh /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.6 | tail -1`' returned 1. ERROR: set command takes 2 parameters, instead of 1
Above error can occur only when the second argument after the "all" is null.
For example: (If we do not pass the second argument then it will fail as following) [root@sandbox hdp]# /usr/bin/hdp-select set all
ERROR: set command takes 2 parameters, instead of 1
- So in your case i am suspecting that the second argument is becoming null (empty)
In order to verify the same can you please check what is the output of the following command you are getting? [root@sandbox bin]# echo `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.6 | tail -1`
2.6.0.3-8
- If you have HDP 2.6 repo properly configured and if your "/usr/hdp" directory has the correct contents including the "2.6.0.3-8" directory then it should return the result else the result might be empty.
Example: [root@sandbox bin]# echo `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.6 | tail -1`
2.6.0.3-8
[root@sandbox bin]# echo `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.7 | tail -1`
[root@sandbox bin]# ls -l /usr/hdp/
total 16
drwxr-xr-x 32 root root 4096 Apr 19 19:13 2.5.0.0-1245
drwxr-xr-x 1 root root 4096 Apr 19 19:13 2.6.0.3-8
drwxr-xr-x 1 root root 4096 May 24 04:09 current
drwxr-xr-x 1 root root 4096 Apr 19 19:11 share
. So please check if your "/usr/hdp" directory is containing the "2.6.0.3-8" directory or not else the second argument of the hdp-select set all <null> command will show the same error. .
... View more
05-24-2017
03:47 AM
1 Kudo
@Michael Allen The error that you are getting indicates that you might be having some additional directories inside the "/usr/hdp" directory. Please remove any other unwanted directory from the mentioned directory. [root@hwmn1 yum.repos.d]# /usr/bin/hdp-select versions
ERROR: Unexpected file/directory found in /usr/hdp: hadoop . I suspect that you have "/usr/hdp/hadoop" directory added on your own which seems to be causing the issue here. Please try moving it to some other place and then try again. . Example: At my end i see the structure of the mentioned directory as following: # cd /usr/hdp/
# ls -lart
total 24
drwxr-xr-x 1 root root 4096 Apr 19 19:11 share
drwxr-xr-x 1 root root 4096 Apr 19 18:26 ..
drwxr-xr-x 32 root root 4096 Apr 19 19:13 2.5.0.0-1245
drwxr-xr-x 1 root root 4096 Apr 19 19:13 2.6.0.3-8
drwxr-xr-x 1 root root 4096 May 13 09:40 current . Can you please share the "hdp-select" RPM version that you have on your host? You might be having an incorrect version of hdp-select i guess. # rpm -qa | grep hdp-select
hdp-select-2.6.0.3-8.el6.noarch . Also the output of the repository. # cat /etc/yum.repos.d/HDP.repo
... View more
05-23-2017
04:47 PM
@ARUN
Good to know that the issue is resolved. I am not aware of any such operation from ambari side to paste the "hbase-site.xml" as it depends on customer's usecase. Like some customers might want to use spark but not HBase.
... View more