Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 504A1200CAE for ; Wed, 17 May 2017 04:36:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4EF9F160BCF; Wed, 17 May 2017 02:36:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2CAA7160BD6 for ; Wed, 17 May 2017 04:36:30 +0200 (CEST) Received: (qmail 40316 invoked by uid 500); 17 May 2017 02:36:29 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 36001 invoked by uid 99); 17 May 2017 02:36:23 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2017 02:36:23 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 227EBDFD43; Wed, 17 May 2017 02:36:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dhalperi@apache.org To: commits@beam.apache.org Date: Wed, 17 May 2017 02:37:03 -0000 Message-Id: In-Reply-To: <03aade293e8f4eb793d7bb5880e6117e@git.apache.org> References: <03aade293e8f4eb793d7bb5880e6117e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [42/51] [abbrv] [partial] beam-site git commit: regenerate the website archived-at: Wed, 17 May 2017 02:36:32 -0000 http://git-wip-us.apache.org/repos/asf/beam-site/blob/c196579f/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexRunnerRegistrar.html ---------------------------------------------------------------------- diff --git a/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexRunnerRegistrar.html b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexRunnerRegistrar.html new file mode 100644 index 0000000..6bbb1d2 --- /dev/null +++ b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexRunnerRegistrar.html @@ -0,0 +1,227 @@ + + + + + +ApexRunnerRegistrar + + + + + + + + + + + + +
+
org.apache.beam.runners.apex
+

Class ApexRunnerRegistrar

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.beam.runners.apex.ApexRunnerRegistrar
    • +
    +
  • +
+
+ +
+
+ +
+
+ + + + + + + http://git-wip-us.apache.org/repos/asf/beam-site/blob/c196579f/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexRunnerResult.html ---------------------------------------------------------------------- diff --git a/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexRunnerResult.html b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexRunnerResult.html new file mode 100644 index 0000000..2311000 --- /dev/null +++ b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexRunnerResult.html @@ -0,0 +1,417 @@ + + + + + +ApexRunnerResult + + + + + + + + + + + + +
+
org.apache.beam.runners.apex
+

Class ApexRunnerResult

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.beam.runners.apex.ApexRunnerResult
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PipelineResult
    +
    +
    +
    +
    public class ApexRunnerResult
    +extends java.lang.Object
    +implements PipelineResult
    +
    Result of executing a Pipeline with Apex in embedded mode.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ApexRunnerResult

        +
        public ApexRunnerResult(com.datatorrent.api.DAG dag,
        +                        org.apache.apex.api.Launcher.AppHandle apexApp)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        cancel

        +
        public PipelineResult.State cancel()
        +                            throws java.io.IOException
        +
        Description copied from interface: PipelineResult
        +
        Cancels the pipeline execution.
        +
        +
        Specified by:
        +
        cancel in interface PipelineResult
        +
        Throws:
        +
        java.io.IOException - if there is a problem executing the cancel request.
        +
        +
      • +
      + + + +
        +
      • +

        waitUntilFinish

        +
        public PipelineResult.State waitUntilFinish(Duration duration)
        +
        Description copied from interface: PipelineResult
        +
        Waits until the pipeline finishes and returns the final status. + It times out after the given duration.
        +
        +
        Specified by:
        +
        waitUntilFinish in interface PipelineResult
        +
        Parameters:
        +
        duration - The time to wait for the pipeline to finish. + Provide a value less than 1 ms for an infinite wait.
        +
        Returns:
        +
        The final state of the pipeline or null on timeout.
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getApexDAG

        +
        public com.datatorrent.api.DAG getApexDAG()
        +
        Return the DAG executed by the pipeline.
        +
        +
        Returns:
        +
        DAG from translation.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + http://git-wip-us.apache.org/repos/asf/beam-site/blob/c196579f/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.LaunchParams.html ---------------------------------------------------------------------- diff --git a/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.LaunchParams.html b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.LaunchParams.html new file mode 100644 index 0000000..24f4909 --- /dev/null +++ b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.LaunchParams.html @@ -0,0 +1,315 @@ + + + + + +ApexYarnLauncher.LaunchParams + + + + + + + + + + + + +
+
org.apache.beam.runners.apex
+

Class ApexYarnLauncher.LaunchParams

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.beam.runners.apex.ApexYarnLauncher.LaunchParams
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    Enclosing class:
    +
    ApexYarnLauncher
    +
    +
    +
    +
    protected static class ApexYarnLauncher.LaunchParams
    +extends java.lang.Object
    +implements java.io.Serializable
    +
    Launch parameters that will be serialized and passed to the child process.
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ModifierConstructor and Description
      protected LaunchParams(com.datatorrent.api.DAG dag, + com.datatorrent.api.Attribute.AttributeMap launchAttributes, + java.util.Properties configProperties) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      protected org.apache.apex.api.Launcher<?>getApexLauncher() 
      protected java.lang.StringgetCmd() 
      protected java.util.Map<java.lang.String,java.lang.String>getEnv() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LaunchParams

        +
        protected LaunchParams(com.datatorrent.api.DAG dag,
        +                       com.datatorrent.api.Attribute.AttributeMap launchAttributes,
        +                       java.util.Properties configProperties)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApexLauncher

        +
        protected org.apache.apex.api.Launcher<?> getApexLauncher()
        +
      • +
      + + + +
        +
      • +

        getCmd

        +
        protected java.lang.String getCmd()
        +
      • +
      + + + +
        +
      • +

        getEnv

        +
        protected java.util.Map<java.lang.String,java.lang.String> getEnv()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + http://git-wip-us.apache.org/repos/asf/beam-site/blob/c196579f/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.ProcessWatcher.html ---------------------------------------------------------------------- diff --git a/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.ProcessWatcher.html b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.ProcessWatcher.html new file mode 100644 index 0000000..bacab30 --- /dev/null +++ b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.ProcessWatcher.html @@ -0,0 +1,296 @@ + + + + + +ApexYarnLauncher.ProcessWatcher + + + + + + + + + + + + +
+
org.apache.beam.runners.apex
+

Class ApexYarnLauncher.ProcessWatcher

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.beam.runners.apex.ApexYarnLauncher.ProcessWatcher
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Runnable
    +
    +
    +
    Enclosing class:
    +
    ApexYarnLauncher
    +
    +
    +
    +
    public static class ApexYarnLauncher.ProcessWatcher
    +extends java.lang.Object
    +implements java.lang.Runnable
    +
    Starts a command and waits for it to complete.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ProcessWatcher(java.lang.Process p) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanisFinished() 
      voidrun() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProcessWatcher

        +
        public ProcessWatcher(java.lang.Process p)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isFinished

        +
        public boolean isFinished()
        +
      • +
      + + + +
        +
      • +

        run

        +
        public void run()
        +
        +
        Specified by:
        +
        run in interface java.lang.Runnable
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + http://git-wip-us.apache.org/repos/asf/beam-site/blob/c196579f/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.html ---------------------------------------------------------------------- diff --git a/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.html b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.html new file mode 100644 index 0000000..7921498 --- /dev/null +++ b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/ApexYarnLauncher.html @@ -0,0 +1,421 @@ + + + + + +ApexYarnLauncher + + + + + + + + + + + + +
+
org.apache.beam.runners.apex
+

Class ApexYarnLauncher

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.beam.runners.apex.ApexYarnLauncher
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class ApexYarnLauncher
    +extends java.lang.Object
    +
    Proxy to launch the YARN application through the hadoop script to run in the + pre-configured environment (class path, configuration, native libraries etc.). + +

    The proxy takes the DAG and communicates with the Hadoop services to launch + it on the cluster.

    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      protected static class ApexYarnLauncher.LaunchParams +
      Launch parameters that will be serialized and passed to the child process.
      +
      static class ApexYarnLauncher.ProcessWatcher +
      Starts a command and waits for it to complete.
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ApexYarnLauncher() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidaddProperties(org.apache.hadoop.conf.Configuration conf, + java.util.Properties props) +
      Transfer the properties to the configuration object.
      +
      static voidcreateJar(java.io.File dir, + java.io.File jarFile) +
      Create a jar file from the given directory.
      +
      static java.util.List<java.io.File>getYarnDeployDependencies() +
      From the current classpath, find the jar files that need to be deployed + with the application to run on YARN.
      +
      protected org.apache.apex.api.Launcher.AppHandlelaunchApp(ApexYarnLauncher.LaunchParams params) 
      org.apache.apex.api.Launcher.AppHandlelaunchApp(com.datatorrent.api.StreamingApplication app, + java.util.Properties configProperties) 
      static voidmain(java.lang.String[] args) +
      The main method expects the serialized DAG and will launch the YARN application.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ApexYarnLauncher

        +
        public ApexYarnLauncher()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        launchApp

        +
        public org.apache.apex.api.Launcher.AppHandle launchApp(com.datatorrent.api.StreamingApplication app,
        +                                                        java.util.Properties configProperties)
        +                                                 throws java.io.IOException
        +
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        launchApp

        +
        protected org.apache.apex.api.Launcher.AppHandle launchApp(ApexYarnLauncher.LaunchParams params)
        +                                                    throws java.io.IOException
        +
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        getYarnDeployDependencies

        +
        public static java.util.List<java.io.File> getYarnDeployDependencies()
        +                                                              throws java.io.IOException
        +
        From the current classpath, find the jar files that need to be deployed + with the application to run on YARN. Hadoop dependencies are provided + through the Hadoop installation and the application should not bundle them + to avoid conflicts. This is done by removing the Hadoop compile + dependencies (transitively) by parsing the Maven dependency tree.
        +
        +
        Returns:
        +
        list of jar files to ship
        +
        Throws:
        +
        java.io.IOException - when dependency information cannot be read
        +
        +
      • +
      + + + +
        +
      • +

        createJar

        +
        public static void createJar(java.io.File dir,
        +                             java.io.File jarFile)
        +                      throws java.io.IOException
        +
        Create a jar file from the given directory.
        +
        +
        Parameters:
        +
        dir - source directory
        +
        jarFile - jar file name
        +
        Throws:
        +
        java.io.IOException - when file cannot be created
        +
        +
      • +
      + + + +
        +
      • +

        addProperties

        +
        public static void addProperties(org.apache.hadoop.conf.Configuration conf,
        +                                 java.util.Properties props)
        +
        Transfer the properties to the configuration object.
        +
      • +
      + + + +
        +
      • +

        main

        +
        public static void main(java.lang.String[] args)
        +                 throws java.io.IOException
        +
        The main method expects the serialized DAG and will launch the YARN application.
        +
        +
        Parameters:
        +
        args - location of launch parameters
        +
        Throws:
        +
        java.io.IOException - when parameters cannot be read
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + http://git-wip-us.apache.org/repos/asf/beam-site/blob/c196579f/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/TestApexRunner.html ---------------------------------------------------------------------- diff --git a/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/TestApexRunner.html b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/TestApexRunner.html new file mode 100644 index 0000000..b76f897 --- /dev/null +++ b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/TestApexRunner.html @@ -0,0 +1,279 @@ + + + + + +TestApexRunner + + + + + + + + + + + + +
+
org.apache.beam.runners.apex
+

Class TestApexRunner

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + + + http://git-wip-us.apache.org/repos/asf/beam-site/blob/c196579f/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/package-frame.html ---------------------------------------------------------------------- diff --git a/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/package-frame.html b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/package-frame.html new file mode 100644 index 0000000..ab3c258 --- /dev/null +++ b/content/documentation/sdks/javadoc/2.0.0/org/apache/beam/runners/apex/package-frame.html @@ -0,0 +1,33 @@ + + + + + +org.apache.beam.runners.apex + + + + + +

org.apache.beam.runners.apex

+ + +