Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2724 | 04-27-2020 03:48 AM | |
| 5285 | 04-26-2020 06:18 PM | |
| 4449 | 04-26-2020 06:05 PM | |
| 3576 | 04-13-2020 08:53 PM | |
| 5377 | 03-31-2020 02:10 AM |
08-17-2017
06:01 PM
Example: If i want to add a parameter "hadoop.security.auth_to_local" to some config ... then i will need to know about it. I found in the following link that it can be applied to "core-site" , So i will need to add it to that config in ambari. https://hadoop.apache.org/docs/r2.8.0/hadoop-project-dist/hadoop-common/core-default.xml
... View more
08-17-2017
05:59 PM
@uri ben-ari I just responded there: https://community.hortonworks.com/questions/121757/how-to-find-config-type-by-api-command-1.html
... View more
08-17-2017
05:58 PM
@uri ben-ari There is no reverse mapping ... i mean if you know a parameter then there is no direct way to find which XML file that parameter will go. Usually the admin or the component owner knows which configuration parameter will impact which service and component. And which configuration file (config_type) should have the mapping for that parameter. . The best way is to find more information about the parameter and then we will know where that parameter should get applied.
... View more
08-17-2017
05:48 PM
@uri ben-ari Please try this: # curl -iv -u admin:admin -H "X-Requested-By: ambari" -X POST -d '{"RequestInfo":{"command":"RESTART","context":"Restart all required services","operation_level":"host_component"},"Requests/resource_filters":[{"hosts_predicate":"HostRoles/stale_configs=true"}]}' http://$AMBARI_SERVER:8080/api/v1/clusters/$CLUSTER_NAME/reques . Please replace the $AMBARI_SERVER with ambari FQDN $CLUSTER_NAME = clustername. .
... View more
08-17-2017
05:06 PM
@Kishore Kumar Regarding your query: "If I need to clean the previous installation from the error node , how to do that ?" >
If you have some previous installation of HDP in your mentioned host,
then in order to cleanup the previous installation you can refer to the
following article:
https://community.hortonworks.com/articles/97489/completely-uninstall-hdp-and-ambari.html
... View more
08-17-2017
11:16 AM
1 Kudo
@Sayed Anisul Hoque Looks like you logged in to ambari as "raj_ops" user. This user does not have permission to view the "Hello World View". So login to ambari as "admin" with password "admin" user and then Navigate to : Ambari UI --> "Admin" (Drop down top right corner) --> Manage Ambari --> Views --> "Hello world View" (Click here) . Now give the permission to the "raj_ops" user to see the view as following: .
... View more
08-17-2017
10:39 AM
@Sayed Anisul Hoque Login to Ambari UI --> "Admin" (Drop down top right corner) --> Manage Ambari --> Views --> "Hello world View" (something like this) Click on the "Create Instance" button there and fill the details. And then it should be listed in the drop down menu of Views. Also is there any specific reason that you are specifying 1.7.0 version for ambari there? I used the following to test locally. <dependency>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-views</artifactId>
<version>2.5.0.0</version>
</dependency> .
... View more
08-17-2017
09:41 AM
@Kishore Kumar Are you also installing the HDP components on the host where you see /usr mount point is consuming space? The HDP components also consumes lots of space. According to the HDP installation doc: "A complete installation of HDP 2.6.0 consumes about 6.5 GB of disk space.". As the HDP components and libraries are installed at "/usr/hdp" and "/usr/lib", "/var/lib" https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_command-line-installation/content/meet-min-system-requirements.html . If you want to know what is consuming lots of disk space on "/usr" then in order to find that out we can check the output of the following command to know Ambari/HDP or what else is consuming that much space. It should list top 10 directories consuming more space. # du -a /usr | sort -n -r | head -n 10
.
... View more
08-17-2017
09:17 AM
@Kishore Kumar Good to know that after yum clean the previous issue related to "mysql-connector-java" installation is gone. yum clean all - The issue which you reported in your previous response "space issue for "Mertic Collector" is different from the actual issue that is reported to this thread. So it is better to look into this new issue as part of a new HCC thread.
... View more
08-17-2017
07:57 AM
@Kishore Kumar Are you able to manually run the following command on the problematic host? Just to confirm that you do not have any repo unavailability issue. # yum install mysql-connector-java . Can you try performing yum cache cleanup? and then try again? # yum clean dbcache metadata
OR
# yum clean all . I am able to find the "mysql-connector-java" package in the following repos: # cat /etc/redhat-release
CentOS Linux release 7.0.1406 (Core)
# yum whatprovides mysql-connector-java
Loading mirror speeds from cached hostfile
mysql-connector-java-5.1.29-1.noarch : MySQL Connector/J - JDBC driver for MySQL
Repo : HDP-UTILS-1.1.0.21
mysql-connector-java-5.1.37-1.noarch : MySQL Connector/J - JDBC driver for MySQL
Repo : HDP-UTILS-1.1.0.21
1:mysql-connector-java-5.1.25-3.el7.noarch : Official JDBC driver for MySQL
Repo : base
1:mysql-connector-java-5.1.25-3.el7.noarch : Official JDBC driver for MySQL
Repo : @base
.
... View more