Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2445 | 04-27-2020 03:48 AM | |
4880 | 04-26-2020 06:18 PM | |
3976 | 04-26-2020 06:05 PM | |
3219 | 04-13-2020 08:53 PM | |
4925 | 03-31-2020 02:10 AM |
06-28-2019
08:26 AM
1 Kudo
@Spandan Mohanty The error indicates that your HDFS services are not healthy. Please check your NameNode logs. (/var/log/hadoop/hdfs/hadoop-hdfs-namenode-xxx.log) Because even the following simple webhdfs call is failing with 503 error. # curl -sS -L -w '%{http_code}' -X GET -d '' -H 'Content-Length: 0' 'http://nodetwo:50070/webhdfs/v1/ats/done/?op=GETFILESTATUS&user.name=hdfs'' returned status_code=503. The cause of the error is logged as well here as following: The DNS server may be temporarily unavailable, or there could be a network problem. Next Action: 1. Please check if your HDFS services are up and running and there are no errors in NameNode logs. 2. Before attempting to start your "ResourceManagers" you should first check if the DNS name resolution is working fine and all your cluster nodes are able to resolve each other using their FQDN? Once your DNS issue is fixed and all the cluster nodes are able to resolve each other properly then restart the affected components and then try to validate if you are able to make the Simple WebHDFS call to name node or not ? Then only you should attempt to restart ResourceManager. # curl -sS -L -X GET 'http://nodetwo:50070/webhdfs/v1/ats/done/?op=GETFILESTATUS&user.name=hdfs' .
... View more
06-28-2019
07:20 AM
@Michael Bronson Zookeeper memory related settings can be specified inside the zookeeper-env script (via ambari zookeeper-env template) # grep 'SERVER_JVMFLAGS' /etc/zookeeper/3.1.0.0-78/0/zookeeper-env.sh
export SERVER_JVMFLAGS=-Xmx4096m .
... View more
06-28-2019
07:16 AM
@Michael Bronson The meaning of "you should dedicate ZooKeeper to Kafka," and "Do not run ZooKeeper on a server where Kafka is running." statements are combined. Zookeeper Servers should not be installed/run on Kafka Broker host. Kafka should have zookeepers dedicated to it means the Zookeepers which are going to be by Kafka should not be used for other services. Like Kafka Zookeepers should not be used by HBase/ NameNode Failovers /AMS ...etc
... View more
06-28-2019
05:58 AM
1 Kudo
@Naveen Varma Ramesh Can you please make sure that the "amb_ranger_admin" and ranger "admin" password are same. Please refer to the following links to see how to reset if needed. Please check the following UI paths: Ranger UI Ranger UI --> Settings --> Users/Groups Then Search for 'admin' and 'amb_ranger_admin' users. Ambari UI Ambari UI --> Ranger --> Configs --> Admin Settings --> "Ranger Admin user's password for Ambari" Do you have the same password values that you used in Ranger UI ? For additional info please refer to : https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/authorization-ranger/content/ranger_install_updating_ranger_admin_passwords.html https://community.hortonworks.com/articles/186614/how-to-change-amb-ranger-admin-password.html . .
... View more
06-28-2019
04:40 AM
1 Kudo
@Michael Bronson I will try to partially answer your queries: 1. how to know the kafka version of each HDP version? The "Release Notes" section of the Individual HDP doc contains the "Component Version" information that it ships and supports. Example: https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/release-notes/content/comp_versions.html https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_release-notes/content/comp_versions.html .
... View more
06-28-2019
04:36 AM
@Michael Bronson Do not run ZooKeeper on a server where Kafka is running. The statement is taken from the following doc: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_kafka-component-guide/content/kafka-zookeeper-multiple-apps.html
... View more
06-28-2019
04:33 AM
@Anna Skobodzinski In HDFS, the blocks of the files are distributed among the datanodes as per the replication factor. If the Replication Factor is 1 then it means only on one DataNode the Data will be stored. Whenever you add a new datanode, the new datanodes will also start receiving and storing the blocks of the *New Files*. So just changing the replication factor will not cause rebalancing the cluster. Although the new files will be replicated based on the replication factor. What is HDFS Rebalancer? https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/data-storage/content/balancing_data_across_hdfs_cluster.html The HDFS Balancer is a tool for balancing the data across the storage devices of a HDFS cluster. The HDFS balancer moves blocks until the cluster is deemed to be balanced, which means that the utilization of every DataNode (ratio of used space on the node to total capacity of the node) differs from the utilization of the cluster (ratio of used space on the cluster to total capacity of the cluster) by no more than a given threshold percentage. The HDFS Rebalance operation can be either triggered via Ambari UI or via Command line: Ambari UI --> HDFS --> Actions (Drop down) --> Rebalance HDFS (Enter)
then specify the "Balancer threshold (percentage of disk capacity)" Via Command line is described here: https://community.hortonworks.com/articles/43849/hdfs-balancer-2-configurations-cli-options.html https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/data-storage/content/balancing_data_across_hdfs_cluster.html You can check the "balancer.id" to see if it is going on (existing or not)? # su - hdfs -c "hdfs dfs -cat /system/balancer.id" Also you can check the "dfsadmin" report to find out the progress. # hdfs dfsadmin -report > before_dfsadmin.log .
... View more
06-28-2019
02:51 AM
1 Kudo
@Michael Bronson There is a similar HCC thread where you can find the answer on how to obtain the Zookeeper RPM for HDP 2.6.4 and then you can later install them using RPM install commands manually on your desired hosts. Other HCC thread: https://community.hortonworks.com/questions/248482/how-to-download-the-zookeeper-server-pkgs-by-wget.html Please refer to the following link which provides the HDP 2.6.4 offline repos. https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.5/bk_ambari-installation/content/hdp_26_repositories.html From that link based on your OS type you can download the "HDP-2.6.4.0-XXXXX-rpm.tar.gz" files and then after extracting that file you should eb able to find the Zookeeper RPM as well. Example for CentOs7 (RHEL7) RPMs for HDP2.6.4 http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.4.0/HDP-2.6.4.0-centos7-rpm.tar.gz
... View more
06-28-2019
02:38 AM
1 Kudo
@Michael Bronson Zookeeper is a light weight process hence it won't consume too much resource. (EDIT😞 However there is the following recommendation from Hortonworks (For Kafka + Zookeeper) : https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_kafka-component-guide/content/kafka-zookeeper-multiple-apps.html Here are several recommendations for ZooKeeper configuration with Kafka: Do not run ZooKeeper on a server where Kafka is running. When using ZooKeeper with Kafka you should dedicate ZooKeeper to Kafka, and not use ZooKeeper for any other components. Make sure you allocate sufficient JVM memory. A good starting point is 4GB. To monitor the ZooKeeper instance, use JMX metrics. . As far as high availability is concerned for zookeepers then you can refer to the following HCC thread which talks about more on How to decide, how many zookeepers should I have? https://community.hortonworks.com/questions/35287/how-to-decide-how-many-zookeepers-should-i-have.html it depends on your requirement and then based on the requirement we can decide the number of ZK hosts as 3 or 5 (..etc). More ZK comes with a cost so please go through the above thread.
... View more
06-28-2019
02:20 AM
1 Kudo
@Michael Bronson Please refer to the following link which provides the HDP 2.6.4 offline repos. https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.5/bk_ambari-installation/content/hdp_26_repositories.html . From that link based on your OS type you can download the "HDP-2.6.4.0-XXXXX-rpm.tar.gz" files and then after extracting that file you should eb able to find the Zookeeper RPM as well. Example for CentOs7 (RHEL7) RPMs for HDP2.6.4 http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.4.0/HDP-2.6.4.0-centos7-rpm.tar.gz
... View more