by Diego Calvo | Jul 15, 2017 | Python-example
Example: traversing a string with a FOR seq = “Diego” for letter in seq: print(“Letter :”, letter) Letter : D Letter : i Letter : e Letter : g Letter : o Example: traversing an array with a FOR data = [“pears”, “apples”,... by Diego Calvo | Jul 15, 2017 | Python-example
Function example 1 Function that adds two numbers entered per parameter def my_sum(n1, n2): total = n1 + n2 print (total) my_sum(1,2) 3 Function example 2 Function that returns two numbers passed as a list def my_sum(n1, n2): return n1 + n2 data = [1,... by Diego Calvo | May 22, 2016 | Big Data
Prerequisites See the section “commands to manipulate HDFS files” Databases Before you can use it it is necessary to start the service of Hadoop And start the service of HIVE to execute commands, to do so find the folder HIVE and once there run: $ cd hive... by Diego Calvo | May 20, 2016 | Apache Hadoop
Hadoop definition Apache Hadoop is a distributed system that allows to carry out processing of large volumes of data through cluster, easy to scale. Broadly speaking, it can be said that Hadoop is composed by two parts: Data storage of different types (HDFS) Performs...