Showing posts with label of. Show all posts
Showing posts with label of. Show all posts

Friday, 7 July 2017

Features of Apache Cassandra

* Elastic scalability - Cassandra is highly scalable; it allows to add more hardware to accommodate more customers and more data as per requirement.

* Always on architecture - Cassandra has no single point of failure and it is continuously available for business-critical applications that cannot afford a failure.

* Fast linear-scale performance - Cassandra is linearly scalable, i.e., it increases your throughput as you increase the number of nodes in the cluster. Therefore it maintains a quick response time.

* Flexible data storage - Cassandra accommodates all possible data formats including: structured, semi-structured, and unstructured. It can dynamically accommodate changes to your data structures according to your need.

* Easy data distribution - Cassandra provides the flexibility to distribute data where you need by replicating data across multiple data centers.

* Transaction support - Cassandra supports properties like Atomicity, Consistency, Isolation, and Durability (ACID).

* Fast writes - Cassandra was designed to run on cheap commodity hardware. It performs blazingly fast writes and can store hundreds of terabytes of data, without sacrificing the read efficiency.

Advantages of Apache Cassandra

* It is scalable, fault-tolerant, and consistent.

* It is a column-oriented database.

* Its distribution design is based on Amazon’s Dynamo and its data model on Google’s Bigtable.

* Created at Facebook, it differs sharply from relational database management systems.

* Cassandra implements a Dynamo-style replication model with no single point of failure, but adds a more powerful “column family” data model.

* Cassandra is being used by some of the biggest companies such as Facebook, Twitter, Cisco, Rackspace, ebay, Twitter, Netflix, and more.

Sunday, 2 July 2017

Advantages of CouchDB for Big Data

Why CouchDB?

* CouchDB have an HTTP-based REST API, which helps to communicate with the database easily. And the simple structure of HTTP resources and methods (GET, PUT, DELETE) are easy to understand and use.

* As we store data in the flexible document-based structure, there is no need to worry about the structure of the data.

* Users are provided with powerful data mapping, which allows querying, combining, and filtering the information.

* CouchDB provides easy-to-use replication, using which you can copy, share, and synchronize the data between databases and machines.

Thursday, 29 June 2017

Features of Avro

Features of Avro

* Avro is a language-neutral data serialization system.

* It can be processed by many languages (currently C, C++, C#, Java, Python, and Ruby).

* Avro creates binary structured format that is both compressible and splittable. Hence it can be efficiently used as the input to Hadoop MapReduce jobs.

* Avro provides rich data structures. For example, you can create a record that contains an array, an enumerated type, and a sub record. These datatypes can be created in any language, can be processed in Hadoop, and the results can be fed to a third language.

* Avro schemas defined in JSON, facilitate implementation in the languages that already have JSON libraries.

* Avro creates a self-describing file named Avro Data File, in which it stores data along with its schema in the metadata section.

* Avro is also used in Remote Procedure Calls (RPCs). During RPC, client and server exchange schemas in the connection handshake.

Monday, 19 June 2017

Types of Big Data

Ther are 3 types of Big Data

1.Structured Data:
The data which can be stored and processed in table(rows and column) format is called as a structured data. Structured data is relatively simple to enter,store and analyze.
Exm- Relational database management system. 

2.Unstructured Data:
The data with unknown form or structure is called as unstructured data. The fundamental challenge of unstructured data sources is that they are difficult for nontechnical users and data analysts to understand and process.
Exm- Text files,images,videos,email,customer service interactions,webpages,PDF files,PPT,social media data etc. 

3.Semi-structured Data
Semi-structured data is data that is neither raw data nor organized in a rational model like a table. It may organized in tree pattern which is easier to analyze in some case. XML and JSON documents are semi structured documents.

Architecture of Hadoop

Architecture of Hadoop:

Hadoop follows master-slave architecture means there is one master machine and multiple slave machines. The data that you give to hadoop is stored across these machines in the cluster. 

Two important components of hadoop are:

1.HDFS (Data storage)
2.Map-Reduce (Analyzing and Processing)

1. HDFS:
Hadoop Distributed File System is distributed file system used to store very huge amount of data. HDFS follows master-slave architecture means there is one master machine(Name Node) and multiple slave machines(Data Node).The data that you give to hadoop is stored across these machines in the cluster. 

Various components of HDFS are:

a) Blocks:
HDFS is block structured file system in which individual file is split into several blocks of equal size and stored across one or more machines in a cluster. HDFS blocks are 64 MB by default in Apache Hadoop and 128 MB by default in Cloudera Hadoop but it can be increased as per the need. If the file in HDFS is smaller than block size, then it does not occupy full block. Exm- If file size is 10 MB and HDFS block size is 128 MB then it takes only 10 MB of space.

b) Name Node:
Name node is the controller/master of the system. Name node spreads data to data node. It stores the metadata of all the files in HDFS. This metadata includes name, location of each block, block size and file permission.

c) Data Node-
Data node is the place where actual data is stored. The data sent by name node is stored into data node. They store and retrieve blocks when they are requested by client or name node.They perform operations such as block creation,deletion and replication as stated by the name node.

d) Secondary Name Node-
Many people think that Secondary Namenode is just a backup of primary Namenode in Hadoop but it is not a back up node. Name Node is a primary node in which all the metadata is stored into fsimage and editlog files periodically. But, when name node down, secondary node will be online but this node only have the read access to the fsimage and editlog files and don't have the write access to them. All the secondary node operations will be stored to temp folder. When name node back to online this temp folder will be copied to name node and the namenode will update the fsimage and editlog files. 

2. Map reduce:
MapReduce is a framework and processing technique using which we can write applications to process huge amounts of data, in parallel, on large clusters of commodity hardware in a reliable manner. Map reduce program is written by default in java but we can use other language also like pig,apache pig.
The MapReduce algorithm contains two important tasks.

a) Map-
In map stage,mapper takes a set of data and converts it into another set of data, where individual elements are broken down into tuples (key/value pairs).

b) Reduce-
In reduce phase, reducer takes the output from a map as input and combines those data tuples into a smaller set of tuples. The reduce job is always performed after the map job.

Components of MapReduce: 

a) JobTracker:
Job tracker is a daemon that runs on a namenode. There will be only one job tracker for name node but many task trackers for data nodes. It assigns the tasks to the different task tracker. It is the single point of failure. If the job tracker goes down all the running jobs are halted. It receives heartbeat from task tracker based on which Job tracker decides whether the assigned task is completed or not.
JobTracker process: 
1. JobTracker receives the requests from the client.
2. JobTracker talks to the NameNode to determine the location of the data.
3. JobTracker finds the best TaskTracker nodes to execute tasks.
4. The JobTracker submits the work to the chosen TaskTracker nodes.
5. The TaskTracker nodes are monitored. If they do not submit heartbeat signals then work is scheduled on a different TaskTracker.
6. When the work is completed, the JobTracker updates its status and submit back the overall status of job back to the client.
7. The JobTracker is a point of failure for the Hadoop MapReduce service. If it goes down, all running jobs are halted. 

b) TaskTracker:
Task tracker is also a daemon that runs on datanodes. Task Trackers manage the execution of individual tasks on slave node. When a client submits a job, the job tracker will initialize the job and divide the work amongst different task trackers to perform MapReduce tasks. While performing this action, the task tracker will be simultaneously communicating with job tracker by sending heartbeat. If the job tracker does not receive heartbeat from task tracker within specified time, then it will assume that task tracker has crashed and assign that task to another task tracker in the cluster. 

TaskTracker process: 
1. The JobTracker submits the work to the TaskTracker nodes.
2. TaskTracker run the tasks and report the status of task to JobTracker. 
3. It has function of following the orders of the job tracker and updating the job tracker with its progress status periodically.
4. TaskTracker will be in constant communication with the JobTracker.
5. TaskTracker failure is not considered fatal. When a TaskTracker becomes unresponsive, JobTracker will assign the task to another node.

Characteristics​ of Hadoop

Characteristics of Hadoop:

1. Robust: 
Handles hardware failure as data is stored in multiples node. 

2. Scalable:
Cluster size can be increased by adding more node.

3. Simple:
We can write parallel code. Focuses on moving code rather than data.

4. Portable:
Analyze structured,semi-structured and unstructured data. (Structured- In table format, Semi-structure- Not in table format but in well organised format(XML,JSON), Unstructured- Has no format(Text, Image,Videos).

5. Cost Effective:
Hadoop is open source and uses commodity hardware to store data so it is really cost effective as compared to traditional RDBMS.

6. Fault Tolerance:
If any node fails, the task are automatically redirected to other node. Multiple copies of all data are automatically stored. Due to this even if one node fails, same data is available on some other node also.

What are Daemons in Hadoop and types of dameons

Daemons:
Daemons are resident programs which constitute to hadoop running. In computing terms it is a process that runs in the background.
Hadoop has five such daemons. They are 1.NameNode,
2.Secondary NameNode
3.DataNode
4.JobTracker
5.TaskTracker.

Each daemons runs separately in its own JVM. We discuss about these daemons in this post as they are associated with HDFS and MapReduce.

3V's of Big Data

3V's of Big Data:

1.Volume:
The amount of data which we deal with is of very large size of Peta bytes. 

2.Variety:
Data Comes in all type of format.(Text,audio,image,video).

3.Velocity:
The data is generating at a very fast rate. Velocity is the measure of how fast the data is coming in. For time critical applications faster processing is very important. Exm- Share marketing, Video streaming

Applications of Big Data

Application of Big data:

Some applications of big data are as follows:

1. Healthcare Providers: 
The big data is use in the field of medicine and healthcare. It is a great help for even physicians to keep track of all the patients history. 

2. Google Search: 
When we search anything google makes use of data science algorithms to deliver the best result for our searched query in fraction of seconds. Next time, when we search anything based on our previous search google gives us some recommendations. 

3. Education: 
Big data has great influence in the education world too. Today almost every course of learning is present online. Along with the online learning, there are many examples of the use of big data in the education industry. 

4. Recommender Systems:
A lot of companies used recommender system to promote their products/suggestions in accordance with user’s interest and relevance of information. Internet giants like Amazon, Google, Flipkart and many more uses this system to improve user experience. The recommendations are made based on previous search results for a user. 
Example- When we search any product on amazon, we always get recommendations about similar product. They not only help you to find relevant products from billions of products available with them, but also adds a lot to the user experience. 

5. Banking Zones and Fraud Detection:
Big data is hugely used in the fraud detection in the banking sectors. In banking sector, it finds out all the mischief tasks done. It detects the misuse of credit and debit cards, business clarity, public analytics for business and IT strategy fulfillment analytics. 

6. Super Market:
Big data analysis is also used in super market for market basket analysis. Market Basket Analysis is one of the most common and useful types of data analysis for marketing and retailing. The purpose of market basket analysis is to determine what products customers purchase together. A store could use this information to place products frequently sold together into the same area. 
Example- People who buy bread also buy butter or people who buy shampoo might also buy conditioner. 

7. Security Enforcement:
Big data is applied for improving national security enforcement. These techniques are used to detect and prevent cyber attack. Police force use big data tools to catch criminals and even predict criminal activity. 

Advantages of Big Dat

Advantages of Big Data:

1.Access to large volume of data.
2.Allows businesses to develop more effective strategies towards competitors in less time.
3.Improve Decision making capabilities.
4.Can analyse data easily.
5.Allows businesses to detect errors and fraud quickly. 
6.Offers businesses a chance to improve profits and customer service.
7.Integration of both structured and unstructured data.
8.Implementing new strategies and improve service dramatically.

Types of Big Data

Ther are 3 types of Big Data

1.Structured Data:
The data which can be stored and processed in table(rows and column) format is called as a structured data. Structured data is relatively simple to enter,store and analyze.
Exm- Relational database management system. 

2.Unstructured Data:
The data with unknown form or structure is called as unstructured data. The fundamental challenge of unstructured data sources is that they are difficult for nontechnical users and data analysts to understand and process.
Exm- Text files,images,videos,email,customer service interactions,webpages,PDF files,PPT,social media data etc. 

3.Semi-structured Data
Semi-structured data is data that is neither raw data nor organized in a rational model like a table. It may organized in tree pattern which is easier to analyze in some case. XML and JSON documents are semi structured documents.

Thursday, 30 June 2016

Powershell Command to find version of OS


Powershell Command to find version of OS



  • To find which version of Windows you are running, enter the following commands in the Command Prompt or Powershell:


wmic os get caption

wmic os get osarchitecture

Wednesday, 6 April 2016

How to get list of All commands for SCOM 2012 R2 Module in Powershell

How to get list of All commands for SCOM 2012 R2 Module in Powershell


  • Today i am going to Show you how get list of all commands available in SCOM module.
  • First Open the Powershell and Import the SCOM module
                    Import-Module OperationsManager
  • This will load the SCOM module in Powershell
  • Then to see all the commands in the OperationsManager Modulle type the below command
                   get-command - module OperationsManager | more
  • This will list all the commands in SCOM.

Monday, 27 July 2015

Command to Get List of Patches installed on Windows 2008 R2 and Windows 2012

Command to Get List of Patches installed on Windows 2008 R2 and Windows 2012


  • Manytime we get request from application owners who request for list of patches instaled and on what date
  • You can use the below command to get the list of Patches from the server. This will Create a html file called hotfix.html in your C: drive.
  • wmic qfe list brief /format:htable > "c:\hotfix.html"

Saturday, 6 June 2015

Key Components of Veeam Management Pack.







Veeam Management pack is the most widely used MP to monitor the VMware infrastructure in the organization. So today we will see the key componets of this Veeam Management pack
Following are the Key components


  • Veeam VMware Collector — It collects event and performance data from VMware systems.
  • Veeam Virtualization Extensions Service — It is used for centralized configuration of Veeam like adding Host to monitor,disable jobs,remove host,adding licenses etc.
  • Veeam Virtualization Extensions UI — web UI for configuration of the Extensions Service and the managed Collectors.All Veeam relate config has t be done from this UI only. You calose use VEShell, which is Veeam powerhsell extension 
  • Veeam Management Packs — It contain all the rules,monitors and other dasbaord which when imported to SCOM will give you rich visbility of your VM infrastructure.

Saturday, 25 April 2015

How improve performance of your Windows Server by 40 % with this simple tweak

How improve performance of your Server by 40 % with this simple tweak


  • Many people see slugish performance of there server ,especially if your server is SQL server and its hosted on Windows 2008 R2.
  • The reason is very simple and buy doing this small change it will give you 60 % better performance of your system
  • The reason is because of Power settings. In Windows 2008 R2 the Power settings is set as "balanced". What this does it to save power it reduces power consumption to the server
  • This wont be visible if you run and check some simple query.
  • But as you server runs lot o transactions, you can see poor performance and complaint from your customers.
  • Inorder to fix it change the Power settings to " High Performance"
  • This will improve the PC perforamance by 40 %.
  • This tweeks applies to all Windows Servers versions, but it is more siver in Windows 2008 R2 

Tuesday, 11 November 2014

Get-GPO:How to Get list of Group POlicy in your EnviRornment using Powershell

Get-GPO:How to Get list of Group Policy in your Environment using Powershell



GET-GPO is a very powerfull Command.It gets list of all GPO in your Domain.

To get a list of all GPO, thep

GET-GPO

You will get the below error

PS C:\Users\foxsha> GET-GPO
The term 'GET-GPO' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe
lling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:8
+ GET-GPO <<<<
    + CategoryInfo          : ObjectNotFound: (GET-GPO:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


The reason for this error is that there is no Module Available for Active Directory

So first Import the Module using Command

Import-Module "grouppolicy"

You will see the below error

PS C:\Users\foxsha> Import-Module "grouppolicy"

Import-Module : The specified module 'grouppolicy' was not loaded because no valid module file was found in any module
directory.
At line:1 char:14
+ Import-Module <<<<  "grouppolicy"
    + CategoryInfo          : ResourceUnavailable: (grouppolicy:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

The resaon for this error is that there is no Group policy Feature installed so first we need to install the group policy features

If you are on your desktop and not on Server,you need to go to below location and download and install it


Then go to Programs and Features in Control Panned .Click "Turn Windows Feature On or OFF " and select "Group policy management"

Now try " Import-Module "grouppolicy" and then GET-GPO and it will run sucesfully

Sunday, 9 November 2014

Get-Content:How to use Get-content to Count the Number of Lines in the File

How to use Get-content to Count the Number of Lines in the File

Get-Content is a very powerful command and you will use it very often in your script.


  • Lets say You want to see all Counte of file,type


Get-Content C:\temp\t1.txt

Where C:Temp is the folder path where the file is and t1.txt is the filename


  • Now if you want to Count the number of Files in the file then, use


(get-content c:\temp\t1.txt).count

This will give the number of Lines in the File


  • Now say you want to Pjust first 5 lines in the File, then use


(get-content c:\temp\t1.txt -totalcount 5)

This will give you the first 5 lines


Also to see only Line where Particular word is matching use the below command

get-content C:\temp\t1.txt | select-string "get-c"

This will show lines only where "get-c" matches