Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2529 | 04-27-2020 03:48 AM | |
| 4999 | 04-26-2020 06:18 PM | |
| 4091 | 04-26-2020 06:05 PM | |
| 3300 | 04-13-2020 08:53 PM | |
| 5040 | 03-31-2020 02:10 AM |
03-28-2017
06:07 AM
@ARUN The MySQL option is fine for small to medium clusters, given enough database horsepower behind it, however it's going to struggle on higher through puts. As your cluster gets larger and busier, you'd need to almost move the MySQL db to a dedicated machine etc. The url you quoted is from early on in Ranger's history, there is now an Apache Solr backend for the Ranger audit db, which is significantly more scalable.https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_Ranger_Install_Guide/content/ch_install_solr.html These days almost everyone start with the Solr backend as it's more scalable and will lead to fewer issues in the future as the cluster grows. Unless you have a very small environment, go Solr! .
... View more
03-28-2017
04:04 AM
1 Kudo
@vsubramanian
The root cause of the failure is OOM on NameNode java.lang.OutOfMemoryError: Java heap space at java.lang.String. . So i guess you will need to increase the -Xmx (Java Heap Size) of your NameNode. NameNode heap size recommendations are mentioned in the following link: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_command-line-installation/content/ref-80953924-1cbf-4655-9953-1e744290a6c3.1.html
... View more
03-28-2017
03:17 AM
1 Kudo
@Elvis Zhang You can avoid Ambari UI to ask password for kadmin. You can store that kadmin credential to ambari store. https://community.hortonworks.com/articles/42927/adding-kdc-administrator-credentials-to-the-ambari.html curl -H "X-Requested-By:ambari" -u admin:admin -X PUT -d '{ "Credential" : { "principal" : "admin/admin@EXAMPLE.COM", "key" : "pwd$hwx", "type" : "persisted" } }' http://ambari.example.com:8080/api/v1/clusters/c1/credentials/kdc.admin.credential . Above will require a keystore setup and then "[2] Encrypt passwords stored in ambari.properties file." on ambari-server setup-security wizard. Using this way you can avoid entering the kadmin credentials everytime on ambari.
... View more
03-28-2017
03:09 AM
1 Kudo
@vsubramanian As the request to "http://test-1.c.i.internal:50070/webhdfs......." is failing with 500 error which indicates an Internal Server Error so definitely you will see a detailed stackTrace on your NameNode log. Please check & share the NameNode log to see what kind of error is it (Like OutOfMemoryError or some other error) based on that error we can suggest what can be done. Looking at the NameNode log will definitely give us a fare idea.
... View more
03-28-2017
01:48 AM
@darkz yu
Repository Jars are not upgraded frequently. Just check if you have later version of mysq-connector-java available at your OS repository? If not then better to download the Jar from previously shared link and then load it.
... View more
03-28-2017
01:22 AM
@pankaj kushwaha
Can you please share the output of the following screen so that we can see if port 8888 and 8080 are there in the list. Right click on the "Sandbox" --> "Settings" --> "Network" --> "NAT" (Select) --> Click on "Advance" --> "Port Forwarding"
... View more
03-28-2017
01:05 AM
@Jonathan T Can you please check if you have port-forwarding enabled and the port 8080 is added to the list. https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.html
... View more
03-27-2017
12:14 PM
@darkz yu
Are to you using Ambari Database as mysql?
By any change is there any possibility that you can upgrade your mysql-connector-java driver version from 5.1.17 to 5.1.38 or later. As i remember there was some CPU utilization issue reported for the "5.1.17" version of connector. You can drop the latest mysql-connector-java jar inside the "/usr/share/java" directory and then create a symlink "/usr/share/java/mysql-connector-java.jar" as following to point to it. Then restart the components that are using mysql. # ls -lan /usr/share/java/mysql-*
-rw-r--r--. 1 0 0 819803 Jun 22 2012 /usr/share/java/mysql-connector-java-5.1.17.jar
-rwxrwxrwx. 1 0 0 992808 Mar 9 08:49 /usr/share/java/mysql-connector-java-5.1.41-bin.jar
lrwxrwxrwx. 1 0 0 35 Mar 9 08:50 /usr/share/java/mysql-connector-java.jar -> mysql-connector-java-5.1.41-bin.jar . mysql-connector-java driver downlaod link: https://dev.mysql.com/downloads/connector/j/5.1.html
... View more
03-27-2017
10:22 AM
@zkfs
As mentioned earlier "Need to provide execute permission of "/etc/pam.d/passwd" (744)" That is needed for the root user or the super user used to start hive server2. Can you please try that... if that does not work then you can easily revert it back.
... View more
03-27-2017
09:21 AM
1 Kudo
@Elvis Zhang 1. Are you sure if ambari is running as root? 2. Can you please list the permission of file. # ls -lart /var/log/kadmind.log
3. From ambari host the KDC is reachable or not? # telnet kdcHostName kdcPort
# telnet erie1.example.com 88 .
... View more