You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Jitender Aswani <ji...@sparklinedata.com> on 2015/08/19 21:28:35 UTC
How to hide interpreter log from each para in the notebook
Hello,
Unable to figure out how to disable the interpreter log that gets printed
in each notebook cell before the actual output. Any pointers?
Here is an example of the interpreter log for spark. The last line is the
actual output.
import org.apache.spark.sql.{SQLContext, DataFrame} clicksS3Bucket: String
= s3n://yadi/yado impressionsS3Bucket: String = s3n://yadi/yado clicksDF:
org.apache.spark.sql.DataFrame = [hr: string, dt: string, ts: bigint, uuid:
bigint...]
Count for pixels data is 96419
Best,
Jitender
Re: How to hide interpreter log from each para in the notebook
Posted by Jitender Aswani <ji...@sparklinedata.com>.
This trick worked Moon, thanks.
Best,
Jitender
Founder, SparklineData
Automated Audience Behavior Analysis on Hadoop-scale Data
Leave ETL and Cubes Behind and Jump Straight to Lightning Fast Analytics to Power Outbound Marketing
@jaswani
> On Aug 19, 2015, at 12:55 PM, moon soo Lee <mo...@apache.org> wrote:
>
> Hi Jitender,
>
> You can try wrap your codes with '{', '}'.
> That would help.
>
> Best,
> moon
>
> On Wed, Aug 19, 2015 at 12:42 PM Jitender Aswani <jitender@sparklinedata.com <ma...@sparklinedata.com>> wrote:
> Thanks bud. I have been using %table as output format for charting. I guess I can use %html for non charting paras to avoid long list of logs getting printed.
>
> Best,
> Jitender
>
>> On Aug 19, 2015, at 12:38 PM, IT CTO <goi.cto@gmail.com <ma...@gmail.com>> wrote:
>>
>> It is a trick but should work, if you output the result to an %html or %table you will not see the prev log lines.
>> E.g.
>> Println("%table" + rdd.count )
>>
>>
>> בתאריך יום ד׳, 19 באוג׳ 2015, 22:28 מאת Jitender Aswani <jitender@sparklinedata.com <ma...@sparklinedata.com>>:
>> Hello,
>>
>> Unable to figure out how to disable the interpreter log that gets printed in each notebook cell before the actual output. Any pointers?
>>
>> Here is an example of the interpreter log for spark. The last line is the actual output.
>>
>> import org.apache.spark.sql.{SQLContext, DataFrame}
>> clicksS3Bucket: String = s3n://yadi/yado <>
>> impressionsS3Bucket: String = s3n://yadi/yado <>
>> clicksDF: org.apache.spark.sql.DataFrame = [hr: string, dt: string, ts: bigint, uuid: bigint...]
>> Count for pixels data is 96419
>>
>> Best,
>> Jitender
>>
>>
>
Re: Did new build and web sockets are not working anymore
Posted by IT CTO <go...@gmail.com>.
sorry, I had a local problem which is not related to here.
Eran
On Thu, Aug 20, 2015 at 7:41 PM IT CTO <go...@gmail.com> wrote:
> Hi,
> I also got the latest code today and build it successfully but keep
> getting connection refused.
> I applied PR 231 build again but still can't connect to the server.
> Any ideas?
> Eran
>
> On Thu, Aug 20, 2015 at 6:48 PM Jitender Aswani <
> jitender@sparklinedata.com> wrote:
>
>> I couldn’t apply the patch. I guess I am going to wait for this error to
>> be fixed (looks like today it being pulled into the main trunk).
>> Appreciate the help. This error is annoying for older users of Zeppelin on
>> AWS.
>>
>> Cheers!
>>
>> On Aug 19, 2015, at 6:03 PM, Corneau Damien <co...@gmail.com> wrote:
>>
>> This is a known issue, and I think it is being handled here:
>> https://issues.apache.org/jira/browse/ZEPPELIN-231
>> On Aug 20, 2015 9:09 AM, "Chad Timmins" <ct...@trulia.com> wrote:
>>
>>> Hi,
>>>
>>> I had the same thing happen to me this morning and get the same exact
>>> error. Did you figure this out?
>>>
>>> From: Jitender Aswani <ji...@sparklinedata.com>
>>> Reply-To: "users@zeppelin.incubator.apache.org" <
>>> users@zeppelin.incubator.apache.org>
>>> Date: Wednesday, August 19, 2015 at 2:02 PM
>>> To: "users@zeppelin.incubator.apache.org" <
>>> users@zeppelin.incubator.apache.org>
>>> Subject: Re: Did new build and web sockets are not working anymore
>>>
>>> I am guessing that web sockets don’t run on a separate port anymore. I
>>> took out nginx and now directly connecting to zeppelin which is running
>>> fine on port 8001. I see this error in the chrome browser -
>>>
>>> WebSocket connection to 'ws://ec2-197.compute-1.amazonaws.com:8001/ws'
>>> failed: Error during WebSocket handshake: Unexpected response code: 403
>>>
>>> Any clues anyone?
>>>
>>> Best,
>>> Jitender
>>>
>>> On Aug 19, 2015, at 1:16 PM, Jitender Aswani <ji...@sparklinedata.com>
>>> wrote:
>>>
>>> Hello guys, need some help from you.
>>>
>>> Did a new build (0.5 branch) this afternoon and started zeppelin on port
>>> 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
>>> Web-socket server should have started on 8002 but it didn't. Chrome
>>> browser is displaying following error in console.
>>>
>>> *WebSocket connection to
>>> 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' failed: Error during
>>> WebSocket handshake: Unexpected response code: 403*
>>>
>>> Checked for ports using netstat:
>>>
>>> tcp 0 0 0.0.0.0:80 <http://0.0.0.0/>
>>> 0.0.0.0:* LISTEN
>>> tcp 0 0 :::8080 :::*
>>> LISTEN
>>> tcp 0 0 :::8081 :::*
>>> LISTEN
>>> tcp 0 0 :::8082 :::*
>>> LISTEN
>>> tcp 0 0 :::8083 :::*
>>> LISTEN
>>> tcp 0 0 :::8001 :::*
>>> LISTEN
>>>
>>> I don’t see port 8002 here. No help from the logs.
>>>
>>> No issues with the previous version of zeppelin. Port 8002 was active
>>> and listening.
>>> tcp 0 0 :::8080 :::*
>>> LISTEN
>>> tcp 0 0 :::8081 :::*
>>> LISTEN
>>> tcp 0 0 :::8082 :::*
>>> LISTEN
>>> tcp 0 0 :::8083 :::*
>>> LISTEN
>>> tcp 0 0 :::8001 :::*
>>> LISTEN
>>> tcp 0 0 :::8002 :::*
>>> LISTEN
>>>
>>>
>>>
>>
Re: Did new build and web sockets are not working anymore
Posted by IT CTO <go...@gmail.com>.
sorry, I had a local problem which is not related to here.
Eran
On Thu, Aug 20, 2015 at 7:41 PM IT CTO <go...@gmail.com> wrote:
> Hi,
> I also got the latest code today and build it successfully but keep
> getting connection refused.
> I applied PR 231 build again but still can't connect to the server.
> Any ideas?
> Eran
>
> On Thu, Aug 20, 2015 at 6:48 PM Jitender Aswani <
> jitender@sparklinedata.com> wrote:
>
>> I couldn’t apply the patch. I guess I am going to wait for this error to
>> be fixed (looks like today it being pulled into the main trunk).
>> Appreciate the help. This error is annoying for older users of Zeppelin on
>> AWS.
>>
>> Cheers!
>>
>> On Aug 19, 2015, at 6:03 PM, Corneau Damien <co...@gmail.com> wrote:
>>
>> This is a known issue, and I think it is being handled here:
>> https://issues.apache.org/jira/browse/ZEPPELIN-231
>> On Aug 20, 2015 9:09 AM, "Chad Timmins" <ct...@trulia.com> wrote:
>>
>>> Hi,
>>>
>>> I had the same thing happen to me this morning and get the same exact
>>> error. Did you figure this out?
>>>
>>> From: Jitender Aswani <ji...@sparklinedata.com>
>>> Reply-To: "users@zeppelin.incubator.apache.org" <
>>> users@zeppelin.incubator.apache.org>
>>> Date: Wednesday, August 19, 2015 at 2:02 PM
>>> To: "users@zeppelin.incubator.apache.org" <
>>> users@zeppelin.incubator.apache.org>
>>> Subject: Re: Did new build and web sockets are not working anymore
>>>
>>> I am guessing that web sockets don’t run on a separate port anymore. I
>>> took out nginx and now directly connecting to zeppelin which is running
>>> fine on port 8001. I see this error in the chrome browser -
>>>
>>> WebSocket connection to 'ws://ec2-197.compute-1.amazonaws.com:8001/ws'
>>> failed: Error during WebSocket handshake: Unexpected response code: 403
>>>
>>> Any clues anyone?
>>>
>>> Best,
>>> Jitender
>>>
>>> On Aug 19, 2015, at 1:16 PM, Jitender Aswani <ji...@sparklinedata.com>
>>> wrote:
>>>
>>> Hello guys, need some help from you.
>>>
>>> Did a new build (0.5 branch) this afternoon and started zeppelin on port
>>> 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
>>> Web-socket server should have started on 8002 but it didn't. Chrome
>>> browser is displaying following error in console.
>>>
>>> *WebSocket connection to
>>> 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' failed: Error during
>>> WebSocket handshake: Unexpected response code: 403*
>>>
>>> Checked for ports using netstat:
>>>
>>> tcp 0 0 0.0.0.0:80 <http://0.0.0.0/>
>>> 0.0.0.0:* LISTEN
>>> tcp 0 0 :::8080 :::*
>>> LISTEN
>>> tcp 0 0 :::8081 :::*
>>> LISTEN
>>> tcp 0 0 :::8082 :::*
>>> LISTEN
>>> tcp 0 0 :::8083 :::*
>>> LISTEN
>>> tcp 0 0 :::8001 :::*
>>> LISTEN
>>>
>>> I don’t see port 8002 here. No help from the logs.
>>>
>>> No issues with the previous version of zeppelin. Port 8002 was active
>>> and listening.
>>> tcp 0 0 :::8080 :::*
>>> LISTEN
>>> tcp 0 0 :::8081 :::*
>>> LISTEN
>>> tcp 0 0 :::8082 :::*
>>> LISTEN
>>> tcp 0 0 :::8083 :::*
>>> LISTEN
>>> tcp 0 0 :::8001 :::*
>>> LISTEN
>>> tcp 0 0 :::8002 :::*
>>> LISTEN
>>>
>>>
>>>
>>
Re: Did new build and web sockets are not working anymore
Posted by Joel Zambrano <dj...@gmail.com>.
The fix is still under review but it's almost done.
Thanks,
Joel
> On Aug 20, 2015, at 9:41 AM, IT CTO <go...@gmail.com> wrote:
>
> Hi,
> I also got the latest code today and build it successfully but keep getting
> connection refused.
> I applied PR 231 build again but still can't connect to the server.
> Any ideas?
> Eran
>
> On Thu, Aug 20, 2015 at 6:48 PM Jitender Aswani <ji...@sparklinedata.com>
> wrote:
>
>> I couldn’t apply the patch. I guess I am going to wait for this error to
>> be fixed (looks like today it being pulled into the main trunk).
>> Appreciate the help. This error is annoying for older users of Zeppelin on
>> AWS.
>>
>> Cheers!
>>
>> On Aug 19, 2015, at 6:03 PM, Corneau Damien <co...@gmail.com> wrote:
>>
>> This is a known issue, and I think it is being handled here:
>> https://issues.apache.org/jira/browse/ZEPPELIN-231
>>> On Aug 20, 2015 9:09 AM, "Chad Timmins" <ct...@trulia.com> wrote:
>>>
>>> Hi,
>>>
>>> I had the same thing happen to me this morning and get the same exact
>>> error. Did you figure this out?
>>>
>>> From: Jitender Aswani <ji...@sparklinedata.com>
>>> Reply-To: "users@zeppelin.incubator.apache.org" <
>>> users@zeppelin.incubator.apache.org>
>>> Date: Wednesday, August 19, 2015 at 2:02 PM
>>> To: "users@zeppelin.incubator.apache.org" <
>>> users@zeppelin.incubator.apache.org>
>>> Subject: Re: Did new build and web sockets are not working anymore
>>>
>>> I am guessing that web sockets don’t run on a separate port anymore. I
>>> took out nginx and now directly connecting to zeppelin which is running
>>> fine on port 8001. I see this error in the chrome browser -
>>>
>>> WebSocket connection to 'ws://ec2-197.compute-1.amazonaws.com:8001/ws'
>>> failed: Error during WebSocket handshake: Unexpected response code: 403
>>>
>>> Any clues anyone?
>>>
>>> Best,
>>> Jitender
>>>
>>> On Aug 19, 2015, at 1:16 PM, Jitender Aswani <ji...@sparklinedata.com>
>>> wrote:
>>>
>>> Hello guys, need some help from you.
>>>
>>> Did a new build (0.5 branch) this afternoon and started zeppelin on port
>>> 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
>>> Web-socket server should have started on 8002 but it didn't. Chrome
>>> browser is displaying following error in console.
>>>
>>> *WebSocket connection to
>>> 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' failed: Error during
>>> WebSocket handshake: Unexpected response code: 403*
>>>
>>> Checked for ports using netstat:
>>>
>>> tcp 0 0 0.0.0.0:80 <http://0.0.0.0/>
>>> 0.0.0.0:* LISTEN
>>> tcp 0 0 :::8080 :::*
>>> LISTEN
>>> tcp 0 0 :::8081 :::*
>>> LISTEN
>>> tcp 0 0 :::8082 :::*
>>> LISTEN
>>> tcp 0 0 :::8083 :::*
>>> LISTEN
>>> tcp 0 0 :::8001 :::*
>>> LISTEN
>>>
>>> I don’t see port 8002 here. No help from the logs.
>>>
>>> No issues with the previous version of zeppelin. Port 8002 was active and
>>> listening.
>>> tcp 0 0 :::8080 :::*
>>> LISTEN
>>> tcp 0 0 :::8081 :::*
>>> LISTEN
>>> tcp 0 0 :::8082 :::*
>>> LISTEN
>>> tcp 0 0 :::8083 :::*
>>> LISTEN
>>> tcp 0 0 :::8001 :::*
>>> LISTEN
>>> tcp 0 0 :::8002 :::*
>>> LISTEN
>>
Re: Did new build and web sockets are not working anymore
Posted by IT CTO <go...@gmail.com>.
Hi,
I also got the latest code today and build it successfully but keep getting
connection refused.
I applied PR 231 build again but still can't connect to the server.
Any ideas?
Eran
On Thu, Aug 20, 2015 at 6:48 PM Jitender Aswani <ji...@sparklinedata.com>
wrote:
> I couldn’t apply the patch. I guess I am going to wait for this error to
> be fixed (looks like today it being pulled into the main trunk).
> Appreciate the help. This error is annoying for older users of Zeppelin on
> AWS.
>
> Cheers!
>
> On Aug 19, 2015, at 6:03 PM, Corneau Damien <co...@gmail.com> wrote:
>
> This is a known issue, and I think it is being handled here:
> https://issues.apache.org/jira/browse/ZEPPELIN-231
> On Aug 20, 2015 9:09 AM, "Chad Timmins" <ct...@trulia.com> wrote:
>
>> Hi,
>>
>> I had the same thing happen to me this morning and get the same exact
>> error. Did you figure this out?
>>
>> From: Jitender Aswani <ji...@sparklinedata.com>
>> Reply-To: "users@zeppelin.incubator.apache.org" <
>> users@zeppelin.incubator.apache.org>
>> Date: Wednesday, August 19, 2015 at 2:02 PM
>> To: "users@zeppelin.incubator.apache.org" <
>> users@zeppelin.incubator.apache.org>
>> Subject: Re: Did new build and web sockets are not working anymore
>>
>> I am guessing that web sockets don’t run on a separate port anymore. I
>> took out nginx and now directly connecting to zeppelin which is running
>> fine on port 8001. I see this error in the chrome browser -
>>
>> WebSocket connection to 'ws://ec2-197.compute-1.amazonaws.com:8001/ws'
>> failed: Error during WebSocket handshake: Unexpected response code: 403
>>
>> Any clues anyone?
>>
>> Best,
>> Jitender
>>
>> On Aug 19, 2015, at 1:16 PM, Jitender Aswani <ji...@sparklinedata.com>
>> wrote:
>>
>> Hello guys, need some help from you.
>>
>> Did a new build (0.5 branch) this afternoon and started zeppelin on port
>> 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
>> Web-socket server should have started on 8002 but it didn't. Chrome
>> browser is displaying following error in console.
>>
>> *WebSocket connection to
>> 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' failed: Error during
>> WebSocket handshake: Unexpected response code: 403*
>>
>> Checked for ports using netstat:
>>
>> tcp 0 0 0.0.0.0:80 <http://0.0.0.0/>
>> 0.0.0.0:* LISTEN
>> tcp 0 0 :::8080 :::*
>> LISTEN
>> tcp 0 0 :::8081 :::*
>> LISTEN
>> tcp 0 0 :::8082 :::*
>> LISTEN
>> tcp 0 0 :::8083 :::*
>> LISTEN
>> tcp 0 0 :::8001 :::*
>> LISTEN
>>
>> I don’t see port 8002 here. No help from the logs.
>>
>> No issues with the previous version of zeppelin. Port 8002 was active and
>> listening.
>> tcp 0 0 :::8080 :::*
>> LISTEN
>> tcp 0 0 :::8081 :::*
>> LISTEN
>> tcp 0 0 :::8082 :::*
>> LISTEN
>> tcp 0 0 :::8083 :::*
>> LISTEN
>> tcp 0 0 :::8001 :::*
>> LISTEN
>> tcp 0 0 :::8002 :::*
>> LISTEN
>>
>>
>>
>
Re: Did new build and web sockets are not working anymore
Posted by IT CTO <go...@gmail.com>.
Hi,
I also got the latest code today and build it successfully but keep getting
connection refused.
I applied PR 231 build again but still can't connect to the server.
Any ideas?
Eran
On Thu, Aug 20, 2015 at 6:48 PM Jitender Aswani <ji...@sparklinedata.com>
wrote:
> I couldn’t apply the patch. I guess I am going to wait for this error to
> be fixed (looks like today it being pulled into the main trunk).
> Appreciate the help. This error is annoying for older users of Zeppelin on
> AWS.
>
> Cheers!
>
> On Aug 19, 2015, at 6:03 PM, Corneau Damien <co...@gmail.com> wrote:
>
> This is a known issue, and I think it is being handled here:
> https://issues.apache.org/jira/browse/ZEPPELIN-231
> On Aug 20, 2015 9:09 AM, "Chad Timmins" <ct...@trulia.com> wrote:
>
>> Hi,
>>
>> I had the same thing happen to me this morning and get the same exact
>> error. Did you figure this out?
>>
>> From: Jitender Aswani <ji...@sparklinedata.com>
>> Reply-To: "users@zeppelin.incubator.apache.org" <
>> users@zeppelin.incubator.apache.org>
>> Date: Wednesday, August 19, 2015 at 2:02 PM
>> To: "users@zeppelin.incubator.apache.org" <
>> users@zeppelin.incubator.apache.org>
>> Subject: Re: Did new build and web sockets are not working anymore
>>
>> I am guessing that web sockets don’t run on a separate port anymore. I
>> took out nginx and now directly connecting to zeppelin which is running
>> fine on port 8001. I see this error in the chrome browser -
>>
>> WebSocket connection to 'ws://ec2-197.compute-1.amazonaws.com:8001/ws'
>> failed: Error during WebSocket handshake: Unexpected response code: 403
>>
>> Any clues anyone?
>>
>> Best,
>> Jitender
>>
>> On Aug 19, 2015, at 1:16 PM, Jitender Aswani <ji...@sparklinedata.com>
>> wrote:
>>
>> Hello guys, need some help from you.
>>
>> Did a new build (0.5 branch) this afternoon and started zeppelin on port
>> 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
>> Web-socket server should have started on 8002 but it didn't. Chrome
>> browser is displaying following error in console.
>>
>> *WebSocket connection to
>> 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' failed: Error during
>> WebSocket handshake: Unexpected response code: 403*
>>
>> Checked for ports using netstat:
>>
>> tcp 0 0 0.0.0.0:80 <http://0.0.0.0/>
>> 0.0.0.0:* LISTEN
>> tcp 0 0 :::8080 :::*
>> LISTEN
>> tcp 0 0 :::8081 :::*
>> LISTEN
>> tcp 0 0 :::8082 :::*
>> LISTEN
>> tcp 0 0 :::8083 :::*
>> LISTEN
>> tcp 0 0 :::8001 :::*
>> LISTEN
>>
>> I don’t see port 8002 here. No help from the logs.
>>
>> No issues with the previous version of zeppelin. Port 8002 was active and
>> listening.
>> tcp 0 0 :::8080 :::*
>> LISTEN
>> tcp 0 0 :::8081 :::*
>> LISTEN
>> tcp 0 0 :::8082 :::*
>> LISTEN
>> tcp 0 0 :::8083 :::*
>> LISTEN
>> tcp 0 0 :::8001 :::*
>> LISTEN
>> tcp 0 0 :::8002 :::*
>> LISTEN
>>
>>
>>
>
Re: Did new build and web sockets are not working anymore
Posted by Jitender Aswani <ji...@sparklinedata.com>.
I couldn’t apply the patch. I guess I am going to wait for this error to be fixed (looks like today it being pulled into the main trunk). Appreciate the help. This error is annoying for older users of Zeppelin on AWS.
Cheers!
> On Aug 19, 2015, at 6:03 PM, Corneau Damien <co...@gmail.com> wrote:
>
> This is a known issue, and I think it is being handled here: https://issues.apache.org/jira/browse/ZEPPELIN-231 <https://issues.apache.org/jira/browse/ZEPPELIN-231>
> On Aug 20, 2015 9:09 AM, "Chad Timmins" <ctimmins@trulia.com <ma...@trulia.com>> wrote:
> Hi,
>
> I had the same thing happen to me this morning and get the same exact error. Did you figure this out?
>
> From: Jitender Aswani <jitender@sparklinedata.com <ma...@sparklinedata.com>>
> Reply-To: "users@zeppelin.incubator.apache.org <ma...@zeppelin.incubator.apache.org>" <users@zeppelin.incubator.apache.org <ma...@zeppelin.incubator.apache.org>>
> Date: Wednesday, August 19, 2015 at 2:02 PM
> To: "users@zeppelin.incubator.apache.org <ma...@zeppelin.incubator.apache.org>" <users@zeppelin.incubator.apache.org <ma...@zeppelin.incubator.apache.org>>
> Subject: Re: Did new build and web sockets are not working anymore
>
> I am guessing that web sockets don’t run on a separate port anymore. I took out nginx and now directly connecting to zeppelin which is running fine on port 8001. I see this error in the chrome browser -
>
> WebSocket connection to 'ws://ec2-197.compute-1.amazonaws.com:8001/ws' <> failed: Error during WebSocket handshake: Unexpected response code: 403
>
> Any clues anyone?
>
> Best,
> Jitender
>
>> On Aug 19, 2015, at 1:16 PM, Jitender Aswani <jitender@sparklinedata.com <ma...@sparklinedata.com>> wrote:
>>
>> Hello guys, need some help from you.
>>
>> Did a new build (0.5 branch) this afternoon and started zeppelin on port 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
>> Web-socket server should have started on 8002 but it didn't. Chrome browser is displaying following error in console.
>>
>> WebSocket connection to 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' <> failed: Error during WebSocket handshake: Unexpected response code: 403
>>
>> Checked for ports using netstat:
>>
>> tcp 0 0 0.0.0.0:80 <http://0.0.0.0/> 0.0.0.0:* LISTEN
>> tcp 0 0 :::8080 :::* LISTEN
>> tcp 0 0 :::8081 :::* LISTEN
>> tcp 0 0 :::8082 :::* LISTEN
>> tcp 0 0 :::8083 :::* LISTEN
>> tcp 0 0 :::8001 :::* LISTEN
>>
>> I don’t see port 8002 here. No help from the logs.
>>
>> No issues with the previous version of zeppelin. Port 8002 was active and listening.
>> tcp 0 0 :::8080 :::* LISTEN
>> tcp 0 0 :::8081 :::* LISTEN
>> tcp 0 0 :::8082 :::* LISTEN
>> tcp 0 0 :::8083 :::* LISTEN
>> tcp 0 0 :::8001 :::* LISTEN
>> tcp 0 0 :::8002 :::* LISTEN
>>
>
Re: Did new build and web sockets are not working anymore
Posted by Corneau Damien <co...@gmail.com>.
This is a known issue, and I think it is being handled here:
https://issues.apache.org/jira/browse/ZEPPELIN-231
On Aug 20, 2015 9:09 AM, "Chad Timmins" <ct...@trulia.com> wrote:
> Hi,
>
> I had the same thing happen to me this morning and get the same exact
> error. Did you figure this out?
>
> From: Jitender Aswani <ji...@sparklinedata.com>
> Reply-To: "users@zeppelin.incubator.apache.org" <
> users@zeppelin.incubator.apache.org>
> Date: Wednesday, August 19, 2015 at 2:02 PM
> To: "users@zeppelin.incubator.apache.org" <
> users@zeppelin.incubator.apache.org>
> Subject: Re: Did new build and web sockets are not working anymore
>
> I am guessing that web sockets don’t run on a separate port anymore. I
> took out nginx and now directly connecting to zeppelin which is running
> fine on port 8001. I see this error in the chrome browser -
>
> WebSocket connection to 'ws://ec2-197.compute-1.amazonaws.com:8001/ws'
> failed: Error during WebSocket handshake: Unexpected response code: 403
>
> Any clues anyone?
>
> Best,
> Jitender
>
> On Aug 19, 2015, at 1:16 PM, Jitender Aswani <ji...@sparklinedata.com>
> wrote:
>
> Hello guys, need some help from you.
>
> Did a new build (0.5 branch) this afternoon and started zeppelin on port
> 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
> Web-socket server should have started on 8002 but it didn't. Chrome
> browser is displaying following error in console.
>
> *WebSocket connection to
> 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' failed: Error during
> WebSocket handshake: Unexpected response code: 403*
>
> Checked for ports using netstat:
>
> tcp 0 0 0.0.0.0:80 0.0.0.0:*
> LISTEN
> tcp 0 0 :::8080 :::*
> LISTEN
> tcp 0 0 :::8081 :::*
> LISTEN
> tcp 0 0 :::8082 :::*
> LISTEN
> tcp 0 0 :::8083 :::*
> LISTEN
> tcp 0 0 :::8001 :::*
> LISTEN
>
> I don’t see port 8002 here. No help from the logs.
>
> No issues with the previous version of zeppelin. Port 8002 was active and
> listening.
> tcp 0 0 :::8080 :::*
> LISTEN
> tcp 0 0 :::8081 :::*
> LISTEN
> tcp 0 0 :::8082 :::*
> LISTEN
> tcp 0 0 :::8083 :::*
> LISTEN
> tcp 0 0 :::8001 :::*
> LISTEN
> tcp 0 0 :::8002 :::*
> LISTEN
>
>
>
Re: Did new build and web sockets are not working anymore
Posted by Chad Timmins <ct...@trulia.com>.
Hi,
I had the same thing happen to me this morning and get the same exact error. Did you figure this out?
From: Jitender Aswani <ji...@sparklinedata.com>>
Reply-To: "users@zeppelin.incubator.apache.org<ma...@zeppelin.incubator.apache.org>" <us...@zeppelin.incubator.apache.org>>
Date: Wednesday, August 19, 2015 at 2:02 PM
To: "users@zeppelin.incubator.apache.org<ma...@zeppelin.incubator.apache.org>" <us...@zeppelin.incubator.apache.org>>
Subject: Re: Did new build and web sockets are not working anymore
I am guessing that web sockets don't run on a separate port anymore. I took out nginx and now directly connecting to zeppelin which is running fine on port 8001. I see this error in the chrome browser -
WebSocket connection to 'ws://ec2-197.compute-1.amazonaws.com:8001/ws' failed: Error during WebSocket handshake: Unexpected response code: 403
Any clues anyone?
Best,
Jitender
On Aug 19, 2015, at 1:16 PM, Jitender Aswani <ji...@sparklinedata.com>> wrote:
Hello guys, need some help from you.
Did a new build (0.5 branch) this afternoon and started zeppelin on port 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
Web-socket server should have started on 8002 but it didn't. Chrome browser is displaying following error in console.
WebSocket connection to 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' failed: Error during WebSocket handshake: Unexpected response code: 403
Checked for ports using netstat:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 :::8080 :::* LISTEN
tcp 0 0 :::8081 :::* LISTEN
tcp 0 0 :::8082 :::* LISTEN
tcp 0 0 :::8083 :::* LISTEN
tcp 0 0 :::8001 :::* LISTEN
I don't see port 8002 here. No help from the logs.
No issues with the previous version of zeppelin. Port 8002 was active and listening.
tcp 0 0 :::8080 :::* LISTEN
tcp 0 0 :::8081 :::* LISTEN
tcp 0 0 :::8082 :::* LISTEN
tcp 0 0 :::8083 :::* LISTEN
tcp 0 0 :::8001 :::* LISTEN
tcp 0 0 :::8002 :::* LISTEN
Re: Did new build and web sockets are not working anymore
Posted by Jitender Aswani <ji...@sparklinedata.com>.
I am guessing that web sockets don’t run on a separate port anymore. I took out nginx and now directly connecting to zeppelin which is running fine on port 8001. I see this error in the chrome browser -
WebSocket connection to 'ws://ec2-197.compute-1.amazonaws.com:8001/ws' failed: Error during WebSocket handshake: Unexpected response code: 403
Any clues anyone?
Best,
Jitender
> On Aug 19, 2015, at 1:16 PM, Jitender Aswani <ji...@sparklinedata.com> wrote:
>
> Hello guys, need some help from you.
>
> Did a new build (0.5 branch) this afternoon and started zeppelin on port 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
> Web-socket server should have started on 8002 but it didn't. Chrome browser is displaying following error in console.
>
> WebSocket connection to 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' <ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws'> failed: Error during WebSocket handshake: Unexpected response code: 403
>
> Checked for ports using netstat:
>
> tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
> tcp 0 0 :::8080 :::* LISTEN
> tcp 0 0 :::8081 :::* LISTEN
> tcp 0 0 :::8082 :::* LISTEN
> tcp 0 0 :::8083 :::* LISTEN
> tcp 0 0 :::8001 :::* LISTEN
>
> I don’t see port 8002 here. No help from the logs.
>
> No issues with the previous version of zeppelin. Port 8002 was active and listening.
> tcp 0 0 :::8080 :::* LISTEN
> tcp 0 0 :::8081 :::* LISTEN
> tcp 0 0 :::8082 :::* LISTEN
> tcp 0 0 :::8083 :::* LISTEN
> tcp 0 0 :::8001 :::* LISTEN
> tcp 0 0 :::8002 :::* LISTEN
>
Did new build and web sockets are not working anymore
Posted by Jitender Aswani <ji...@sparklinedata.com>.
Hello guys, need some help from you.
Did a new build (0.5 branch) this afternoon and started zeppelin on port 8001 using export ZEPPELIN_PORT=8001 in zeppelin-env.sh file.
Web-socket server should have started on 8002 but it didn't. Chrome browser is displaying following error in console.
WebSocket connection to 'ws://ec2-52-4-253-197.compute-1.amazonaws.com/ws' failed: Error during WebSocket handshake: Unexpected response code: 403
Checked for ports using netstat:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 :::8080 :::* LISTEN
tcp 0 0 :::8081 :::* LISTEN
tcp 0 0 :::8082 :::* LISTEN
tcp 0 0 :::8083 :::* LISTEN
tcp 0 0 :::8001 :::* LISTEN
I don’t see port 8002 here. No help from the logs.
No issues with the previous version of zeppelin. Port 8002 was active and listening.
tcp 0 0 :::8080 :::* LISTEN
tcp 0 0 :::8081 :::* LISTEN
tcp 0 0 :::8082 :::* LISTEN
tcp 0 0 :::8083 :::* LISTEN
tcp 0 0 :::8001 :::* LISTEN
tcp 0 0 :::8002 :::* LISTEN
Re: How to hide interpreter log from each para in the notebook
Posted by moon soo Lee <mo...@apache.org>.
Hi Jitender,
You can try wrap your codes with '{', '}'.
That would help.
Best,
moon
On Wed, Aug 19, 2015 at 12:42 PM Jitender Aswani <ji...@sparklinedata.com>
wrote:
> Thanks bud. I have been using %table as output format for charting. I
> guess I can use %html for non charting paras to avoid long list of logs
> getting printed.
>
> Best,
> Jitender
>
> On Aug 19, 2015, at 12:38 PM, IT CTO <go...@gmail.com> wrote:
>
> It is a trick but should work, if you output the result to an %html or
> %table you will not see the prev log lines.
> E.g.
> Println("%table" + rdd.count )
>
> בתאריך יום ד׳, 19 באוג׳ 2015, 22:28 מאת Jitender Aswani <
> jitender@sparklinedata.com>:
>
>> Hello,
>>
>> Unable to figure out how to disable the interpreter log that gets printed
>> in each notebook cell before the actual output. Any pointers?
>>
>> Here is an example of the interpreter log for spark. The last line is the
>> actual output.
>>
>> import org.apache.spark.sql.{SQLContext, DataFrame} clicksS3Bucket:
>> String = s3n://yadi/yado impressionsS3Bucket: String = s3n://yadi/yado
>> clicksDF: org.apache.spark.sql.DataFrame = [hr: string, dt: string, ts:
>> bigint, uuid: bigint...]
>> Count for pixels data is 96419
>>
>> Best,
>> Jitender
>>
>>
>>
>
Re: How to hide interpreter log from each para in the notebook
Posted by Jitender Aswani <ji...@sparklinedata.com>.
Thanks bud. I have been using %table as output format for charting. I guess I can use %html for non charting paras to avoid long list of logs getting printed.
Best,
Jitender
> On Aug 19, 2015, at 12:38 PM, IT CTO <go...@gmail.com> wrote:
>
> It is a trick but should work, if you output the result to an %html or %table you will not see the prev log lines.
> E.g.
> Println("%table" + rdd.count )
>
>
> בתאריך יום ד׳, 19 באוג׳ 2015, 22:28 מאת Jitender Aswani <jitender@sparklinedata.com <ma...@sparklinedata.com>>:
> Hello,
>
> Unable to figure out how to disable the interpreter log that gets printed in each notebook cell before the actual output. Any pointers?
>
> Here is an example of the interpreter log for spark. The last line is the actual output.
>
> import org.apache.spark.sql.{SQLContext, DataFrame}
> clicksS3Bucket: String = s3n://yadi/yado
> impressionsS3Bucket: String = s3n://yadi/yado
> clicksDF: org.apache.spark.sql.DataFrame = [hr: string, dt: string, ts: bigint, uuid: bigint...]
> Count for pixels data is 96419
>
> Best,
> Jitender
>
>
Re: How to hide interpreter log from each para in the notebook
Posted by IT CTO <go...@gmail.com>.
It is a trick but should work, if you output the result to an %html or
%table you will not see the prev log lines.
E.g.
Println("%table" + rdd.count )
בתאריך יום ד׳, 19 באוג׳ 2015, 22:28 מאת Jitender Aswani <
jitender@sparklinedata.com>:
> Hello,
>
> Unable to figure out how to disable the interpreter log that gets printed
> in each notebook cell before the actual output. Any pointers?
>
> Here is an example of the interpreter log for spark. The last line is the
> actual output.
>
> import org.apache.spark.sql.{SQLContext, DataFrame} clicksS3Bucket: String
> = s3n://yadi/yado impressionsS3Bucket: String = s3n://yadi/yado clicksDF:
> org.apache.spark.sql.DataFrame = [hr: string, dt: string, ts: bigint, uuid:
> bigint...]
> Count for pixels data is 96419
>
> Best,
> Jitender
>
>
>