GitHub user cloverhearts reopened a pull request:

    https://github.com/apache/zeppelin/pull/1637

    [ZEPPELIN-1665] Z.run with external note executable and access resource for 
zeppelin in each interpreter

    ### What is this PR for?
    Currently, the z.run command is restricted.
    Only paragraphs in a single note can be executed.
    I have modified this to allow you to freely execute paragraphs of other 
notes.
    This PR provides the basis for the freeful use of Zeppelin's resources at 
each Interpreter implementation.
    
    ### What type of PR is it?
    Improvement, Feature
    
    ### Todos
    - [x] extends z.run
    - [x] run all paragraph in external note
    - [x] run paragraph for external note.
    - [x] get resource for zeppelin in each interpreter.
    - [x] improve test case.
    - [x] how to use docuement
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-1665
    
    ### How should this be tested?
    Currently under development.
    
    run paragraph in same note
    ```
    %spark
    z.run("paragraphID")
    ```
    
    run paragraph with external note
    ```
    z.run("noteid", "paragraphid");
    ```
    
    all note run
    ```
    z.runNote("noteid");
    ```
    
    ### Screenshots (if appropriate)
    - paragraph run
    
![zrun](https://cloud.githubusercontent.com/assets/10525473/20304857/ca056300-ab75-11e6-8276-0fe0667a5a24.gif)
    
    - noterun
    
![runnote](https://cloud.githubusercontent.com/assets/10525473/20472104/527cd8de-affa-11e6-9587-0438140e264f.gif)
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? yes


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloverhearts/zeppelin 
extends-zrun-remote-transaction

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1637.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1637
    
----
commit 6e1f219993d4d98f27cdba697b69a0a641f116f6
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-11T03:14:12Z

    code base workflow for remote zeppelin server control default thrift 
transaction.

commit 0570ae804b8c39e0b2e74c23ad13c57ee4c5a213
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-14T12:22:51Z

    add remote works controller class and include interpreter factory

commit 25232387d1693ecbaed9af98aada09bdd6b92e7b
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-14T14:46:26Z

    Implement eventForWait class

commit 3d34f9e0bb1d88304feafa37b0a69b1601854698
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-15T10:49:51Z

    Implement getParagraphRunner transaction.

commit 3ed556c50d858495df11065275642699c4f0a435
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-15T11:02:43Z

    remove debug console message.

commit afb9db746593fc0aff5f2b9beb77373e69d45d66
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-15T11:04:39Z

    Merge branch 'master' into workflow
    
    # Conflicts:
    #   spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java

commit 5a7886fd82d9dd06e1c0a39cd11f37128a9e5d46
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-15T11:47:38Z

    fix sio support

commit 55e870403b8eb770192d36b1537c3bc90f953119
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-15T13:55:52Z

    support spark r

commit 3f75bd572112af7f951c6b06f31b28d1c2957352
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-15T14:33:20Z

    support scald

commit 6fbe08a8934703c5a33dcaaf82dcc1636627078b
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-17T08:18:35Z

    Merge branch 'master' into workflow
    
    # Conflicts:
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterEventPoller.java
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RemoteInterpreterEventType.java

commit 2628a20052390d9b161715d9fa720c52c6a18ffc
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-17T08:26:47Z

    fix thrift

commit 4b1ef0886713597666ae0761254d772e61c2565b
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-17T08:28:11Z

    fix thrift interface

commit c074f0751fb5a435f216fe0147ae4942bcc59173
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-17T09:35:16Z

    fix sio support

commit f11fed499247cd060b4d6577691a45798424d763
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-17T09:37:26Z

    Merge branch 'workflow' into extends-zrun-remote-transaction
    
    # Conflicts:
    #   scio/src/main/scala/org/apache/zeppelin/scio/ScioInterpreter.scala

commit 8d42c166a3b9ca7fbb3cc8130e5205aa29d00753
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-18T05:57:32Z

    Merge branch 'master' into extends-zrun-remote-transaction
    
    # Conflicts:
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreter.java
    #   zeppelin-interpreter/src/main/thrift/RemoteInterpreterService.thrift
    #   
zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/remote/RemoteAngularObjectTest.java
    #   
zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterOutputTestStream.java
    #   
zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterTest.java
    #   
zeppelin-interpreter/src/test/java/org/apache/zeppelin/resource/DistributedResourcePoolTest.java
    #   
zeppelin-interpreter/src/test/java/org/apache/zeppelin/scheduler/RemoteSchedulerTest.java
    #   
zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterFactory.java

commit 8cbe46cbc84786d8f256a5ea3fbd1681554d2a69
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-18T07:23:01Z

    remote remoteworksController in interpreter.java

commit 9ab05afe14971daaa8e4d2ab1a7d1ad04afc979f
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-18T14:32:33Z

    Change structure and remove remoteWorksManager

commit f9661c843b653befe875dbd59d3377eda98cfba5
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-21T02:27:30Z

    Merge branch 'master' into extends-zrun-remote-transaction

commit 10c2a47047f0fabe23f49418a85e90ac6b5fc0e8
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-21T05:53:13Z

    Implement runNote and re implement run method

commit 292319a8eb59090d31c88b10a23fae54da63970f
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-22T08:19:09Z

    add test case for extends z.run and z.runNote

commit 342752d61fb9cdd4936a42898d06fb920a1a4b9d
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-22T08:25:05Z

    add document for extends z.run and z.runNote

commit 8a549179874af3e59faf10588cb481da9643f2f8
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-23T13:38:01Z

    Merge branch 'master' into extends-zrun-remote-transaction

commit 7562535a1697d9e40020d650d4f39ac071b39798
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-23T13:47:31Z

    remove unused import and asterisk import

commit 5ec4640af0e9759172cbae55ec0b9ff8c3bbf61d
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-23T17:34:03Z

    change defined protocol for thrift

commit 38621663091ae17bbead06e364392239d75677d5
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-25T13:41:03Z

    regenerate thrfit class

commit e6cd82c7900e84aafd7530181c9855f66df0c0db
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-25T14:07:25Z

    Merge branch 'master' into extends-zrun-remote-transaction
    
    # Conflicts:
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterContext.java
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/InterpreterCompletion.java
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RemoteApplicationResult.java
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RemoteInterpreterContext.java
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RemoteInterpreterEvent.java
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RemoteInterpreterResult.java
    #   
zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RemoteInterpreterService.java

commit 5a80a5a8ace3bd9331b9e0baa4b401d8c6e496fd
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-26T03:11:17Z

    last test case time check to print string

commit f2e3bcf29961a37fa83810a7732efc10d76bfe15
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2016-11-26T03:51:15Z

    fix TestCase

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to