Dive into the community: get started with the basics, connect with peers, share your feedback, and discover helpful technical articles.
Recently active
Apache Ranger is one of the easiest, robust and flexible framework to manage the authorization for different components of a cluster. However, if your policies are not syncing, that may become an issue. In this video, we will be troubleshooting the Ranger policy synchronization. We will look into the components that are involved, the components that interact between them and a few other most common issues. The video is to understand what are the main factors to check on a policy synchronization issue and how to solve them. Open the video on YouTube here
The Zookeeper transaction logs and Snapshots files are not human readable by default. Running a cat command on these files do not give clear information on the content of the files. The following video explains how to read Zookeeper transaction logs and Snapshots? Open the video on YouTube here To view the content of these files, use the following:To read the snapshots: java -cp /usr/hdp/current/zookeeper-server/zookeeper.jar:/usr/hdp/current/zookeeper-server/lib/* org.apache.zookeeper.server.SnapshotFormatter <Snapshot file name> To read the transaction logs: java -cp /usr/hdp/current/zookeeper-server/zookeeper.jar:/usr/hdp/current/zookeeper-server/lib/* org.apache.zookeeper.server.LogFormatter <Log file name> The classes that need to be used are located under /usr/hdp/current/zookeeper-server and /usr/hdp/current/zookeeper-server/lib.
This video article provides the steps on how to use Reassign Partitions Tool: Open YouTube video here Create a file named topics-to-move.json with the following content: {"topics": [{"topic":"<partitionName>"}], "version":1} Run the following command: ./kafka-reassign-partitions.sh --zookeeper master:2181 --topics-to-move-json-file topics-to-move.json --broker-list "<brokerID>" --generate Take the output from previous Proposed partition reassignment configuration and create another json file reassign-partition.json. Run the following command: ./kafka-reassign-partitions.sh --zookeeper master:2181 --reassignment-json-file reassign-partition.json --execute
At times, Kafka Brokers can find one of its log directory utilization at 100% and the broker process would fail to start. This article provides the instructions to manually move partition data between different log directories within a Kafka Broker. Open the video on YouTube here The Kafka brokers maintain two offset checkpoint files inside each log directory: replication-offset-checkpoint recovery-point-offset-checkpoint And both these files have the following format: (a) 1st line: Version Number(b) 2nd line: Number of topic-partition entries in the file(c) All the remaining lines: Replication Offset/Recovery Point Offset, for every partition data maintained within the current log directory.
Ambari Infra Solr can be present on HDP and HDF clusters. HDPSearch Solr is a separate product that can be installed on top of an HDP cluster. This video talks about the goals and differences between them and how to correctly select the product category when opening a support case. Open YouTube video here
This articles describe the steps required to complete the setup for accessing Grafana using HTTPS with CA Signed Certificates. Open YouTube video here Ambari Metrics System includes Grafana, which is a daemon that runs on a specific host in the cluster and serves pre-built dashboards for visualising metrics collected in the Metrics Collector. For this article the following servers is used: 172.25.33.152 c3132-node1.user.local (Ambari Server) 172.25.36.9 c3132-node2.user.local (Ambari Metrics Collector + Grafana) 172.25.40.27 c3132-node3.user.local (Ambari Metrics Collector) 172.25.33.163 c3132-node4.user.local By default, Grafana listen on port TCP/3000: # for i in $(netstat -utnlp | awk '/grafana/ {print substr($7, 1, length($7)-13)}' | sort -u) ; do echo ; ps -eo pid,user,command --cols 128 | grep $i | grep -v grep ; netstat -utnlp | grep $i ; echo ; done270925 ams /usr/lib/ambari-metrics-grafana/bin/grafana-
This video explains how to configure Ambari Metrics System AMS High Availability. Open YouTube video here To enable AMS high availability, the collector has to be configured to run in a distributed mode. When the Collector is configured for distributed mode, it writes metrics to HDFS, and the components run in distributed processes, which helps to manage CPU and memory. The following steps assume a cluster configured for a highly available NameNode. Set the HBase Root directory value to use the HDFS name service instead of the NameNode hostname. Migrate existing data from the local store to HDFS prior to switching to a distributed mode. To switch the Metrics Collector from embedded mode to distributed mode, update the Metrics Service operation mode and the location where the metrics are being stored. In summary, the following steps are required: Stop Ambari Metrics System Prepare the Environment to migrate from Local File System to HDFS Migrate Collector Dat
In Kafka, sometimes the topics are marked for deletion. However, even after restarting brokers, the topics are not deleted. This video explains the steps to delete a topic manually. Open the video on YouTube here
This video provides the steps to configure Kafka Mirror Maker in Kerberized clusters. Open YouTube video here To run Kafka Mirror Maker using Kerberos clusters, do the following: Environment: Cluster A (Source-Kerberized): c189-node2.squadron-labs.com Broker1c189-node3.squadron-labs.com Broker2c189-node4.squadron-labs.com Broker3 Cluster B (Destination-Kerberized): c289-node2.squadron-labs.com Broker1c289-node3.squadron-labs.com Broker2c289-node4.squadron-labs.com Broker3 * In this example, both environments are sharing same KDC and it was created on specific principal for the same. Destination Files consumer.propertiesbootstrap.servers=<brokerSourceHost>:<brokerPort>,<brokerSourceHost>:<brokerPort>group.id=<consumerGroupName>security.protocol=PLAINTEXTSASL producer.propertiesbootstrap.servers=<brokerDestinationHost>:<brokerPort>,<brokerDestinationHost>:<brokerPort>key.serializer=org.apache.kafka.common.serialization.
This video explains steps to install the required support for Intel® Intelligent Storage Acceleration Library on a Hortonworks Data Platform version 3 cluster, over Linux CENTOS 7. Open the video on YouTube here ISA-L is a collection of optimized low-level functions targeting storage applications.It is developed by Intel, and its name means Intel(R) Intelligent Storage Acceleration Library. ISA-L includes the following: Erasure codes - Fast block Reed-Solomon type erasure codes for any encode/decode matrix in GF(2^8). CRC - Fast implementations of cyclic redundancy check. Six different polynomials supported. iscsi32, ieee32, t10dif, ecma64, iso64, jones64. Raid - Calculate and operate on XOR and P+Q parity found in common RAID implementations. Compression - Fast deflate-compatible data compression. De-compression - Fast inflate-compatible data compression. To check for ISA-L library, do the following: $ hadoop checknative ISA-L: false Loading ISA-L failed: Fai
This video explains step by step instructions for protecting HDFS directories from unintended deletions. There are times when Hadoop admins need to protect directories from accidental deletions, even from admins themselves. This is a guide for accomplishing that, so sensitive directories cannot be deleted by mistake and extra procedures have to be performed and double-checked before actually deleting those specific folders. Open the video on YouTube here
The video provides the steps to connect to the Kafka server using SASL_SSL protocol. Open the video on YouTube here To connect to Kafka server using SASL_SSL protocol using one way SSL, do the following: Server side Configure the following properties in Ambari server > Kafka > config > Custom kafka-broker. ssl.keystore.location=path-to-your-keystoressl.keystore.password=keystore-passwordssl.truststore.location=path-to-your-truststoressl.truststore.password=keystore-password Under Ambari server > Kafka > config > Kafka Broker > Listeners can add the security protocol as: SASL_SSL://localhost:<port> Since this is a one way SSL communication between client-server, ensure to have enabled the property ssl.client.auth=none. This means that a client authentication is not required. By default this property is set to None. This can be double checked from Am
This video describes the steps performed to write custom UDFs in Hive. Open the video on YouTube here
This video focuses on how to retrieve the cURL commands for various tasks performed in Ambari UI. Open YouTube video here
This video explains how to move the master service from one node to another using Ambari Web UI. The video also talks about the need for this option. Open the video on YouTube here
This video describes why Beeline must be used over Hive CLI when Ranger is in place. It is recommended to use Beeline when Ranger is enabled in the clusters. Open the video on YouTube here
This video describes the configuration for Ranger SSL. This video reviews the architecture and steps needed to secure Ranger Admin UI. Some basic troubleshooting tips are also covered. Open YouTube video here
This is a how to video on Configuring Hive View 2.0 to view Ranger Policies associated with any table, which can be used by an Ambari Admin to configure the views. This will ease the task of Hive users to directly view the policies from the views table rather than checking them from the Ranger Admin UI. Additionally, this video covers the policies for table level which can be helpful in debugging the security issues with Hive and Ranger. Open YouTube video here
Hey folks, I was recently doing some basic benchmarks and then I tried to use our classical DFSIO suite but I found myself stuck with the following error : main : run as user is hdfsmain : requested yarn user is hdfsRequested user hdfs is bannedAs TestDFSIO default output dir is /benchmark/TestDFSIO and it is automatically created with the following permission :inode="/benchmarks/TestDFSIO/io_control/in_file_test_io_0":hdfs:hdfs:drwxr-xr-xThe use of hdfs user is mandatory. At least that's what i thought...Why HDFS user is banned ?After looking around some configuration files I found the banned.user property in : /etc/hadoop/cong/container-executor.cfg#/*# * Licensed to the Apache Software Foundation (ASF) under one# * or more contributor license agreements. See the NOTICE file# * distributed with this work for additional information# * regarding copyright ownership. The ASF licenses this file# * to you under the Apache License, Version 2.0 (the# * "License"); you may not use this
Hey everyone, Today's video gives some high level detail about how the Cloudera Data Platform is secure by design. We designed CDP to safeguard your organization's data within the virtual network of your chosen public cloud vendor. Also, we took all of the hard work associated with setting up security tools, such as kerberos, and automated it. This way the platform is secure and ready to start using right away. Here's a short quick video explaining these concepts. Let us know by adding a comment below what topics you care about and keep checking back as we will be posting new videos about CDP and more at least once a week. More information: What is Cloudera's Shared Data Experience (SDX)? https://community.cloudera.com/t5/Community-Articles/What-is-Cloudera-s-Shared-Data-Experience-SDX/ta-p/284102
Motivation: As zeppelin is used for Data Ingestion/Discovery/Analytics/Visualization, the muti-purpose notebook's usage is increasing tremendously pushing users to find a way to scale out. Intention of the article is to give a fair idea on how zeppelin can be scaled out with the current available options in 2.6.xDisclaimer: This article is based on my personal experience and knowledge. Don't take it as a standard guidelines, understand the concept and modify it for your environmental best practices and use case.Beefing up the Zeppelin/interpreter Memory, tweaking the performance affecting factors will help to a certain extend but when the usage of notebook increase it is wise to scale out.In this article we are going discuss on various considerations and best practices while scaling out. Note: Please refer Key factors that affects Zeppelin's Performance before deciding to scaling out, It will be also having the best practices to maintain zeppelin EnvironmentBenefits of multiple in
Introduction Knowing the performance of Kafka in general or on your hardware is an important part of capacity planning. Sizing can be hard to calculate, with different message sizes, retention periods, partitions, replica factor, network speeds and even synchronous vs asynchronous to pick from. So many decisions to make, but what type of performance can you realistically expect ? Benchmarking for Kafka has been done before, however this is a couple of years out of date. There are newer versions of Kafka, newer hardware, faster networking all which have improved performance by many factors. But how ? This article will run the same tests as before with the latest and greatest to see what the improvements are. Hardware specification: Cloud Provider AWS using m5.4xlarge * 6 machines OS Centos 7 CPU 16 cores RAM 64GB Disk 50GB OS, 6 * 20 GB SSD IO Optimised for Kafka log dirs Networking 10GB/s Kafka Version CDH 6.3 with Kafka 2.3 Message size 100 bytes per me
Hey everyone, Check out our first video in the Data Hub Collection where we cover the basics of the Data Hub experience. Cloudera Data Hub lets users easily provision clusters with the services you care about with the security and governance your organization requires. Let us know by adding a comment below what topics you care about and keep checking back as we will be posting new videos about CDP and more at least once a week.
The purpose of this article is to provide the steps needed to create your own certificates for securing your NiFi instance(s). The article will also cover creating your own Certificate Authority (CA) that you can use to sign all the certificates you create. This article is not intended to be a best practices guide to creating secure keys. While we will provides tips, users should carefully research the various security options available when creating keys. This procedure assumes you have Java Keytool and OpenSSL installed on your system. HDF 1.x or Apache NiFi 0.x Secured UI:HDF 2.x or Apache NiFi 1.x Secured UI:Creating your Certificate Authority: You only need to create one CA, which you will use to sign the keys for every one of your servers/VMs and users (You only need to create keys for users if your NiFi has not been configured to use LDAP authentication). What is a CA? The CA acts as a trusted entity for validating the authenticity of certificates. The CA is used to certify t
Apache Metron vs. OpenSocApache Metron inherits the advantages of OpenSoc which enables fast processing of events from variety sources. One of its intent is to overcome the shortcomings of OpenSoc. The main challenges of OpenSoc architecture are: Does not take advantage of full parallelism. For each topic, the enrichment topology contains a set of bolts which run in serially. This architecture does not take advantage of the parallelism that storm could provide. It can be observed in OpenSoc architecture in Figure 1.Hard to extend. To add a new data source, it has to create a new topology to fulfill that requirement. Hard to maintain. With the number of data sources increases, there are lots of “redundant” topologies. Many logics of bolts in enrichment topology are similar, however, due to the architecture of OpenSoc, each topic has to maintain its own line of code. If any change is needed for a certain shared logic for topics, it has to be modified across multiple lines of code, which
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.