Author: Nitin

  • Hadoop MapReduce

    Introduction
    HDFS stores file in multiple equal large size block e.g. 64 MB, 128 MB etc. and MapReduce framework access and process these files in distributed environment.
    The MapReduce framework works on key-value pairs, it has two key part Mapper and Reducer.Map Reducers read file and split and pass to Mapper. Mapper set the input as key-value pairs and pass to the intermediate for sorting and shuffling. Reducer takes the key and list of value, process and writes to the disk. (more…)

  • Apache Hadoop Setup

    Hadoop 2.x is based on YARN architecture, which uses ResourceManagaer and ApplicationManager. ResourceManagaer manage recourses across cluster and Application Manager manages job life cycles. (more…)

  • Grails UnitTesting & Deployment

    Unit Testing
    GrailsUnitTestCase and GroovyTestCase both extend JUnit 3.x TestCase.MVC Unit Test case will extend GrailsUNitTest case and delegate the test case control to ControllerUnitTestCase and TagLibUnitTestCase

    (more…)

  • Grails Services

    Services

    Grails Service uses to separate your business logic from the other layer or component. Services are named in the format SomeNameService.groovy and placed in the directory /grails-app/services/. Services can make use of dependency injection features, and you can easily call these services from within controllers. (more…)

  • Grails – GSP

    GSP

    Grails uses GSP for the presentation tier. The Groovy in Groovy Server Pages not only identifies the underlying technology, but also the language you can use if you want to write a quick scriptlet or two. Groovy Taglib and partial templates give you a more sophisticated way of sharing code and behavior across Web pages. (more…)

  • Grails Scaffolding Controllers and Views

     

    Controllers and views round out the “Big Three” in Grails applications. The Model/View/Controller (MVC) pattern is undoubtedly familiar to most web developers. By enforcing a clean separation of concerns among these three elements, your efforts are paid back in terms of maximum flexibility and reuse. (more…)

  • Grails Environment Setup

     

    Need to follow below steps for Grails environment setup

    • Install JDK1.5 or higher from oracle
    • Point the JAVA_HOME environment variable at your JDK installation.
    • Download the latest release of Grails from http://grails.org/Download.
    • Unzip Grails
    • Create a GRAILS_HOME environment variable
    • Add GRAILS_HOME/bin to the PATH

    (more…)

Create your own website, free on WordPress.com.Create your own website.
Start free