Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2444 | 04-27-2020 03:48 AM | |
4877 | 04-26-2020 06:18 PM | |
3976 | 04-26-2020 06:05 PM | |
3218 | 04-13-2020 08:53 PM | |
4924 | 03-31-2020 02:10 AM |
08-19-2019
12:42 AM
1 Kudo
@sean1 As you mentioned that . "This is a new installation and since Ambari was never upgraded," .... "there are no database back up files" 1. If this a new installation then what is the reason for downgrading ambari? If ambari was never upgraded (as it is a new installation) then what is the need to downgrade it ? 2. If you do not have the Ambari DB backup then you can not recover the cluster installation even if you installed the Ambari 2.6.2 (So backup is must)
... View more
08-18-2019
07:30 PM
@vinith_alampall Can you please check if all the environment variables are setup properly? One best way to quickly find out if anything is goig wrong or not is to run the Shell Script "start-yarn.sh" in DEBUG mode using "sh -x" option as following: This will give us better ideal if it is failing somewhere : Example: Running script in DEBUG mode # sh -x ./start-yarn.sh Can you please share the whole output fo the above command? Also do you see any log is generated for the failure? Like any out/log file if yes then can you please share those logs as well?
... View more
07-30-2019
12:52 AM
@Reed Villanueva Regarding your query: 1. What is the point of these ambari users / groups? Ambari-level administrators can assign user and group access to Ambari-, Cluster-, Host-, Service-, and User- (view-only) level permissions. Access levels allow administrators to categorised cluster users and groups based on the permissions that each level includes. Permissions that an Ambari-level administrator assigns each user or group define each role. These roles can be understood using the following table mentioned in the following doc. To understand which ambari role holder can do what. https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/administering-ambari/content/amb_roles_and_authorizations.html 2. What is the context they are intended to be used in? When a user wants to login to Ambari UI or say in a Specific View like File View / Hive View ...etc then in that case the Users created in Ambari DB (listed in the "users" table) can perform the actions according to their roles defined. For Local users ambari will authenticate them using the password listed inside the "users" table. But for the LDAP users the authentication will be done at the LDAP level (because ambari does not store the LDAP Sync users passwords in it's DB). .
... View more
07-29-2019
11:09 PM
@Reed Villanueva The users created inside the Ambari UI can be of two types "LOCAL" users and "LDAP" users. You can find this detail isnide the "users" table of ambari DB. Ambari in any case is not responsible for creating user/groups for those ambari UI users in any node. For example you will see "admin" user in ambari but you wont see any such user on ambari server host or on any other node. If you have integrated ambari with some user base like LDAP /AD then you can run the ldap-sync command to sync those users and groups present in the LDAP to sync them to ambari database "users'" table. So that those users can login to ambari UI with the LDAP credentials. But if you want these same Users to be created on every Physical host so that you can login to those hosts using the mentioned user accounts then you will need to setup SSSD service to sync those LDAP users to the OS users. https://github.com/HortonworksUniversity/Security_Labs/blob/master/HDP-2.6-AD.md#setup-ados-integration-via-sssd
... View more
07-26-2019
02:28 AM
1 Kudo
@Michael Bronson After deleting a service from Ambari UI Or using Ambari API calls ... you do not need to restart Ambari Server. Additionally, When you delete the service using Ambari UI then it internally makes the same API calls.
... View more
07-25-2019
02:50 AM
@Reed Villanueva Few things: 1. Ambari never adds any host entry inside the "/etc/hosts" file. It is the responsibility of the cluster admin to make sure all the hostname entries are added to either in a DNS server or inside the "/etc/hosts" file of each node of the cluster (irrespective it is a new node or old node) 2. Every cluster node should return a Fully Qualified Hostname (FQDN) when you run the following command on any cluster node. # hostname -f 3. Each and every node present in your cluster should be able to resolve each other using their FQDN (not using the alias hostname) So ping hw04 and ping hw04.ucera.local are not same . So to fix the issue please perform the above checks. And make sure that the "/etc/hosts" file entry on ambari server host and all cluster nodes are identical. Then verify if the ping and telnet works file from all cluster nodes and they are able to reach "hw04.ucera.local" correctly. # cat /etc/hosts
# ping hw04.ucera.local
# telnet hw04.ucera.local 50075 .
... View more
07-25-2019
01:30 AM
@Reed Villanueva Please check if you can acccess the hostname "hw04.ucera.local" from all your cluster nodes? Without any hostname/firewall issue? Please run the same command from all cluster nodes: # ping hw04.ucera.local
# telnet hw04.ucera.local 50075
# hostname -f .
... View more
07-25-2019
01:10 AM
@Reed Villanueva The most important requirement for the Cluster is that Not only ambari to be able to resolve each cluster nodes with they FQDN. BUT all the cluster nodes also should be able to resolve each other using their FQDN. So please make sure that all your cluster nodes are able to resolve each other using their hostname / FQDN Please check the "/etc/hosts" file on ambari server node as well as on other cluster nodes. (they can be same to resolve all the cluster nodes). If you are using DNS entry then please make sure that each host is able to resolve each others DNS name. https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-installation-ppc/content/edit_the_host_file.html https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-installation-ppc/content/check_dns.html
... View more
07-24-2019
12:37 AM
@Reed Villanueva When we access FileView then by design it checks if the user who has logged in to the Ambari has a valid home directory in HDFS or not? Either we need to create the users home directory in HDFS on our own OR we can refer to the following doc for automatic home directory creation in HDFS for any newly added user in ambari. https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/administering-ambari/content/amb_enable_user_home_directory_creation.html . If you are noticing that even after creating a valid home directory for the user if the FileView is failing on HDFS test. Please try this: Create a new FileView instance to see if the issue persist? Ambari UI --> Manage Ambari --> Views --> File View --> Create instance.Then please share the following data: Please share the complete log if the new File view also fails at hdfs test. /var/log/ambari-server/ambari-server.log
/var/log/ambari-server/files-view/files-view.log
... View more
07-23-2019
10:13 PM
@Reed Villanueva As we see that you have logged in to "Ambari File View" as admin user. Hence you will need to make sure that the "admin" user has a directory as following in HDFS "/user/admin". If it is missing then please create one. Example: # su - hdfs -c "hdfs dfs -mkdir /user/admin"
# su - hdfs -c "hdfs dfs -chown -R admin:hadoop /user/admin"
# su - hdfs -c "hdfs dfs -chmod -R 755 /user/admin" Then try to re-login to File View. .
... View more