Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2720 | 04-27-2020 03:48 AM | |
| 5280 | 04-26-2020 06:18 PM | |
| 4445 | 04-26-2020 06:05 PM | |
| 3570 | 04-13-2020 08:53 PM | |
| 5377 | 03-31-2020 02:10 AM |
07-04-2017
12:39 AM
@jack jack Ambari Makes use of the JMX APIs provided by the individual components to get the Heap details like: http://$NAMENODE_HOST:50070/jmx?qry=Hadoop:service=NameNode,name=JvmMetrics . Similarly HBase memory details are retrieved using the following MBean. http://$HBASE:16010/jmx Hadoop:service=HBase,name=JvmMetrics .
... View more
07-03-2017
04:08 PM
2 Kudos
@Alireza Sadeghi The fix mentioned in AMBARI-21263 is very simple. You only need to modify your "/usr/lib/python2.6/site-packages/ambari_server/serverUpgrade.py" script as mentioned in : https://reviews.apache.org/r/60126/diff/3#index_header So please take a backup of your "/usr/lib/python2.6/site-packages/ambari_server/serverUpgrade.py"file and try editing the lines as mentioned in the fix. NOTE: While editing the script line starting with - (Minus) need to be removed and the lines starting with + (Plus) need to be added. .
... View more
07-03-2017
12:27 PM
@Rajesh Dheenan Your service name is as following: <property>
<name>dfs.ha.namenodes.raccluster</name>
<value>mn1,mn2</value>
</property>
<property>
<name>dfs.namenode.rpc-address.raccluster.mn1</name>
<value>namnod1:8020</value>
</property>
<property>
<name>dfs.namenode.rpc-address.raccluster.mn2</name>
<value>namnod2:8020</value>
</property>
<property>
<name>dfs.namenode.http-address.raccluster.mn1</name>
<value>namnod1:50070</value>
</property>
<property>
<name>dfs.namenode.http-address.raccluster.mn2</name>
<value>namnod2:50070</value>
</property> So please try the following commands: (Notice i am using mn1 and mn2 instead of nn1 & nn2) # hdfs haadmin -getServiceState mn1
# hdfs haadmin -getServiceState mn2
.
... View more
07-03-2017
10:02 AM
@Pradarttana Panda The Jar permission is correct ? I mean the user who is running the instrument job is having permission to read: /usr/lib/ambari-server/ambari-server-2.5.2.0.95.jar .
... View more
07-03-2017
09:33 AM
@Rohit Sharma Are you using default "Tez" view instance? Or are you creating a new Tez View instance? Can you please share the screenshot of your Tez View configuration properties?
Ambari UI --> admin --> Manage Ambari --> Views --> Tez --> <Your Instance Name> (screenshot details) - If you are using Tez View "Cluster Configuration" option as "custom" then you will have to provide the "YARN Timeline Server URL" and "YARN ResourceManager URL" properties. .
... View more
06-30-2017
12:36 PM
@John Bowler The "Hive View 2.0" is available in Ambari from Ambari 2.5 onwards (You can get is in HDP 2.6 Sandbox). So please check your ambari version i suspect that it might be Ambari 2.4. . If you are using HDP 2.5 Sandbox then you will not find the Hive View 2.0 in it because , HDP 2.5 Sandbox ships ambari 2.4 which has only Hive View 1.0 and Hive View 1.5 (also known as hive-next view)
. Regarding your query "WORKFLOW_MANAGER View" In Ambari 2.4 this view is not Auto Instantiated. So if you want to see that view in the drop down menu then you will have to navigate to following in Ambari UI Ambari UI --> Admin --> Manage Ambari --> Views --> "WORKFLOW_MANAGER" --> Click on "Create Instance" button.
Now it will start appearing in the Drop down menu once you create the instance of this view. . .
... View more
06-30-2017
08:46 AM
@Mohit Varshney
This error indicates that you have not configured TrustStore for Ambari. Also you will need to store the "smtp.gmail.com" certificate in that truststore. Please try this: 1). Create Ambari TrustStore File. # export AMBARI_SERVER_HOSTNAME=erie1.example.com
# cd /etc/ambari-server/conf/
# $JAVA_HOME/bin/keytool -genkeypair -alias ambari -keyalg RSA -validity 365 -keystore /etc/ambari-server/conf/$AMBARI_SERVER_HOSTNAME.jks -dname 'CN=$AMBARI_SERVER_HOSTNAME, OU=MiddlewareMagic, O=test, L=Bangalore, S=Karnataka, C=IN' -keypass ambari -storepass ambari
**NOTE** Please replace the "MBARI_SERVER_HOSTNAME" with your actual ambari server FQDN/hostname. 2) . Retrieve the "smtp.gmail.com" certificate in Ambari Trust Store. # cd /etc/ambari-server/conf/
# openssl s_client -connect smtp.gmail.com:587 -starttls smtp <<< '' | openssl x509 -out gmail-smtp.cer
3). Import the smtp.gmail.com certificate to Ambari Truststore. # $JAVA_HOME/bin/keytool -import -alias $AMBARI_SERVER_HOSTNAME -file /etc/ambari-server/conf/gmail-smtp.cer -keystore /etc/ambari-server/conf/$AMBARI_SERVER_HOSTNAME.jks
4). Configure Ambari TrustStore. [root@erie1 conf]# ambari-server setup-security
Using python /usr/bin/python
Security setup options...
===========================================================================
Choose one of the following options:
[1] Enable HTTPS for Ambari server.
[2] Encrypt passwords stored in ambari.properties file.
[3] Setup Ambari kerberos JAAS configuration.
[4] Setup truststore.
[5] Import certificate to truststore.
===========================================================================
Enter choice, (1-5): 4
Do you want to configure a truststore [y/n] (y)?
The truststore is already configured. Do you want to re-configure the truststore [y/n] (y)?
TrustStore type [jks/jceks/pkcs12] (jks):jks
Path to TrustStore file :/etc/ambari-server/conf/erie1.example.com.jks
Password for TrustStore: ambari
Re-enter password: ambari
Ambari Server 'setup-security' completed successfully.
+++++++++++
5). Restart Ambari Server. .
... View more
06-30-2017
06:44 AM
1 Kudo
@Mustafa Kemal MAYUK For similar discussion on this please refer to: https://community.hortonworks.com/questions/96763/hdp-26-ambari-install-fails-on-rhel-7-on-libtirpc.html If you are using RHEL7 then you might have to enable the "*-rhel-server-optional" packages. Please see: https://access.redhat.com/solutions/265523
... View more
06-30-2017
06:41 AM
1 Kudo
@Mustafa Kemal MAYUK Yes, the "libtirpc-devel" package is needed by HDP 2.6. You will need to install that package from your OS Base repo. You can see that this package is available in OS base repo. For example in my case centos7 # yum whatprovides libtirpc-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
libtirpc-devel-0.2.4-0.8.el7.i686 : Development files for the libtirpc library
Repo : base
libtirpc-devel-0.2.4-0.8.el7.x86_64 : Development files for the libtirpc library
Repo : base
libtirpc-devel-0.2.4-0.8.el7_3.i686 : Development files for the libtirpc library
Repo : updates
libtirpc-devel-0.2.4-0.8.el7_3.x86_64 : Development files for the libtirpc library
Repo : updates
libtirpc-devel-0.2.4-0.8.el7_3.x86_64 : Development files for the libtirpc library
Repo : @updates
# cat /etc/redhat-release
CentOS Linux release 7.0.1406 (Core)
.
... View more
06-30-2017
04:17 AM
@Mohit Varshney
I just noticed that you added ["mail.smtp.ssl.enable":true] parameter in your SMTP protocol which is actually causing the issue. Please remove that property and then it should not cause the following error any more. For smtp.gmail.com that property is not at all needed. Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
at sun.security.ssl.InputRecord.read(InputRecord.java:527)
.
... View more