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, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[email protected]> 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, ÐΞ€ρ@Ҝ (๏̯͡๏) <[email protected]> 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, ÐΞ€ρ@Ҝ (๏̯͡๏) <[email protected]>
>> 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 <[email protected]>
>>> wrote:
>>>
>>>> No 'grunt serve', no console.log
>>>> On Oct 2, 2015 5:59 AM, "ÐΞ€ρ@Ҝ (๏̯͡๏)" <[email protected]> wrote:
>>>>
>>>>> Cant see log statements for zeppelin tutorial notebook.
>>>>>
>>>>> On Thu, Oct 1, 2015 at 1:47 PM, ÐΞ€ρ@Ҝ (๏̯͡๏) <[email protected]>
>>>>> 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 via email to