Learn R Programming

datarobot (version 2.8.0)

SetupProjectFromHDFS: Function to set up a new DataRobot project using datasource on a WebHDFS server

Description

This function returns the projectName specified in the calling sequence, the unique alphanumeric identifier projectId for the new project, the name of the modeling dataset uploaded to create this project, and the project creation time and date.

Usage

SetupProjectFromHDFS(url, port = NULL, projectName = NULL, maxWait = 60 *
  60)

Arguments

url

character. The location of the WebHDFS file, both server and full path. Per the DataRobot specification, must begin with hdfs://

port

integer. Optional. The port to use. If not specified, will default to the server default (50070).

projectName

character. Optional. String specifying a project name.

maxWait

integer. The maximum time to wait for each of two steps: (1) The initial project creation request, and (2) data processing that occurs after receiving the response to this initial request.

Value

This function returns a list with the following four components:

projectName

The name assigned to the DataRobot project

projectId

The unique alphanumeric project identifier for this DataRobot project

fileName

The name of the CSV modeling file uploaded for this project

created

Character string containing the time and date of project creation

Examples

Run this code
# NOT RUN {
  SetupProjectFromHDFS(url = 'hdfs://path/to/data',
                       port = 12345,
                       projectName = 'dataProject')
# }

Run the code above in your browser using DataLab