What are the causes of generating huge amount of data?

Over 2.5 exabytes (2.5 billion Gigabytes) of data is generating daily.
Following are some of the reasons of the sources of huge amount and high volume of data.

  1. A typical large stock exchange captures more than 1tb of data every day.
  2. there are around 5 billion mobile phones (Including 1.75 billion smart phones) in the world.
  3. Youtube users upload more than 48 hours of videos every minute.
  4. large social netwirks such as facebook, twitter capture more than 10 tb of data daily.
  5. There is morethan 30 TB of data is sensing through sensors.    

How Developers are benefited by learning hadoop ,bigdata

In my first session  i have written

Values to Professionals: Hadoop Professionals will be

  1. Equipped with hadoop framework skill in the fast growing big data analytics industry
  2. Enabled to process a huge amont of big data with a high level of efficiency as the industry switches over from excel based analytics to real analytics.
  3. Distinguished from other big data professionals due to their through knowledge and skill set.
  4. Demand for hadoop professionals should be high.
  5. Able to derive the benefits from the emerging bigdata industry.
In my next article am going to write How the data is generating in real world .

Prerequisite knowledge for Hadoop , Bigdata

Hello , Hearty welcome to my second session to free online big data hadoop developer course provided by siddhu.info.

Prerequisites

  1. Knowledge of any programming language.
  2. Fundamental Programming skills
  3. Working Knowledge of java (Not Required).
In the next article am going to write how big data , hadoop beneficiary for professionals.

Big data ,Hadoop Free online course Overview

In my previous article i have written Introduction & Objectives of this course . Now am going to share Overview of  Big data Hadoop Free Online Course.

Course Overview:

  1. A detailed introduction to the Basics of Apache Hadoop
  2. Knowledge about Hadoop ecosystem ,Hadoop Distributed File System, Hadoop cluster, Map Reduce, Pig, Hive, ZooKeeper, Hive, Pig, Sqoop, Flume and So on.
  3. An Overview of the installation and configuration steps for various Hadoop components.
  4. This course is aimed at professionals inspired to perform bigdata analytics in apache hadoop .
  5. Analytics  professionals, it professionals, ETL Developers, Project Manager, and Testing novices & Experts are benefited by learning this course.
  6. Other aspirants and students looking forward to gain through understanding of the implementation of hadoop framework.
You will learn how to install and configre hadoop , big ata in ubuntu operating system .Inaddition to yo will learn programming in java for big data analytics.

Big data ,Hadoop Free online course Overview

Big data Hadoop Course Introduction & Objectives

Course Introduction:

Hello , Hearty welcome to siddhu.info free online big data and hadoop online course.It is a introductory lesson to hadoop & Big data developer course .You will be  explored.

Course Objectives :

By the end of this course you will be able to describe the fundamental concepts of hadoop.

  1. Apply programming skills in Map Reduce.
  2. Utilize Analytic skills using Pig & Hive.
  3. Explain the HBase data Model and its components
  4. Describe how ZooKeeper &Sqoop address the challenges associated with distributed computing.
In the next article you will come to know thew Course Overview.

How to connect Android with PHP,MYSQL

android php mysql


In this post am going to explain how to connect android with php,mysql.Nowadays who are having php websites they want to develop android application through that database mysql. For php mysql android connectivity we need to design a database, php files for json output, java files for json parsing to show output.

                                                              Download Link

Youtube link for ANDROID PHP MYSQL CONNECTION



android php mysql screen1android php mysql screen2

There are three steps to follow you to connect android with php+mysql
1.MysQl Database Design
2.PHP file for JSON Output
3.Android Java files

MysQL Database Design:


CREATE TABLE IF NOT EXISTS `registration` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `email` varchar(100) NOT NULL,
  `sex` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

 PHP Files for JSON Output:

In this there are three files 1)Database connection 2) index.php 3) User details 

INDEX.PHP 


<?php
require_once 'db.php';


    $mysql_query=mysql_query("SELECT * FROM registration");

 $response["users"]=array();

    if(mysql_num_rows($mysql_query)>0)
{


 while($row=mysql_fetch_array($mysql_query))
 {
  $users=array();
  $users["id"]=$row['id'];
  $users["email"]=$row['email'];
  $users["sex"]=$row['sex'];

     array_push($response["users"],$users );
 
 }
 $response["success"] = 1;

 echo json_encode($response);

}
else
{
 $response["failure"]=0;
 $response["message"]="No Records found";

 echo json_encode($response);
}
?>

User_Details.php

 

0)
{


 while($row=mysql_fetch_array($mysql_query))
 {
  $users=array();
  $users["email"]=$row['email'];
  $users["sex"]=$row['sex'];

     array_push($response["users"],$users );
 
 }
 $response["success"] = 1;

 echo json_encode($response);

}
else
{
 $response["failure"]=0;
 $response["message"]="No Records found";

 echo json_encode($response);
}
}
?>

Android Files

MainActivity.java 
package info.siddhu.androidmysqlphpsqlite;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import org.apache.http.NameValuePair;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.os.AsyncTask;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.AdapterView; 
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.SimpleAdapter;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.TextView;
import android.widget.Toast;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;

public class MainActivity extends Activity {
 
 ListView lv;
 
 EditText et;
 
 JSONParser jParser = new JSONParser();
 
 ArrayAdapter aa;
 
 ListAdapter adapter;
  
 // url to get all new songs list
 private static String url_all_users = "http://10.0.2.2/siddhu.info";
 
 // JSON Node names
  private static final String TAG_SUCCESS = "success";
  private static final String TAG_USERS = "users";
  private static final String TAG_UID = "id";
  private static final String TAG_EMAIL = "email";
  
  // products JSONArray
  JSONArray movies = null;

 
 // Progress Dialog
 private ProgressDialog pDialog;
 
 ArrayList> productsList;

 @Override
 protected void onCreate(Bundle savedInstanceState) 
 {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_main);
  
  // Hashmap for ListView
     productsList = new ArrayList>();
     
     new myAsyncTask().execute();
    
  lv=(ListView)findViewById(R.id.listView1);
  et=(EditText)findViewById(R.id.editText1);
  
  lv.setOnItemClickListener(new OnItemClickListener() {

   @Override
public void onItemClick(AdapterView parent, View view,int position, long id) 
   {
    
    // getting values from selected ListItem
String uid = ((TextView) view.findViewById(R.id.pid)).getText().toString();
    
    // Starting new intent
 Intent i = new Intent(getApplicationContext(),user_details.class);
    
\Toast.makeText(getApplicationContext(), uid, Toast.LENGTH_SHORT).show();
    // sending pid to next activity
   i.putExtra(TAG_UID, uid);
    
    startActivity(i);
    
   
   }
  });
  
  
  
  
  
 }



class myAsyncTask extends AsyncTask {

//Executed on the UI thread before the
//time taking task begins
protected void onPreExecute() 
{
super.onPreExecute();
pDialog = new ProgressDialog(MainActivity.this);
pDialog.setMessage("Loading Users. Please wait...");
pDialog.setIndeterminate(false);
pDialog.setCancelable(false);
pDialog.show();
}

//Executed on a special thread and all your
//time taking tasks should be inside this method
protected String doInBackground(String... args) 
{
 List params=new ArrayList();
 JSONObject json=jParser.makeHttpRequest(url_all_users, "GET", params);
 try
 {
  int success=json.getInt(TAG_SUCCESS);
  if(success==1)
  {
   movies=json.getJSONArray(TAG_USERS);
   for (int i = 0; i < movies.length(); i++) 
   {
    JSONObject c = movies.getJSONObject(i);

    // Storing each json item in variable
    String id = c.getString(TAG_UID);
    String name = c.getString(TAG_EMAIL);

    // creating new HashMap
HashMap map = new HashMap();

    
    map.put(TAG_UID, id);
    map.put(TAG_EMAIL, name);

    // adding HashList to ArrayList
    productsList.add(map);
   }
  }
  
 }
 catch (JSONException e) {
  // TODO: handle exception
  e.printStackTrace();
 }

return null;
}
//Executed on the UI thread after the
//time taking process is completed
protected void onPostExecute(String file_url)
{
 // dismiss the dialog after getting all products
 pDialog.dismiss();
 // updating UI from Background Thread
 runOnUiThread(new Runnable() {
  public void run() {
   /**
    * Updating parsed JSON data into ListView
    * */
adapter = new SimpleAdapter(MainActivity.this, productsList,R.layout.list_item,
 new String[] 
{ TAG_UID,TAG_EMAIL},new int[] { R.id.pid, R.id.name });
   // updating listview
   lv.setAdapter(adapter);
  }
 });

}
}
}

Extra files placed in download link please download it and fell free to comment here if you have any doubt.