Github user jeffsteinmetz commented on the pull request:

    https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189102577
  
    @elbamos I tested a full build of a Zeppelin distribution using this PR in 
a virtual machine.
    When running from the source directory (not the distribution directory) - 
this works:
    ```
    %r
    2+2
    ```
    
    However when running from the distribution directory, I get the error 
listed below.
    Virtual Machine additions include:
    R version 3.2.3
    packages:  
          - evaluate
          - knitr
          - repr
          - htmltools
          - base64enc
    
    exact steps to replicate:
    ```
    git clone https://github.com/apache/incubator-zeppelin.git
    git fetch origin pull/208/head:208
    git checkout 208
    mvn clean package -Pbuild-distr -Pspark-1.6 -Phadoop-2.4 -Ppyspark 
-DskipTests
    cd 
zeppelin-distribution/target/zeppelin-0.6.0-incubating-SNAPSHOT/zeppelin-0.6.0-incubating-SNAPSHOT
    bin/zeppelin.sh
    ```
    
    error (when using r or knitr interpreter):
    ```
    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_interpret(RemoteInterpreterService.java:237)
        at 
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.interpret(RemoteInterpreterService.java:222)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.interpret(RemoteInterpreter.java:222)
        at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93)
        at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:213)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:171)
        at 
org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:326)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
    ```
    
    this however works:
    
    ```
    git clone https://github.com/apache/incubator-zeppelin.git
    git fetch origin pull/208/head:208
    git checkout 208
    mvn package install -DskipTests
    bin/zeppelin.sh
    ```


---
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