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 | |
| 5283 | 04-26-2020 06:18 PM | |
| 4448 | 04-26-2020 06:05 PM | |
| 3576 | 04-13-2020 08:53 PM | |
| 5377 | 03-31-2020 02:10 AM |
08-11-2017
06:55 AM
@uri ben-ari I see a duplicate post of yours here: https://community.hortonworks.com/questions/121757/how-to-find-config-type-by-api-command-1.html? Please refer to that thread for further discussions and close this duplicate one.
... View more
08-11-2017
06:54 AM
@uri ben-ari Using Amabri API you can try the following: curl -iv -u admin:admin -H "X-Requested-By: ambari" -X GET http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/configurations?type=hdfs-site Then get the latest version tag from the above call and then use that version in the API call. curl -iv -u admin:admin -H "X-Requested-By: ambari" -X GET http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/configurations?type=hdfs-site&tag=version1497013815573 .
... View more
08-11-2017
06:51 AM
@uri ben-ari Something like this we can try using "config.sh" script. (one approach) # /var/lib/ambari-server/resources/scripts//configs.sh -u admin -p admin -port 8080 get localhost test_cluster hdfs-site
.
... View more
08-10-2017
01:57 PM
@salma zegdene The path looks like a custom path... Does it have the right permissions.. or if this path has any issue ? # ls -ld /boot/efi/hadoop/hdfs/namenode .
... View more
08-10-2017
01:46 PM
1 Kudo
@Shishir Saxena You can try using the standard "log4j" Filtering mechanism to tell the log4j to not log the lines containing few Strings "blah blah" <filter class="org.apache.log4j.varia.StringMatchFilter">
<param name="StringToMatch" value="blah blah" />
<param name="AcceptOnMatch" value="false" />
</filter> - Here you can write many strings (part of a line) that you are seeing repeatedly in your log file and are useless. https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/varia/StringMatchFilter.html - The above filter you can add inside the "Atlas" Ambari UI --> Atlas --> Configs --> Advanced --> Advanced atlas-log4j Your desired Appender Tag something like following: <appender .....>
.
.
<filter class="org.apache.log4j.varia.StringMatchFilter">
<param name="StringToMatch" value="blah blah" />
<param name="AcceptOnMatch" value="false" />
</filter>
</appender> . Reference: http://middlewaremagic.com/jboss/?p=296 . Other option will be to change to Logging level from INFO to WARN ( but that will then show only WARNING, ERROS, CRITICAL,FATAL) messages, No INFO messages.
... View more
08-10-2017
01:33 PM
@salma zegdene - Are you running ambari and ambari agents as root user? - What is the permission currently set on the directory : # ls -ld /boot/efi/hadoop/hdfs/namenode . - Also what is the umask setting on your OS ?
... View more
08-10-2017
12:56 PM
3 Kudos
@Zubair Jaleel The error says: cp: `/usr/hdp/current/falcon-client/oozie/ext/falcon-oozie-el-extension-0.10.0.2.6.0.3-8.jar'
And
`/usr/hdp/current/oozie-server/libext/falcon-oozie-el-extension-0.10.0.2.6.0.3-8.jar' are the same file . So not sure if moving the following file temporarily make it work... but you can give it a try: # mv /usr/hdp/current/oozie-server/libext/falcon-oozie-el-extension-0.10.0.2.6.0.3-8.jar /usr/hdp/current/oozie-server/libext/falcon-oozie-el-extension-0.10.0.2.6.0.3-8.jar.Original . So that during startup the falcon-client Jar can get copied to the oozie-server's mentioned path.
... View more
08-10-2017
11:22 AM
@Shrikant BM Good to know the information was useful. It will be great if you can mark this thread as "Accepted" . Looks like it is undone Some how.
... View more
08-10-2017
11:16 AM
@Shrikant BM From one of my old thread i am posting the content here: https://community.hortonworks.com/questions/118016/can-someone-share-the-video-link-or-website-link-t.html It is better to use Ambari Metrics Collector for Hortonworks HDP
monitoring. It also offers Grafana to visualize the statistics and
metrics in more useful manner.
In Earlier version of Ambari
used to include the plugin capability with Nagios and Ganglia however
those were removed due to following limitations.
https://issues.apache.org/jira/browse/AMBARI-5707 - Ganglia has limited capabilities for analyzing historic data, new plugins are not easy to write. - Horizontal scale out for large clusters. - No support for adhoc queries. - Not easy to add metrics support for new services added to the stack. - It is non trivial to hook up existing time series databases like OpenTSDB to store raw data forever. So recommended way is to use AMS (Ambari Metrics Collector Service). https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/ams_architecture.html Using Grafana: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/using_grafana.html . .
... View more
08-10-2017
10:15 AM
@John Wright As you have changed the repo hence you should do yum clean all on all nodes ... because they we re using other repo earlier. # yum clean all . Then retry again. Additionally from the problematic host please try check if the repo data is accessible or not (just to isolate the Network Or Proxy issue). Example: (from the host where yum installation failed) # wget http://private-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.0.0-598/repodata/repomd.xml
... View more