Featured Post

How to Check Column Nulls and Replace: Pandas

Image
Here is a post that shows how to count Nulls and replace them with the value you want in the Pandas Dataframe. We have explained the process in two steps - Counting and Replacing the Null values. Count null values (column-wise) in Pandas ## count null values column-wise null_counts = df.isnull(). sum() print(null_counts) ``` Output: ``` Column1    1 Column2    1 Column3    5 dtype: int64 ``` In the above code, we first create a sample Pandas DataFrame `df` with some null values. Then, we use the `isnull()` function to create a DataFrame of the same shape as `df`, where each element is a boolean value indicating whether that element is null or not. Finally, we use the `sum()` function to count the number of null values in each column of the resulting DataFrame. The output shows the count of null values column-wise. to count null values column-wise: ``` df.isnull().sum() ``` ##Code snippet to count null values row-wise: ``` df.isnull().sum(axis=1) ``` In the above code, `df` is the Panda

Here's Quick Guide on Hadoop Security

Here is a topic of security and tools in Hadoop. These are security things that everyone needs to take care of while working with the Hadoop cluster.


Quick guide on Hadoop security and its features with top references.

Hadoop Security

Security

  • We live in a very insecure world. For instance, your home's front door to all-important virtual keys, your passwords, everything needs to be secured. In Big data systems, where humongous amounts of data are processed, transformed, and stored. So security you need for the data.
  • Imagine if your company spent a couple of million dollars installing a Hadoop cluster to gather and analyze your customers' spending habits for a product category using a Big Data solution. Here lack of data security leads to customer apprehension.

Security Concerns

  • Because that solution was not secure, your competitor got access to that data, and your sales dropped 20% for that product category.
  • How did the system allow unauthorized access to data? Wasn't there any authentication mechanism in place? Why were there no alerts?
  • This scenario should make you think about the importance of security, especially where sensitive data is involved.
  • Hadoop has inherent security concerns due to its distributed architecture. The installation that has clearly defined user roles and multiple levels of authentication (and encryption) for sensitive data will not let any unauthorized access go through.

Hadoop Security.

  • When talking about Hadoop security, you have to consider how Hadoop conceptualized. When Doug Cutting and Mike Cafarella started developing Hadoop, security was not the priority.
  • Hadoop meant to process large amounts of web data in the public domain, and hence security was not the focus of development. That's why it lacked a security model and only provided basic authentication for HDFS—which was not very useful since it was easy to impersonate another user.
  • Another issue is that Hadoop was not designed and developed as a cohesive system with pre-defined programs. But it was as a collage of modules that either correspond to various open-source projects or a set of (proprietary) extensions developed by different vendors to supplement functionality lacking within the Hadoop ecosystem.
  • Therefore, Hadoop expects a secure environment for data processing. In real-time, there are some glitches to have secure processing. You can read more about it from references.

Keep Reading
White Papers

Comments

Popular posts from this blog

Explained Ideal Structure of Python Class

How to Check Kafka Available Brokers

6 Python file Methods Real Usage