Uploaded image for project: 'Apache Nemo'
  1. Apache Nemo
  2. NEMO-404

Provide user argument to use lambda executor representer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2

      Description

      1. Description

      On supporting LambdaExecutor, this issue relates to allowing user to specify which type of executor they need, and refactor the dependency classes to runtime/common to avoid cyclic dependencies.

      1. # # Major changes:
      • Provide user argument to use the new representer
      • Refactor task state manager and metric manager from runtime executor to runtime common
      1. Other comments:

      Try it out by
      ```
      ./bin/run_beam.sh \
      -job_id wordCount_testexecutor \
      -executor_json `pwd`/examples/resources/executors/beam_test_executor_resources.json \
      -optimization_policy org.apache.nemo.compiler.optimizer.policy.DefaultPolicy \
      -user_main org.apache.nemo.examples.beam.WordCount \
      -executor_type lambda \
      -user_args "`pwd`/examples/resources/inputs/test_input_wordcount `pwd`/outputs/wordcount --numEventGenerators=1"
      ```

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alapha23 Gao Zhiyuan
                Reporter:
                alapha23 Gao Zhiyuan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m