2017 © Pedro Peláez
 

library cloud-dataproc

Google Cloud Dataproc Client for PHP

image

google/cloud-dataproc

Google Cloud Dataproc Client for PHP

  • Thursday, July 19, 2018
  • by bshaffer
  • Repository
  • 29 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 17 Versions
  • 22 % Grown

The README.md

Google Cloud Dataproc for PHP

Idiomatic PHP client for Google Cloud Dataproc., (*1)

Latest Stable Version Packagist, (*2)

NOTE: This repository is part of Google Cloud PHP. Any support requests, bug reports, or development contributions should be directed to that project., (*3)

A managed Apache Spark and Apache Hadoop service that lets you take advantage of open source data tools for batch processing, querying, streaming, and machine learning. Cloud Dataproc automation helps you create clusters quickly, manage them easily, and save money by turning clusters off when you don't need them. With less time and money spent on administration, you can focus on your jobs and your data., (*4)

Installation

To begin, install the preferred dependency manager for PHP, Composer., (*5)

Now install this component:, (*6)

$ composer require google/cloud-dataproc

This component supports both REST over HTTP/1.1 and gRPC. In order to take advantage of the benefits offered by gRPC (such as streaming methods) please see our gRPC installation guide., (*7)

Authentication

Please see our Authentication guide for more information on authenticating your client. Once authenticated, you'll be ready to start making requests., (*8)

Sample

require 'vendor/autoload.php';

use Google\Cloud\Dataproc\V1\JobControllerClient;
use Google\Cloud\Dataproc\V1\Job;
use Google\Cloud\Dataproc\V1\HadoopJob;
use Google\Cloud\Dataproc\V1\JobPlacement;

$projectId = '[MY_PROJECT_ID]';
$region = 'global';
$clusterName = '[MY_CLUSTER]';

$jobPlacement = new JobPlacement();
$jobPlacement->setClusterName($clusterName);

$hadoopJob = new HadoopJob();
$hadoopJob->setMainJarFileUri('gs://my-bucket/my-hadoop-job.jar');

$job = new Job();
$job->setPlacement($jobPlacement);
$job->setHadoopJob($hadoopJob);

$jobControllerClient = new JobControllerClient();
$submittedJob = $jobControllerClient->submitJob($projectId, $region, $job);

Debugging

Please see our Debugging guide for more information about the debugging tools., (*9)

Version

This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in any minor or patch releases. We will address issues and requests with the highest priority., (*10)

Next Steps

Take a look at and understand the official documentation., (*11)

The Versions

19/07 2018

dev-master

9999999-dev

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

19/07 2018

v0.5.3

0.5.3.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

11/07 2018

v0.5.2

0.5.2.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

03/07 2018

v0.5.1

0.5.1.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

12/06 2018

v0.5.0

0.5.0.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

31/05 2018

v0.4.1

0.4.1.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

24/05 2018

v0.4.0

0.4.0.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

08/05 2018

v0.3.4

0.3.4.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

16/04 2018

v0.3.3

0.3.3.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

11/04 2018

v0.3.2

0.3.2.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

03/04 2018

v0.3.1

0.3.1.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

28/03 2018

v0.3.0

0.3.0.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

16/03 2018

v0.2.3

0.2.3.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

26/02 2018

v0.2.2

0.2.2.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

01/02 2018

v0.2.1

0.2.1.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

29/12 2017

v0.1.1

0.1.1.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires

 

22/12 2017

v0.1.0

0.1.0.0

Google Cloud Dataproc Client for PHP

  Sources   Download

Apache-2.0

The Requires