2017-02-24 115 views
1

我正在使用Zeppelin 0.70。我可以從git源碼構建zeppelin。當我試圖通過使用下面的命令在該端口8000上啓動zeppelin時,它工作良好。Zeppelin斷開狀態錯誤

./zeppelin-daemon開始

enter image description here

但經過繁重的服務端口9000上的命令,它不會工作,但它開始很好,它表明網絡插座相連接錯誤。

[[email protected] 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 16 files 

    Done, without errors. 


    Execution Time (2017-02-24 05:51:45 UTC) 
    loading tasks 277ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 91% 
    copy:styles  28ms ▇▇▇▇▇ 9% 
    Total 305ms 

Running "postcss:dist" (postcss) task 
>> 16 processed stylesheets created. 

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

Running "watch" task 
Waiting... 

enter image description here 我登錄控制檯;

XMLHttpRequest cannot load http://localhost:8080/api/security/ticket. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9000' is therefore not allowed access. The response had HTTP status code 404. 

我在哪裏可以改變8080到8000

請告訴我,我該如何解決這個問題。

回答

0

我覺得grunt被替換爲npm在0.7發佈,那麼你可以試試npm run dev命令嗎?

更新:與ZEPPELIN-2154相關的問題持續存在。爲了解決您的問題,您可以刪除here中的012行,並將其替換爲port = 8000;作爲源代碼。它可能是臨時修復,直到提交修補程序以使其可配置。

+0

對不起,它不會工作。 –

+0

你可以告訴提交的散列或它是否是0.7.0發佈源代碼 –

+0

請找到我更新的帖子。我登錄了Web控制檯。它試圖連接8080,但zeppelin運行8000.如何將此端口從8080更改爲8000./grunt serve命令 –