Class JobHiveConfig


  • public final class JobHiveConfig
    extends java.lang.Object
    • Method Detail

      • continueOnFailure

        public java.util.Optional<java.lang.Boolean> continueOnFailure()
        Returns:
        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. Defaults to false.
      • jarFileUris

        public java.util.List<java.lang.String> jarFileUris()
        Returns:
        HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
      • properties

        public java.util.Map<java.lang.String,​java.lang.String> properties()
        Returns:
        A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`, `/etc/hive/conf/hive-site.xml`, and classes in user code..
      • queryFileUri

        public java.util.Optional<java.lang.String> queryFileUri()
        Returns:
        HCFS URI of file containing Hive script to execute as the job. Conflicts with `query_list`
      • queryLists

        public java.util.List<java.lang.String> queryLists()
        Returns:
        The list of Hive queries or statements to execute as part of the job. Conflicts with `query_file_uri`
      • scriptVariables

        public java.util.Map<java.lang.String,​java.lang.String> scriptVariables()
        Returns:
        Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).