Coder Social home page Coder Social logo

nifi-hadoop-libraries-bundle's Introduction

NiFi Hadoop Library for MapR

About this Project

The motivation for creating this bundle is to have NiFi communicate with a MapR cluster. MapR uses different versions of the hadoop libraries and different configurations are needed.

How To Use

The main file that will need updating is the pom.xml in the nifi-mapr-nar directory. A property called mapr.version will need updating with the version of MapR that NiFi will be communicating with.

Note: NiFi verision can be changed if necessary in the pom.xml

Run a mvn clean install in the nifi-mapr-nar directory and once the build completes successfully the target NiFi bundle will be located in the target directory. The file will be called nifi-hadoop-libraries-nar-0.3.0.nar

Copy the nar file to the NiFi environment and replace it with the existing hadoop libraries under $NIFI_HOME/lib and restart NiFi.

Using the HDFS Processors

When using the HDFS related processors a configuration neccessary is supplying the core-site.xml. Instead of using the hdfs:// protocol, MapR has its own to communicate with the cluster, that is maprfs://

Get the core-site.xml from the MapR environment, make the file readable by the user running NiFi and modify the contents to include the fs.defaultFS property. The cldbhost and port will come from the MapR environment.

...
<property> 
  <name>fs.defaultFS</name>
  <value>maprfs://<cldbhost>:<port></value>
</property>
...

Once completed, the HDFS processors in NiFi will be able to communicate with a MapR cluster.

nifi-hadoop-libraries-bundle's People

Contributors

bbukacek avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar Yi JIN avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.