Skip to main content

Featured post

Python For Loop increment Tricky Example

In this post, I have explained tricky for loop example in Python. The usage of FOR LOOP is to create loops. How many times the loop will execute you may supply in the input.

My Project is to get each character from the input String. I use for loop to achieve this.
Tricky FOR LOOP Examples Explained different for loop examples.
1. Python For Loop Syntax using Variable or Array >> for valuein variable
Python For Loop Example >> myName = 'srinimf'

>> for valuein myName
...        print(value)

The result is as follows:
s
r
i
n
i
m
f
2. Python For Loop With '1' to '10' or 'n'for(i=1;i<=10;i++)<loopbody> The above for loop useful to create definite loop. The maximum loops are '10'. You can write your logic for each value in Python.

This is one of the tricky and most popular example.
3. How does a Python For Loop works a Flowchart

The 'letter' contains ValuestateName is an Array or VariableAfter For Loop you can use BODY s…

How Hadoop is best suitable for large legacy data

I have selected a good interview on legacy data. You all know that a lot of data is available on legacy systems. Hadoop is the mechanism you can use to process the data to get great business insights.

1). How should we be thinking about migrating data from legacy systems?
  • Treat legacy data as you would any other complex data type. HDFS acts as an active archive, enabling you to cost-effectively store data in any form for as long as you like and access it when you wish to explore the data. And with the latest generation of data wrangling and ETL tools, you can transform, enrich, and blend that legacy data with other, newer data types to gain a unique perspective on what’s happening across your business.
2). What are your thoughts on getting combined insights from the existing data warehouse and Hadoop?
  • Typically one of the starter use cases for moving relational data off a warehouse and into Hadoop is active archiving. This is the opportunity to take data that might have otherwise gone to archive and keep it available for historical analysis. The clear benefit is being able to analyze data for the types of extended time periods that would not otherwise be cost feasible (or possible) in traditional data warehouses. An example would be looking at sales, not just in the current economic cycle, but going back 3 – 5 years or more across multiple economic cycles. 
  • You should look at Hadoop as a platform for data transformation and discovery, compute-intensive tasks that aren’t a fit for a warehouse. Then consider feeding some of the new data and insights back into the data warehouse to increase its value.
3). What’s the value of putting Hadoop in the Cloud?
  • The cloud presents a number of opportunities for Hadoop users. Time to benefit through quicker deployment and eliminating the need to maintain cluster infrastructure Good environment for running proofs-of-concept and experimenting with Hadoop Most Internet of Things data is cloud data. Running Hadoop in the cloud enables you to minimize the movement of that data The elasticity of the cloud enables you to rapidly scale your cluster to address new use cases or add more storage and compute.

Comments

Most Viewed

Hyperledger Fabric Real Interview Questions Read Today

I am practicing Hyperledger. This is one of the top listed blockchains. This architecture follows R3 Corda specifications. Sharing the interview questions with you that I have prepared for my interview.

Though Ethereum leads in the real-time applications. The latest Hyperledger version is now ready for production applications. It has now become stable for production applications.
The Hyperledger now backed by IBM. But, it is still an open source. These interview questions help you to read quickly. The below set of interview questions help you like a tutorial on Hyperledger fabric. Hyperledger Fabric Interview Questions1). What are Nodes?
In Hyperledger the communication entities are called Nodes.

2). What are the three different types of Nodes?
- Client Node
- Peer Node
- Order Node
The Client node initiates transactions. The peer node commits the transaction. The order node guarantees the delivery.

3). What is Channel?
A channel in Hyperledger is the subnet of the main blockchain. You c…