Giter Site home page Giter Site logo

cdp-sdk-java's Introduction

Cloudera CDP SDK for Java

The Cloudera CDP SDK for Java allows Java developers to work with Cloudera CDP services.

Getting Started

Prerequisites

  • Java 11 or later
  • Maven 3.5 or later

Installing the SDK

The CDP SDK is available through Cloudera's maven repository. To include it in your Maven project, use the following declarations:

Add the Cloudera Maven Repository

<repositories>
  <repository>
    <id>cloudera.repo</id>
    <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
    <name>Cloudera Repository</name>
  </repository>
</repositories>

Include the CDP SDK Module

The CDP SDK uses slf4j for logging, so you must also include an slf4j implementation for whichever logging library your project will use (eg: log4j, logback, etc), and the jcl-over-slf4j bridge. In this example, we include the log4j implementation.

<dependencies>
  <dependency>
    <groupId>com.cloudera.cdp</groupId>
    <artifactId>cdp-sdk-java</artifactId>
  </dependency>
  <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-log4j12</artifactId>
  </dependency>
  <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>jcl-over-slf4j</artifactId>
    <scope>runtime</scope>
  </dependency>
</dependencies>

Building the SDK from source

After checking out the source code, you can build it using Maven.

mvn clean install

Sample SDK client

This is a sample project for a cdp-sdk-java client.

sdk/cdp-sdk-java-client

cdp-sdk-java's People

Contributors

cloudera-hudson avatar cloudera-sre-svc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdp-sdk-java's Issues

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.