You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by astroshim <gi...@git.apache.org> on 2016/07/05 15:12:33 UTC

[GitHub] zeppelin pull request #1136: [ZEPPELIN-1121] Bugfix pyspark autocompletion.

GitHub user astroshim opened a pull request:

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

    [ZEPPELIN-1121] Bugfix pyspark autocompletion.

    ### What is this PR for?
    This PR fixes autocompletion for pyspark interpreter bug.
    
    
    ### What type of PR is it?
    Bug Fix
    
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-1121
    
    
    ### How should this be tested?
    try to completion for pyspark interpreter on your paragraph.
    
    
    ### Screenshots (if appropriate)
      - before
    ![before](https://cloud.githubusercontent.com/assets/3348133/16589456/31464398-430e-11e6-87f0-a9446d5c5c14.gif)
    
      - after
    ![after](https://cloud.githubusercontent.com/assets/3348133/16589462/39540b74-430e-11e6-9e2b-0f23ed373521.gif)
    
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no
    


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

    $ git pull https://github.com/astroshim/zeppelin ZEPPELIN-1121

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

    https://github.com/apache/zeppelin/pull/1136.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 #1136
    
----
commit 4ef11177accd2909f65e91071faa05c82c189760
Author: astroshim <hs...@nflabs.com>
Date:   2016-07-05T14:51:55Z

    fix pyspark autocompletion code.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin pull request #1136: [ZEPPELIN-1121] Bugfix pyspark autocompletion.

Posted by astroshim <gi...@git.apache.org>.
GitHub user astroshim reopened a pull request:

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

    [ZEPPELIN-1121] Bugfix pyspark autocompletion.

    ### What is this PR for?
    This PR fixes autocompletion for pyspark interpreter bug.
    
    
    ### What type of PR is it?
    Bug Fix
    
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-1121
    
    
    ### How should this be tested?
    try to completion for pyspark interpreter on your paragraph.
    
    
    ### Screenshots (if appropriate)
      - before
    ![before](https://cloud.githubusercontent.com/assets/3348133/16589456/31464398-430e-11e6-87f0-a9446d5c5c14.gif)
    
      - after
    ![after](https://cloud.githubusercontent.com/assets/3348133/16589462/39540b74-430e-11e6-9e2b-0f23ed373521.gif)
    
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no
    


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

    $ git pull https://github.com/astroshim/zeppelin ZEPPELIN-1121

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

    https://github.com/apache/zeppelin/pull/1136.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 #1136
    
----
commit 4ef11177accd2909f65e91071faa05c82c189760
Author: astroshim <hs...@nflabs.com>
Date:   2016-07-05T14:51:55Z

    fix pyspark autocompletion code.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1136: [ZEPPELIN-1121] Bugfix pyspark autocompletion.

Posted by astroshim <gi...@git.apache.org>.
Github user astroshim commented on the issue:

    https://github.com/apache/zeppelin/pull/1136
  
    @fanlu Thank you for share your problem. 
    How did you build master? Did you add `-Ppyspark` to use pyspark on your build command?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin pull request #1136: [ZEPPELIN-1121] Bugfix pyspark autocompletion.

Posted by astroshim <gi...@git.apache.org>.
Github user astroshim closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin pull request #1136: [ZEPPELIN-1121] Bugfix pyspark autocompletion.

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1136: [ZEPPELIN-1121] Bugfix pyspark autocompletion.

Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the issue:

    https://github.com/apache/zeppelin/pull/1136
  
    Looks great to me, thank you @astroshim 
    Merging if there is no further disucssion


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1136: [ZEPPELIN-1121] Bugfix pyspark autocompletion.

Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the issue:

    https://github.com/apache/zeppelin/pull/1136
  
    I have updated JIRA issue, next time could you please make sure it's assigned and have correct "Fix Version" set? This helps to do release management a lot!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1136: [ZEPPELIN-1121] Bugfix pyspark autocompletion.

Posted by astroshim <gi...@git.apache.org>.
Github user astroshim commented on the issue:

    https://github.com/apache/zeppelin/pull/1136
  
    re-trigger CI


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #1136: [ZEPPELIN-1121] Bugfix pyspark autocompletion.

Posted by fanlu <gi...@git.apache.org>.
Github user fanlu commented on the issue:

    https://github.com/apache/zeppelin/pull/1136
  
    I still have this problem.
    build master version
    ERROR [2016-09-26 22:02:25,834] ({qtp532445947-596} NotebookServer.java[onMessage]:257) - Can't handle message
    org.apache.zeppelin.interpreter.InterpreterException: org.apache.thrift.transport.TTransportException
    	at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.completion(RemoteInterpreter.java:453)
    	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.completion(LazyOpenInterpreter.java:122)
    	at org.apache.zeppelin.notebook.Paragraph.completion(Paragraph.java:242)
    	at org.apache.zeppelin.notebook.Note.completion(Note.java:520)
    	at org.apache.zeppelin.socket.NotebookServer.completion(NotebookServer.java:793)
    	at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:216)
    	at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:56)
    	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128)
    	at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)
    	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65)
    	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:122)
    	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:161)
    	at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309)
    	at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214)
    	at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
    	at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
    	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:632)
    	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:480)
    	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: org.apache.thrift.transport.TTransportException
    	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
    	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
    	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
    	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
    	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
    	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
    	at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.recv_completion(RemoteInterpreterService.java:358)
    	at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.completion(RemoteInterpreterService.java:342)
    	at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.completion(RemoteInterpreter.java:449)
    	... 21 more



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---