Still no consol.log (Zeppelin - Web)

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Still no consol.log (Zeppelin - Web)

ÐΞ€ρ@Ҝ (๏̯͡๏)
I checkout latest code and including console.log statements only (attached diff). I rendered the graphs and still do not see console.log statements on browser.

Can someone suggest something. Its impossible to develop without it.

-Deepak

Grunt setup is still failing (other thread is open)
--
Deepak


console.diff (5K) Download Attachment
Screen Shot 2015-10-01 at 1.43.28 PM.png (301K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Still no consol.log (Zeppelin - Web)

ÐΞ€ρ@Ҝ (๏̯͡๏)
Cant see log statements for zeppelin tutorial notebook.

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
I checkout latest code and including console.log statements only (attached diff). I rendered the graphs and still do not see console.log statements on browser.

Can someone suggest something. Its impossible to develop without it.

-Deepak

Grunt setup is still failing (other thread is open)
--
Deepak




--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Still no consol.log (Zeppelin - Web)

Corneau Damien

No 'grunt serve', no console.log

On Oct 2, 2015 5:59 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Cant see log statements for zeppelin tutorial notebook.

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
I checkout latest code and including console.log statements only (attached diff). I rendered the graphs and still do not see console.log statements on browser.

Can someone suggest something. Its impossible to develop without it.

-Deepak

Grunt setup is still failing (other thread is open)
--
Deepak




--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Still no consol.log (Zeppelin - Web)

ÐΞ€ρ@Ҝ (๏̯͡๏)
./grunt serve

finally opens up a browser with localhost:9000  it does not allow me to create new note. Each time i click new note, it takes note name and never creates one.


$ ./grunt serve

Running "serve" task


Running "clean:server" (clean) task

Cleaning .tmp...OK


Running "wiredep:app" (wiredep) task


Running "wiredep:test" (wiredep) task


Running "concurrent:server" (concurrent) task

    

    Running "copy:styles" (copy) task

    Copied 7 files

    

    Done, without errors.

    

    

    Execution Time (2015-10-02 18:35:21 UTC)

    loading tasks   3ms  ▇▇▇▇▇▇ 12%

    copy:styles    22ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 88%

    Total 25ms

    

Running "autoprefixer:dist" (autoprefixer) task

File .tmp/styles/custom-font.css created.

File .tmp/styles/font-awesome.min.css created.

File .tmp/styles/home.css created.

File .tmp/styles/interpreter.css created.

File .tmp/styles/notebook.css created.

File .tmp/styles/paragraph.css created.

File .tmp/styles/simple-line-icons.css created.


Running "connect:livereload" (connect) task

Started connect web server on http://localhost:9000


Running "watch" task

Waiting...




On Thu, Oct 1, 2015 at 5:37 PM, Corneau Damien <[hidden email]> wrote:

No 'grunt serve', no console.log

On Oct 2, 2015 5:59 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Cant see log statements for zeppelin tutorial notebook.

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
I checkout latest code and including console.log statements only (attached diff). I rendered the graphs and still do not see console.log statements on browser.

Can someone suggest something. Its impossible to develop without it.

-Deepak

Grunt setup is still failing (other thread is open)
--
Deepak




--
Deepak




--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Still no consol.log (Zeppelin - Web)

ÐΞ€ρ@Ҝ (๏̯͡๏)
On CentOS
=========

1) I modified gruntfile.js from localhost to 0.0.0.0 and started ./grunt server

Running "connect:livereload" (connect) task

Started connect web server on http://0.0.0.0:9000


2)  I also have zeppelin running on the side (port 10008)

This will launch a Zeppelin WebApplication on port 9000 and update on code changes. (You will need to have Zeppelin running on the side)

I can create notebook and interpreter.

3) Zeppelin web on 9000 port is accessible from outside, but is dummy. cannot create notebooks, interpreter is empty  , cannot add interpreter. attached image.

grunt build is success. (even the phantomJS error that is showing up all the time on MAC).

Done, without errors.



Execution Time (2015-10-02 23:31:56 UTC)

concurrent:test    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

karma:unit         2.6s  ▇▇▇▇▇▇▇▇▇ 5%

concurrent:dist    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

ngAnnotate:dist      8s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 16%

uglify:generated  31.2s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 64%

Total 48.6s


[zeppelin@zeppelin-3529 zeppelin-web]$



Which instance will show logs

1) Zeppelin on 9000 (does not have interpreter, notebooks , does not allow me to add notebook/interpreter)

2) Zeppelin on 10008 (has interpreter, notebooks, never shows console.log)






On Fri, Oct 2, 2015 at 11:36 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
./grunt serve

finally opens up a browser with localhost:9000  it does not allow me to create new note. Each time i click new note, it takes note name and never creates one.


$ ./grunt serve

Running "serve" task


Running "clean:server" (clean) task

Cleaning .tmp...OK


Running "wiredep:app" (wiredep) task


Running "wiredep:test" (wiredep) task


Running "concurrent:server" (concurrent) task

    

    Running "copy:styles" (copy) task

    Copied 7 files

    

    Done, without errors.

    

    

    Execution Time (2015-10-02 18:35:21 UTC)

    loading tasks   3ms  ▇▇▇▇▇▇ 12%

    copy:styles    22ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 88%

    Total 25ms

    

Running "autoprefixer:dist" (autoprefixer) task

File .tmp/styles/custom-font.css created.

File .tmp/styles/font-awesome.min.css created.

File .tmp/styles/home.css created.

File .tmp/styles/interpreter.css created.

File .tmp/styles/notebook.css created.

File .tmp/styles/paragraph.css created.

File .tmp/styles/simple-line-icons.css created.


Running "connect:livereload" (connect) task

Started connect web server on http://localhost:9000


Running "watch" task

Waiting...




On Thu, Oct 1, 2015 at 5:37 PM, Corneau Damien <[hidden email]> wrote:

No 'grunt serve', no console.log

On Oct 2, 2015 5:59 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Cant see log statements for zeppelin tutorial notebook.

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
I checkout latest code and including console.log statements only (attached diff). I rendered the graphs and still do not see console.log statements on browser.

Can someone suggest something. Its impossible to develop without it.

-Deepak

Grunt setup is still failing (other thread is open)
--
Deepak




--
Deepak




--
Deepak




--
Deepak


Screen Shot 2015-10-02 at 4.31.00 PM.png (208K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Still no consol.log (Zeppelin - Web)

ÐΞ€ρ@Ҝ (๏̯͡๏)
Zeppelin server is running,.

[zeppelin@zeppelin-3529 zeppelin-web]$ ps -ef | grep zeppelin

zeppelin  1138     1  0 16:25 ?        00:00:08 /usr/src/jdk1.7.0_79//bin/java -Dhdp.version=2.3.1.0-2574 -Dfile.encoding=UTF-8 -Xmx1024m -XX:MaxPermSize=512m -Dzeppelin.log.file=/home/zeppelin/incubator-zeppelin/logs/zeppelin-zeppelin-zeppelin-3529.log -cp :/home/zeppelin/incubator-zeppelin/zeppelin-server/target/lib/*:/home/zeppelin/incubator-zeppelin/zeppelin-zengine/target/lib/*:/home/zeppelin/incubator-zeppelin/zeppelin-interpreter/target/lib/*:/home/zeppelin/incubator-zeppelin/*::/home/zeppelin/incubator-zeppelin/conf:/home/zeppelin/incubator-zeppelin/zeppelin-interpreter/target/classes:/home/zeppelin/incubator-zeppelin/zeppelin-zengine/target/classes:/home/zeppelin/incubator-zeppelin/zeppelin-server/target/classes org.apache.zeppelin.server.ZeppelinServer

root      6652     1  0 Aug03 ?        00:00:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  6652  2 Aug03 ?        1-08:08:01 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

zeppelin  9052 26220  1 16:44 pts/0    00:00:00 ps -ef

zeppelin  9053 26220  0 16:44 pts/0    00:00:00 grep zeppelin

root     26219 24945  0 16:42 pts/0    00:00:00 su - zeppelin

zeppelin 26220 26219  0 16:42 pts/0    00:00:00 -bash

[zeppelin@zeppelin-3529 zeppelin-web]$ 



On Fri, Oct 2, 2015 at 4:34 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
On CentOS
=========

1) I modified gruntfile.js from localhost to 0.0.0.0 and started ./grunt server

Running "connect:livereload" (connect) task

Started connect web server on http://0.0.0.0:9000


2)  I also have zeppelin running on the side (port 10008)

This will launch a Zeppelin WebApplication on port 9000 and update on code changes. (You will need to have Zeppelin running on the side)

I can create notebook and interpreter.

3) Zeppelin web on 9000 port is accessible from outside, but is dummy. cannot create notebooks, interpreter is empty  , cannot add interpreter. attached image.

grunt build is success. (even the phantomJS error that is showing up all the time on MAC).

Done, without errors.



Execution Time (2015-10-02 23:31:56 UTC)

concurrent:test    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

karma:unit         2.6s  ▇▇▇▇▇▇▇▇▇ 5%

concurrent:dist    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

ngAnnotate:dist      8s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 16%

uglify:generated  31.2s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 64%

Total 48.6s


[zeppelin@zeppelin-3529 zeppelin-web]$



Which instance will show logs

1) Zeppelin on 9000 (does not have interpreter, notebooks , does not allow me to add notebook/interpreter)

2) Zeppelin on 10008 (has interpreter, notebooks, never shows console.log)






On Fri, Oct 2, 2015 at 11:36 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
./grunt serve

finally opens up a browser with localhost:9000  it does not allow me to create new note. Each time i click new note, it takes note name and never creates one.


$ ./grunt serve

Running "serve" task


Running "clean:server" (clean) task

Cleaning .tmp...OK


Running "wiredep:app" (wiredep) task


Running "wiredep:test" (wiredep) task


Running "concurrent:server" (concurrent) task

    

    Running "copy:styles" (copy) task

    Copied 7 files

    

    Done, without errors.

    

    

    Execution Time (2015-10-02 18:35:21 UTC)

    loading tasks   3ms  ▇▇▇▇▇▇ 12%

    copy:styles    22ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 88%

    Total 25ms

    

Running "autoprefixer:dist" (autoprefixer) task

File .tmp/styles/custom-font.css created.

File .tmp/styles/font-awesome.min.css created.

File .tmp/styles/home.css created.

File .tmp/styles/interpreter.css created.

File .tmp/styles/notebook.css created.

File .tmp/styles/paragraph.css created.

File .tmp/styles/simple-line-icons.css created.


Running "connect:livereload" (connect) task

Started connect web server on http://localhost:9000


Running "watch" task

Waiting...




On Thu, Oct 1, 2015 at 5:37 PM, Corneau Damien <[hidden email]> wrote:

No 'grunt serve', no console.log

On Oct 2, 2015 5:59 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Cant see log statements for zeppelin tutorial notebook.

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
I checkout latest code and including console.log statements only (attached diff). I rendered the graphs and still do not see console.log statements on browser.

Can someone suggest something. Its impossible to develop without it.

-Deepak

Grunt setup is still failing (other thread is open)
--
Deepak




--
Deepak




--
Deepak




--
Deepak




--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Still no consol.log (Zeppelin - Web)

Corneau Damien

Grunt serve only launches the web part, it uses the original zeppelin server. (Localhost). So you might not want to change the address to 0.0.0.0

On Oct 3, 2015 8:46 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Zeppelin server is running,.

[zeppelin@zeppelin-3529 zeppelin-web]$ ps -ef | grep zeppelin

zeppelin  1138     1  0 16:25 ?        00:00:08 /usr/src/jdk1.7.0_79//bin/java -Dhdp.version=2.3.1.0-2574 -Dfile.encoding=UTF-8 -Xmx1024m -XX:MaxPermSize=512m -Dzeppelin.log.file=/home/zeppelin/incubator-zeppelin/logs/zeppelin-zeppelin-zeppelin-3529.log -cp :/home/zeppelin/incubator-zeppelin/zeppelin-server/target/lib/*:/home/zeppelin/incubator-zeppelin/zeppelin-zengine/target/lib/*:/home/zeppelin/incubator-zeppelin/zeppelin-interpreter/target/lib/*:/home/zeppelin/incubator-zeppelin/*::/home/zeppelin/incubator-zeppelin/conf:/home/zeppelin/incubator-zeppelin/zeppelin-interpreter/target/classes:/home/zeppelin/incubator-zeppelin/zeppelin-zengine/target/classes:/home/zeppelin/incubator-zeppelin/zeppelin-server/target/classes org.apache.zeppelin.server.ZeppelinServer

root      6652     1  0 Aug03 ?        00:00:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  6652  2 Aug03 ?        1-08:08:01 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

zeppelin  9052 26220  1 16:44 pts/0    00:00:00 ps -ef

zeppelin  9053 26220  0 16:44 pts/0    00:00:00 grep zeppelin

root     26219 24945  0 16:42 pts/0    00:00:00 su - zeppelin

zeppelin 26220 26219  0 16:42 pts/0    00:00:00 -bash

[zeppelin@zeppelin-3529 zeppelin-web]$ 



On Fri, Oct 2, 2015 at 4:34 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
On CentOS
=========

1) I modified gruntfile.js from localhost to 0.0.0.0 and started ./grunt server

Running "connect:livereload" (connect) task

Started connect web server on http://0.0.0.0:9000


2)  I also have zeppelin running on the side (port 10008)

This will launch a Zeppelin WebApplication on port 9000 and update on code changes. (You will need to have Zeppelin running on the side)

I can create notebook and interpreter.

3) Zeppelin web on 9000 port is accessible from outside, but is dummy. cannot create notebooks, interpreter is empty  , cannot add interpreter. attached image.

grunt build is success. (even the phantomJS error that is showing up all the time on MAC).

Done, without errors.



Execution Time (2015-10-02 23:31:56 UTC)

concurrent:test    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

karma:unit         2.6s  ▇▇▇▇▇▇▇▇▇ 5%

concurrent:dist    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

ngAnnotate:dist      8s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 16%

uglify:generated  31.2s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 64%

Total 48.6s


[zeppelin@zeppelin-3529 zeppelin-web]$



Which instance will show logs

1) Zeppelin on 9000 (does not have interpreter, notebooks , does not allow me to add notebook/interpreter)

2) Zeppelin on 10008 (has interpreter, notebooks, never shows console.log)






On Fri, Oct 2, 2015 at 11:36 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
./grunt serve

finally opens up a browser with localhost:9000  it does not allow me to create new note. Each time i click new note, it takes note name and never creates one.


$ ./grunt serve

Running "serve" task


Running "clean:server" (clean) task

Cleaning .tmp...OK


Running "wiredep:app" (wiredep) task


Running "wiredep:test" (wiredep) task


Running "concurrent:server" (concurrent) task

    

    Running "copy:styles" (copy) task

    Copied 7 files

    

    Done, without errors.

    

    

    Execution Time (2015-10-02 18:35:21 UTC)

    loading tasks   3ms  ▇▇▇▇▇▇ 12%

    copy:styles    22ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 88%

    Total 25ms

    

Running "autoprefixer:dist" (autoprefixer) task

File .tmp/styles/custom-font.css created.

File .tmp/styles/font-awesome.min.css created.

File .tmp/styles/home.css created.

File .tmp/styles/interpreter.css created.

File .tmp/styles/notebook.css created.

File .tmp/styles/paragraph.css created.

File .tmp/styles/simple-line-icons.css created.


Running "connect:livereload" (connect) task

Started connect web server on http://localhost:9000


Running "watch" task

Waiting...




On Thu, Oct 1, 2015 at 5:37 PM, Corneau Damien <[hidden email]> wrote:

No 'grunt serve', no console.log

On Oct 2, 2015 5:59 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Cant see log statements for zeppelin tutorial notebook.

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
I checkout latest code and including console.log statements only (attached diff). I rendered the graphs and still do not see console.log statements on browser.

Can someone suggest something. Its impossible to develop without it.

-Deepak

Grunt setup is still failing (other thread is open)
--
Deepak




--
Deepak




--
Deepak




--
Deepak




--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Still no consol.log (Zeppelin - Web)

Corneau Damien

Also just to be sure its a typo.
The command is grunt serve, not grunt server

On Oct 3, 2015 9:45 AM, "Corneau Damien" <[hidden email]> wrote:

Grunt serve only launches the web part, it uses the original zeppelin server. (Localhost). So you might not want to change the address to 0.0.0.0

On Oct 3, 2015 8:46 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Zeppelin server is running,.

[zeppelin@zeppelin-3529 zeppelin-web]$ ps -ef | grep zeppelin

zeppelin  1138     1  0 16:25 ?        00:00:08 /usr/src/jdk1.7.0_79//bin/java -Dhdp.version=2.3.1.0-2574 -Dfile.encoding=UTF-8 -Xmx1024m -XX:MaxPermSize=512m -Dzeppelin.log.file=/home/zeppelin/incubator-zeppelin/logs/zeppelin-zeppelin-zeppelin-3529.log -cp :/home/zeppelin/incubator-zeppelin/zeppelin-server/target/lib/*:/home/zeppelin/incubator-zeppelin/zeppelin-zengine/target/lib/*:/home/zeppelin/incubator-zeppelin/zeppelin-interpreter/target/lib/*:/home/zeppelin/incubator-zeppelin/*::/home/zeppelin/incubator-zeppelin/conf:/home/zeppelin/incubator-zeppelin/zeppelin-interpreter/target/classes:/home/zeppelin/incubator-zeppelin/zeppelin-zengine/target/classes:/home/zeppelin/incubator-zeppelin/zeppelin-server/target/classes org.apache.zeppelin.server.ZeppelinServer

root      6652     1  0 Aug03 ?        00:00:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  6652  2 Aug03 ?        1-08:08:01 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

zeppelin  9052 26220  1 16:44 pts/0    00:00:00 ps -ef

zeppelin  9053 26220  0 16:44 pts/0    00:00:00 grep zeppelin

root     26219 24945  0 16:42 pts/0    00:00:00 su - zeppelin

zeppelin 26220 26219  0 16:42 pts/0    00:00:00 -bash

[zeppelin@zeppelin-3529 zeppelin-web]$ 



On Fri, Oct 2, 2015 at 4:34 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
On CentOS
=========

1) I modified gruntfile.js from localhost to 0.0.0.0 and started ./grunt server

Running "connect:livereload" (connect) task

Started connect web server on http://0.0.0.0:9000


2)  I also have zeppelin running on the side (port 10008)

This will launch a Zeppelin WebApplication on port 9000 and update on code changes. (You will need to have Zeppelin running on the side)

I can create notebook and interpreter.

3) Zeppelin web on 9000 port is accessible from outside, but is dummy. cannot create notebooks, interpreter is empty  , cannot add interpreter. attached image.

grunt build is success. (even the phantomJS error that is showing up all the time on MAC).

Done, without errors.



Execution Time (2015-10-02 23:31:56 UTC)

concurrent:test    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

karma:unit         2.6s  ▇▇▇▇▇▇▇▇▇ 5%

concurrent:dist    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

ngAnnotate:dist      8s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 16%

uglify:generated  31.2s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 64%

Total 48.6s


[zeppelin@zeppelin-3529 zeppelin-web]$



Which instance will show logs

1) Zeppelin on 9000 (does not have interpreter, notebooks , does not allow me to add notebook/interpreter)

2) Zeppelin on 10008 (has interpreter, notebooks, never shows console.log)






On Fri, Oct 2, 2015 at 11:36 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
./grunt serve

finally opens up a browser with localhost:9000  it does not allow me to create new note. Each time i click new note, it takes note name and never creates one.


$ ./grunt serve

Running "serve" task


Running "clean:server" (clean) task

Cleaning .tmp...OK


Running "wiredep:app" (wiredep) task


Running "wiredep:test" (wiredep) task


Running "concurrent:server" (concurrent) task

    

    Running "copy:styles" (copy) task

    Copied 7 files

    

    Done, without errors.

    

    

    Execution Time (2015-10-02 18:35:21 UTC)

    loading tasks   3ms  ▇▇▇▇▇▇ 12%

    copy:styles    22ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 88%

    Total 25ms

    

Running "autoprefixer:dist" (autoprefixer) task

File .tmp/styles/custom-font.css created.

File .tmp/styles/font-awesome.min.css created.

File .tmp/styles/home.css created.

File .tmp/styles/interpreter.css created.

File .tmp/styles/notebook.css created.

File .tmp/styles/paragraph.css created.

File .tmp/styles/simple-line-icons.css created.


Running "connect:livereload" (connect) task

Started connect web server on http://localhost:9000


Running "watch" task

Waiting...




On Thu, Oct 1, 2015 at 5:37 PM, Corneau Damien <[hidden email]> wrote:

No 'grunt serve', no console.log

On Oct 2, 2015 5:59 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Cant see log statements for zeppelin tutorial notebook.

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
I checkout latest code and including console.log statements only (attached diff). I rendered the graphs and still do not see console.log statements on browser.

Can someone suggest something. Its impossible to develop without it.

-Deepak

Grunt setup is still failing (other thread is open)
--
Deepak




--
Deepak




--
Deepak




--
Deepak




--
Deepak

Reply | Threaded
Open this post in threaded view
|

Re: Still no consol.log (Zeppelin - Web)

ÐΞ€ρ@Ҝ (๏̯͡๏)
Zeppelin Server
============

[zeppelin@zeppelin-3529 incubator-zeppelin]$ pwd
/home/zeppelin/incubator-zeppelin
[zeppelin@zeppelin-3529 incubator-zeppelin]$ ls
angular  cassandra        DEPLOY.md   docs   hive         kylin    logs      NOTICE   postgresql  run    spark-dependencies  target   zeppelin-distribution  zeppelin-web
a.txt    conf             dev         flink  ignite       lens     markdown  phoenix  README.md   shell  STYLE.md            testing  zeppelin-interpreter   zeppelin-zengine
bin      CONTRIBUTING.md  DISCLAIMER  geode  interpreter  LICENSE  notebook  pom.xml  Roadmap.md  spark  tajo                _tools   zeppelin-server
[zeppelin@zeppelin-3529 incubator-zeppelin]$ ./bin/zeppelin-daemon.sh stop
Zeppelin stop                                              [  OK  ]
[zeppelin@zeppelin-3529 incubator-zeppelin]$ ps -ef | grep zeppelin
root      6652     1  0 Aug03 ?        00:00:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com
root      6660  6652  2 Aug03 ?        1-08:11:01 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com
root      8297  8284  0 17:52 pts/1    00:00:00 su - zeppelin
zeppelin  8298  8297  0 17:52 pts/1    00:00:00 -bash
zeppelin  8345  8298  1 17:53 pts/1    00:00:00 ps -ef
zeppelin  8346  8298  0 17:53 pts/1    00:00:00 grep zeppelin
root     26219 24945  0 16:42 pts/0    00:00:00 su - zeppelin
zeppelin 26220 26219  0 16:42 pts/0    00:00:00 -bash
[zeppelin@zeppelin-3529 incubator-zeppelin]$ rm -rf logs/*
[zeppelin@zeppelin-3529 incubator-zeppelin]$ ./grunt start
-bash: ./grunt: No such file or directory
[zeppelin@zeppelin-3529 incubator-zeppelin]$ ./bin/zeppelin-daemon.sh start
Zeppelin start                                             [  OK  ]
[zeppelin@zeppelin-3529 incubator-zeppelin]$ 


Zeppelin - Web 
============
[zeppelin@zeppelin-3529 incubator-zeppelin]$ git diff zeppelin-web/Gruntfile.js 
diff --git a/zeppelin-web/Gruntfile.js b/zeppelin-web/Gruntfile.js
index e7b857d..ffaab3f 100644
--- a/zeppelin-web/Gruntfile.js
+++ b/zeppelin-web/Gruntfile.js
@@ -107,7 +107,7 @@ module.exports = function (grunt) {
       options: {
         port: 9000,
         // Change this to '0.0.0.0' to access the server from outside.
-        hostname: 'localhost',
+        hostname: '0.0.0.0',
         livereload: 35729
       },
       livereload: {
[zeppelin@zeppelin-3529 incubator-zeppelin]$ cd zeppelin-web/
[zeppelin@zeppelin-3529 zeppelin-web]$ ./grunt serve
Running "serve" task

Running "clean:server" (clean) task
Cleaning .tmp...OK

Running "wiredep:app" (wiredep) task

Running "wiredep:test" (wiredep) task

Running "concurrent:server" (concurrent) task
    
    Running "copy:styles" (copy) task
    Copied 7 files
    
    Done, without errors.
    
    
    Execution Time (2015-10-03 00:54:16 UTC)
    loading tasks   6ms  ▇▇▇▇▇▇▇▇ 15%
    copy:styles    32ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 82%
    Total 39ms
    
Running "autoprefixer:dist" (autoprefixer) task
File .tmp/styles/custom-font.css created.
File .tmp/styles/font-awesome.min.css created.
File .tmp/styles/home.css created.
File .tmp/styles/interpreter.css created.
File .tmp/styles/notebook.css created.
File .tmp/styles/paragraph.css created.
File .tmp/styles/simple-line-icons.css created.

Running "connect:livereload" (connect) task
Started connect web server on http://0.0.0.0:9000

Running "watch" task
Waiting...

This starts zeppelin at http://zeppelin-3529.phx01.dev.ebayc3.com: 9000/#/

1) So now i have two zeppelin instances running and both have web interfaces.

2) If i do not have 0.0.0.0 then i cannot access zeppelin as its running on HOST #1 (CentOS cloud machine) and i have browser on HOST #2 (Mac)

Attached image shows interpreter & notebooks are dead on port 9000

What do i do now ?


On Fri, Oct 2, 2015 at 5:46 PM, Corneau Damien <[hidden email]> wrote:

Also just to be sure its a typo.
The command is grunt serve, not grunt server

On Oct 3, 2015 9:45 AM, "Corneau Damien" <[hidden email]> wrote:

Grunt serve only launches the web part, it uses the original zeppelin server. (Localhost). So you might not want to change the address to 0.0.0.0

On Oct 3, 2015 8:46 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Zeppelin server is running,.

[zeppelin@zeppelin-3529 zeppelin-web]$ ps -ef | grep zeppelin

zeppelin  1138     1  0 16:25 ?        00:00:08 /usr/src/jdk1.7.0_79//bin/java -Dhdp.version=2.3.1.0-2574 -Dfile.encoding=UTF-8 -Xmx1024m -XX:MaxPermSize=512m -Dzeppelin.log.file=/home/zeppelin/incubator-zeppelin/logs/zeppelin-zeppelin-zeppelin-3529.log -cp :/home/zeppelin/incubator-zeppelin/zeppelin-server/target/lib/*:/home/zeppelin/incubator-zeppelin/zeppelin-zengine/target/lib/*:/home/zeppelin/incubator-zeppelin/zeppelin-interpreter/target/lib/*:/home/zeppelin/incubator-zeppelin/*::/home/zeppelin/incubator-zeppelin/conf:/home/zeppelin/incubator-zeppelin/zeppelin-interpreter/target/classes:/home/zeppelin/incubator-zeppelin/zeppelin-zengine/target/classes:/home/zeppelin/incubator-zeppelin/zeppelin-server/target/classes org.apache.zeppelin.server.ZeppelinServer

root      6652     1  0 Aug03 ?        00:00:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

root      6660  6652  2 Aug03 ?        1-08:08:01 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=zeppelin-3529.phx01.dev.ebayc3.com

zeppelin  9052 26220  1 16:44 pts/0    00:00:00 ps -ef

zeppelin  9053 26220  0 16:44 pts/0    00:00:00 grep zeppelin

root     26219 24945  0 16:42 pts/0    00:00:00 su - zeppelin

zeppelin 26220 26219  0 16:42 pts/0    00:00:00 -bash

[zeppelin@zeppelin-3529 zeppelin-web]$ 



On Fri, Oct 2, 2015 at 4:34 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
On CentOS
=========

1) I modified gruntfile.js from localhost to 0.0.0.0 and started ./grunt server

Running "connect:livereload" (connect) task

Started connect web server on http://0.0.0.0:9000


2)  I also have zeppelin running on the side (port 10008)

This will launch a Zeppelin WebApplication on port 9000 and update on code changes. (You will need to have Zeppelin running on the side)

I can create notebook and interpreter.

3) Zeppelin web on 9000 port is accessible from outside, but is dummy. cannot create notebooks, interpreter is empty  , cannot add interpreter. attached image.

grunt build is success. (even the phantomJS error that is showing up all the time on MAC).

Done, without errors.



Execution Time (2015-10-02 23:31:56 UTC)

concurrent:test    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

karma:unit         2.6s  ▇▇▇▇▇▇▇▇▇ 5%

concurrent:dist    2.5s  ▇▇▇▇▇▇▇▇▇ 5%

ngAnnotate:dist      8s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 16%

uglify:generated  31.2s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 64%

Total 48.6s


[zeppelin@zeppelin-3529 zeppelin-web]$



Which instance will show logs

1) Zeppelin on 9000 (does not have interpreter, notebooks , does not allow me to add notebook/interpreter)

2) Zeppelin on 10008 (has interpreter, notebooks, never shows console.log)






On Fri, Oct 2, 2015 at 11:36 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
./grunt serve

finally opens up a browser with localhost:9000  it does not allow me to create new note. Each time i click new note, it takes note name and never creates one.


$ ./grunt serve

Running "serve" task


Running "clean:server" (clean) task

Cleaning .tmp...OK


Running "wiredep:app" (wiredep) task


Running "wiredep:test" (wiredep) task


Running "concurrent:server" (concurrent) task

    

    Running "copy:styles" (copy) task

    Copied 7 files

    

    Done, without errors.

    

    

    Execution Time (2015-10-02 18:35:21 UTC)

    loading tasks   3ms  ▇▇▇▇▇▇ 12%

    copy:styles    22ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 88%

    Total 25ms

    

Running "autoprefixer:dist" (autoprefixer) task

File .tmp/styles/custom-font.css created.

File .tmp/styles/font-awesome.min.css created.

File .tmp/styles/home.css created.

File .tmp/styles/interpreter.css created.

File .tmp/styles/notebook.css created.

File .tmp/styles/paragraph.css created.

File .tmp/styles/simple-line-icons.css created.


Running "connect:livereload" (connect) task

Started connect web server on http://localhost:9000


Running "watch" task

Waiting...




On Thu, Oct 1, 2015 at 5:37 PM, Corneau Damien <[hidden email]> wrote:

No 'grunt serve', no console.log

On Oct 2, 2015 5:59 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[hidden email]> wrote:
Cant see log statements for zeppelin tutorial notebook.

On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[hidden email]> wrote:
I checkout latest code and including console.log statements only (attached diff). I rendered the graphs and still do not see console.log statements on browser.

Can someone suggest something. Its impossible to develop without it.

-Deepak

Grunt setup is still failing (other thread is open)
--
Deepak




--
Deepak




--
Deepak




--
Deepak




--
Deepak




--
Deepak


Screen Shot 2015-10-02 at 5.55.28 PM.png (437K) Download Attachment