Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2460 | 04-27-2020 03:48 AM | |
4908 | 04-26-2020 06:18 PM | |
3985 | 04-26-2020 06:05 PM | |
3238 | 04-13-2020 08:53 PM | |
4950 | 03-31-2020 02:10 AM |
10-23-2018
01:04 AM
1 Kudo
@Michael Bronson This is basically a Port check alert https://github.com/apache/ambari/blob/release-2.6.2/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/alerts.json#L41 So if you see that message means somehow the zookeeper Host & port was not accessibkle when you noticed that alert. # telnet master01.sys65.com 2181
. Please check the access of the host and port from the host where the alert execution got failed. Also please check the Zookeeper logs of the same time when the alert was triggered to see if there was any error Or if the Zookeeper was down during that time? . In ambari UI please check the alert time stamp to know when exactly it was triggered. If the time stamp is bit old then may be you can try Disabling that alert for 10-15 seconds and then enable it back to see if you are noticing any new instance/occurance of that alert.
... View more
10-22-2018
09:16 AM
@Sen Ke Rebelancing is not something which we want to schedule on hourly or daily basis hence currently there is no out of the box option to schedule it. Ambari simply makes it easy by providing any option to run whenever it is needed. However if you want to schedule it then you can try using Cron Jobs to do so.
... View more
10-22-2018
09:04 AM
@Sen Ke HDFS provides a “balancer” utility to help balance the blocks across DataNodes in the cluster. You can run "HDFS Rebalancer" from Ambari UI as described in https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-operations/content/rebalancing_hdfs.html To initiate a balancing process, follow these steps:
In Ambari Web, browse to Services > HDFS > Summary. Click Service Actions, and then click Rebalance HDFS. Enter the Balance Threshold value as a percentage of disk capacity. Click Start. You can monitor or cancel a rebalance process by opening the Background Operations window in Ambari. . Reference Article: https://community.hortonworks.com/articles/87440/hdfs-balancer-balancing-data-between-disks-on-a-da.html
... View more
10-22-2018
07:11 AM
@Amit Mishra Are you able to login to the DB now? I see your new thread: https://community.hortonworks.com/questions/225768/issue-while-executing-sql-script-ambari-ddl-mysql.html So if this issue is resolved then please mark it as Closed by clicking on "Accept" button.
... View more
10-22-2018
07:06 AM
@Amit Mishra Looks like forgot to attach the exact error which you are getting. Can you please share the exact error trace that you are getting. Also please let us know your exact ambari server version. . Also please check once if you have followed the instructions mentioned in the following doc: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/using_ambari_with_mysql.html Specially the following for importing the DB Schema: # mysql -u <AMBARIUSER> -p
Enter Password: <AMBARIUSER_PASSWORD>
mysql> CREATE DATABASE <AMBARIDATABASE>;
mysql> USE <AMBARIDATABASE>;
mysql> SOURCE Ambari-DDL-MySQL-CREATE.sql; . The Ambari-DDL-MySQL-CREATE.sql is present inside the "/var/lib/ambari-server/resources/" location.
... View more
10-22-2018
05:39 AM
@Amit Mishra Additionally the following blog will give some idea in setting the password restriction policies: https://gsuartana.wordpress.com/2016/08/18/mysql-error-1819-hy000-your-password-does-not-satisfy-the-current-policy-requirements/ Please check what is the policy set on your DB: # mysql -u root -p
Enter Password: <DB_ROOT_PASSWORD><br>
mysql> use mysql;
mysql> SHOW VARIABLES LIKE 'validate_password%';
+--------------------------------------+--------+
| Variable_name | Value |
+--------------------------------------+--------+
| validate_password_check_user_name | OFF |
| validate_password_dictionary_file | |
| validate_password_length | 8 |
| validate_password_mixed_case_count | 1 |
| validate_password_number_count | 1 |
| validate_password_policy | MEDIUM |
| validate_password_special_char_count | 1 |
+--------------------------------------+--------+<br> . You can release the restrictions on passwords by setting some global varialbles like: # SET GLOBAL validate_password_length = 5;
# SET GLOBAL validate_password_number_count = 0;
# SET GLOBAL validate_password_mixed_case_count = 0;
# SET GLOBAL validate_password_special_char_count = 0;
... View more
10-22-2018
05:35 AM
@Amit Mishra Are you using MySQL 8.x? In MySQL 8.0.4, the validate_password plugin was re-implemented as the validate_password component. https://dev.mysql.com/doc/refman/8.0/en/validate-password.html So please try using the password something like "Bigdata@123456" It depends on what kind of policy is added to your MySQL: The policies implement increasingly strict password tests. The following descriptions refer to default parameter values, which can be modified by changing the appropriate system variables.
LOW policy tests password length only. Passwords must be at least 8 characters long. To change this length, modify validate_password.length . MEDIUM policy adds the conditions that passwords must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character. To change these values, modify validate_password.number_count , validate_password.mixed_case_count , and validate_password.special_char_count . STRONG policy adds the condition that password substrings of length 4 or longer must not match words in the dictionary file, if one has been specified. To specify the dictionary file, modify validate_password.dictionary_file . .
... View more
10-19-2018
07:26 AM
@Surendra Ravella As you can see that it is timing out at UDP communication hence in my previous update i requested you to use the following option inside your "/etc/krb5.conf" (windows: krb5.ini) You will need to put that property under the [libdefaults] section. This option forces the communication channel to use TCP instead of UDP. udp_preference_limit = 1 . Via Ambari for all ambari managed Kerberos clients you can do this as Ambari UI --> Kerberos --> Configs > Advanced --> Advanced krb5-conf
... View more
10-19-2018
05:22 AM
@Zyann You can add Livy Server to any of your cluster host using Ambari as followng: Ambari UI --> Hosts (Tab) --> click on your desired Host link --> On the Hosts page you will see "Add" button as following Just choose "Livy for Spark2 Server" .
... View more
10-19-2018
05:16 AM
@Shivam Aggarwal Regarding WinSCP issue. If your winscp has some issues then you can try using Ambari File View to upload the File to HDFS and then on the HDP sandbox terminal you can download the JAR file using following hdfs command: Or use http://localhost:4200 (to login web terminal of your sandbox) # ssh root@127.0.0.1 -p 2222
Enter Password: hadoop
# su - hdfs -c "hdfs dfs -get /your/jar/path/on/hdfs/your_jar.jar /tmp .
... View more