Class: Google::Cloud::Dataproc::V1::PigJob
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::PigJob
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/jobs.rb
Overview
A Dataproc job for running Apache Pig queries on YARN.
Defined Under Namespace
Classes: PropertiesEntry, ScriptVariablesEntry
Instance Attribute Summary collapse
-
#continue_on_failure ⇒ ::Boolean
Optional.
-
#jar_file_uris ⇒ ::Array<::String>
Optional.
-
#logging_config ⇒ ::Google::Cloud::Dataproc::V1::LoggingConfig
Optional.
-
#properties ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#query_file_uri ⇒ ::String
The HCFS URI of the script that contains the Pig queries.
-
#query_list ⇒ ::Google::Cloud::Dataproc::V1::QueryList
A list of queries.
-
#script_variables ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
Instance Attribute Details
#continue_on_failure ⇒ ::Boolean
Returns Optional. Whether to continue executing queries if a query fails.
The default value is false
. Setting to true
can be useful when
executing independent parallel queries.
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 411 class PigJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ScriptVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#jar_file_uris ⇒ ::Array<::String>
Returns Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 411 class PigJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ScriptVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#logging_config ⇒ ::Google::Cloud::Dataproc::V1::LoggingConfig
Returns Optional. The runtime log config for job execution.
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 411 class PigJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ScriptVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#properties ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. A mapping of property names to values, used to configure Pig.
Properties that conflict with values set by the Dataproc API might be
overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml
,
/etc/pig/conf/pig.properties, and classes in user code.
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 411 class PigJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ScriptVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#query_file_uri ⇒ ::String
Returns The HCFS URI of the script that contains the Pig queries.
Note: The following fields are mutually exclusive: query_file_uri
, query_list
. If a field in that set is populated, all other fields in the set will automatically be cleared.
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 411 class PigJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ScriptVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#query_list ⇒ ::Google::Cloud::Dataproc::V1::QueryList
Returns A list of queries.
Note: The following fields are mutually exclusive: query_list
, query_file_uri
. If a field in that set is populated, all other fields in the set will automatically be cleared.
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 411 class PigJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ScriptVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#script_variables ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Mapping of query variable names to values (equivalent to the Pig
command: name=[value]
).
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 411 class PigJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ScriptVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |