Featured Post

Scraping Website: How to Write a Script in Python

Image
Here's a python script that you can use as a model to scrape a website. Python script The below logic uses BeautifulSoup Package for web scraping. import requests from bs4 import BeautifulSoup url = 'https://www.example.com' response = requests.get(url) soup = BeautifulSoup(response.text, 'html.parser') # Print the title of the webpage print(soup.title.text) # Print all the links in the webpage for link in soup.find_all('a'):     print(link.get('href')) In this script, we first import the Requests and Beautiful Soup libraries. We then define the URL we want to scrape and use the Requests library to send a GET request to that URL. We then pass the response text to Beautiful Soup to parse the HTML contents of the webpage. We then use Beautiful Soup to extract the title of the webpage and print it to the console. We also use a for loop to find all the links in the webpage and print their href attributes to the console. This is just a basic example, but

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

7 AWS Interview Questions asked in Infosys, TCS

How to Decode TLV Quickly