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:
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…

Sqoop in Hadoop architecture to process structural data real story

Why Sqoop you need while working on Hadoop-The Sqoop and its primary reason is to import data from structural data sources such as Oracle/DB2 into HDFS(also called Hadoop file system).
To our readers, I have collected a good video from Edureka which helps you to understand the functionality of Sqoop.

The comparison between Sqoop and Flume


How name come for Sqoop

Sqoop word came from SQL+HADOOP=SQOOP. And Sqoop is a data transfer tool. The main use of Sqoop is to import and export a large amount of data from RDBMS to HDFS and vice versa.
Flume and Sqoop for Bigdata an Udemy course
Flume and Sqoop for Bigdata an Udemy course
List of basic Sqoop commands
  • Codegen- It helps to generate code to interact with database records.
  • Create-hive-table- It helps to Import a table definition into a hive
  • Eval- It helps to evaluate SQL statement and display the results
  • Export-It helps to export an HDFS directory into a database table
  • Help- It helps to list the available commands
  • Import- It helps to import a table from a database to HDFS
  • Import-all-tables- It helps to import tables from a database to HDFS
  • List-databases- It helps to list available databases on a server
  • List-tables-It helps to list tables in a database
  • Version-It helps to display the version information


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…