Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2823 | 04-27-2020 03:48 AM | |
| 5475 | 04-26-2020 06:18 PM | |
| 4648 | 04-26-2020 06:05 PM | |
| 3699 | 04-13-2020 08:53 PM | |
| 5602 | 03-31-2020 02:10 AM |
01-30-2020
05:02 AM
@AarifAkhter While setting up your maria DB have you performed the step mentioned in the doc as https://docs.cloudera.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-administration/content/using_ambari_with_mysql.html You must pre-load the Ambari database schema into your MySQL database using the schema script. Run the script in the same location where you find the Ambari-DDL-MySQL-CREATE.sql file. You should find the Ambari-DDL-MySQL-CREATE.sql file in the /var/lib/ambari-server/resources/ directory of the Ambari Server host, after you have installed Ambari Server. Ambari also shows this kind of message whenuser performs "ambari-server setup" while setting up the database. WARNING: Before starting Ambari Server, you must run the following DDL directly from the database shell to create the schema: /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql . Also please let us know if your MariaDB instance running on "localhost" Or on "ip-172-31-9-188.xxxxxxxxxxxxxxx.internal" Can you please change the "localhost" to the hostname of the DB. server.jdbc.hostname=ip-172-31-9-188.xxxxxxxxxxxxxxx.internal Also please verify if the "MariaDB" exist on the mariaDB running on host 'ip-172-31-9-188.xxxxxxxxxxxxxxx.internal' # mysql -u ambari -p
Enter password:
show databases; .
... View more
01-28-2020
02:00 PM
Jay - can you help me with this post - https://community.cloudera.com/t5/Support-Questions/how-to-recover-bad-namenode-from-good-namenode/td-p/288471
... View more
01-21-2020
06:04 AM
Hey @jsensharma , Thanks for providing patch for this issue. I tested patch from https://github.com/apache/ambari/pull/3125/commits/973bb3fafdfb3c8e1f8516ca7a6efbb27897fb11 and it fix issue for yarn container metric. But above accepted solution does not work for "yarn container" metrics. Trick is to find correct counterOrNA function as this function is available at 4 places in app.js file . Just thought to let you and others know. Regards Ajit Mote
... View more
01-08-2020
12:59 PM
Auch... Good catch. wget https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/cloudera-cdh5.repo wget https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo wget https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/RPM-GPG-KEY-cloudera Thanks for correcting. I should have updated 6 to 7 in the above link while I was doing all downloads... no harm, it's a new installation, I can clean up and redo. Thanks for your help.
... View more
01-08-2020
01:11 AM
@jsensharma - I have managed to resolve the issue for my case it was an issue with ambary ldap sync which I had to run with the existing option and that did the trick . So this can be marked as closed now.
... View more
01-05-2020
04:15 AM
Hi, This seems to be a Kerberos authentication problem. is this issue happens only for a SHS2 UI or does it happens for other URLs too? You could do a1. kinit username 2. kinit -kt service.keytab 3. send keytab file along with the submit command Thanks AKR
... View more
12-30-2019
04:32 PM
@Koffi If your DataNodes are unevenly distributed/loaded then HDFS provides an option to Balance them using the "HDFS Balancer" utility. HDFS balancer utility helps to balance the blocks across DataNodes in the cluster. Via Ambari: https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/managing-and-monitoring-ambari/content/amb_rebalance_hdfs_blocks.html Further Details: https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/data-storage/content/balancer_commands.html .
... View more
12-20-2019
09:08 PM
@Bindal
The "/user" directory permission and ownership is shows as "hdfs:hdfs:drwxr-xr-x" Which means it can be written only by superuser "hdfs". However in ambari you have logged in as "admin" user which is NOT superuser "hdfs". So you may have to change the ownership of this dir (Which is not recommended) so that 'admin' user can create a directory inside it ....
But if you want to perform the directory creation inside "/user" via file view only then you can try this:
1. In Ambari UI Navigate to
"admin" → "Manage Ambari" → Users → "Add Users" Button
2. Create a user with name "hdfs" (you can choose your own desired password for this user and specify in the UI form)
3. You can create this user as Cluster Admin ...etc based on the type needed in the "User Access" section. Similarly you can make that user as Ambari Admin if needed. (But this is up to your requirement)
4. Now give the View Access permission to this user "hdfs"
"admin" → "Manage Ambari" → Views → "AUTO_FILES_INSTANCE" (click on "edit" button)
5. At the end of the "AUTO_FILES_INSTANCE" view definition you will find section named as "Permissions" please add user "hdfs" there.
6. Now try to login to a freshly opened browser as "hdfs" user and then you should be able to create Folders inside "/user" directory using File View.
.
Later you can disable the "hdfs" user account anytime in the Ambari UI.
... View more
12-17-2019
06:03 AM
As the description mentions that nothing from /var/lib/ambari-server/resources is populated in agent cache, I see a behavior where custom dashboard files which are placed at /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/HDP/ are also not available in /var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/HDP/. How to make this work?
... View more