Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2725 | 04-27-2020 03:48 AM | |
| 5285 | 04-26-2020 06:18 PM | |
| 4450 | 04-26-2020 06:05 PM | |
| 3576 | 04-13-2020 08:53 PM | |
| 5380 | 03-31-2020 02:10 AM |
08-23-2017
12:19 PM
@pooja shrivastava Minimum 8GB RAM you should have on your 64 bit OS to run the Sandbox without any issue. Please see the NOTE from our doc: https://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/ Note: The Sandbox system requirements include that you have a 64 bit OS with at least 8 GB of RAM and enabled BIOS for virtualization. Find out about the newest features, known and resolved issues along with other updates on HDP 2.4 from the release notes. The Sandbox on Azure is under construction and will update to HDP2.5 soon. .
... View more
08-23-2017
10:47 AM
@Anup Shirolkar Please try using "%" wildcard for the granting. Example: grant all on *.* to 'anup'@'%.cloudapp.net';
OR
grant all on *.* to 'anup'@'%'; . Please see the doc for more details: https://dev.mysql.com/doc/refman/5.7/en/grant.html The _ and % wildcards are permitted when specifying database names in GRANT statements that grant privileges at the database level.
... View more
08-23-2017
09:57 AM
@Anup Shirolkar Also looks like your hostnmae is following: hdp25-node2.wulme4ci31tu3lwdofvykqwgkh.bx.internal.cloudapp.net . But in the error ".net" is missing, is that a typo error? Please check the hostname again if it should have ".net" or not? Access denied for user 'anup'@'hdp25-node2.wulme4ci31tu3lwdofvykqwgkh.bx.internal.cloudapp.' (using password: YES)
java.sql.SQLException: Access denied for user 'anup'@'hdp25-node2.wulme4ci31tu3lwdofvykqwgkh.bx.internal.cloudapp.' (using password: YES) .
... View more
08-23-2017
09:54 AM
@Anup Shirolkar Looks like the user "anup" does not have grant while connecting with hostname. mysql> grant all on *.* to 'anup'@'hdp25-node2.wulme4ci31tu3lwdofvykqwgkh.bx.internal.cloudapp' identified by 'YOUR_PASSWORD_HERE';
mysql> flush privileges; . So please try running the following query and then try again. . Also please double check this: mysql> SELECT * from mysql.user where User = 'anup'; .
... View more
08-23-2017
06:27 AM
@Pathan Shehbaz If you do not have any further query regarding this HCC thread, then we can close this thread by marking the answer as "Accepted" (Answered) that way it will be easy for other users to quickly browse the answered queries.
... View more
08-23-2017
05:03 AM
@uri ben-ari The error indicates that you are not passing the correct "zookeeper.connect" property value to the flag "--zookeeper" in the command line. You can get the "zookeeper.connect" value from Ambari UI --> Kafka --> Configs --> Kafka Broker --> "zookeeper.connect" In my case the value was : "amb25103.example.com:2181,amb25102.example.com:2181,amb25101.example.com:2181" So i had to use the following command: Example: # /usr/hdp/2.6.0.3-8/kafka/bin/kafka-preferred-replica-election.sh --zookeeper amb25103.example.com:2181,amb25102.example.com:2181,amb25101.example.com:2181 .
... View more
08-23-2017
04:29 AM
@Pathan Shehbaz While upgrading from HDP 2.5 to HDP 2.6 you do not need to much concern about the kerberos, it will be taken care by ambari. However you can take a look at the following doc for prerequisite of the upgrade: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-upgrade/content/upgrading_hdp_stack.html . >>> Regarding your query on "downgrade ambari...2.5 to 2.3 on VMs" - That is not possible and not recommended either. Because once the ambari DB schema is upgraded to the higher version then there is no rollback command. So you can only move ahead to the later version. # ambari-server upgrade . (NOT RECOMMENDED) But if you really wan to downgrade ambari then you will have to then you will need to have the previous version of ambari DB dump along with the "/etc/ambari-server/conf" directory backup (specially the ambari.properties) and then you will have to remove the higher version of ambari (using yum remove ambari-server & ambari-agent) and then you will have to do the same on all hosts to downgrade the ambari agent by uninstalling the higher version of agent and installing the lower version of agent there (but make sure to take a backup of "/etc/ambari-agent/conf". Then you can restore the Previous version of ambari's DB dump to get the older version of ambari installed. .
... View more
08-23-2017
03:37 AM
@Pathan Shehbaz The current version of ambari is 2.5.1. Ambari 2.6 is not yet available. https://docs.hortonworks.com/HDPDocuments/Ambari/Ambari-2.5.1.0/index.html . Are you talking about HDP 2.5 to HDP 2.6 upgrade?
... View more
08-23-2017
01:54 AM
@Anup Shirolkar The main cause of this issue sems to be MySQL server is not running fine or having some N/W issue. Causedby: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure . You will need to first check if the MySQL connectivity is fine. - Try running a simple Java JDBC code to see if you are able to connect to MySQL server properly or not? You can use the code mentioned in the following link: https://stackoverflow.com/questions/6865538/solving-a-communications-link-failure-with-jdbc-and-mysql . As we are reeading MySQL data first and then further processing will happen. So we can skip other Job Failures right now. First we will need to fix the DB issue. Once we are able to successfully communicate with MySQL server then further exceptions/errors can be investigated. Also please check if the Following Connection URL (Do you need to specify the Port like 3306) , Username & Password is correct in the .password file and the user has right privileges to access the table and query? --connect jdbc:mysql://hdp25-node2.wulme4ci31tu3lwdofvykqwgkh.bx.internal.cloudapp.net/employees
--username anup
--password-file /user/anup/.password .
... View more
08-22-2017
04:55 PM
For Reference: https://community.hortonworks.com/questions/26972/not-able-to-connect-phoenix-via-java-jdbc.html http://appcrawler.com/wordpress/2014/11/04/hbase-phoenix-jdbc-example/
... View more