Thomas Uhren created ZEPPELIN-4713:
--------------------------------------

             Summary: Unable to get 0.9.0-preview1 working on Windows
                 Key: ZEPPELIN-4713
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4713
             Project: Zeppelin
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Thomas Uhren


What I did:

- download and extract
- copy shiro.ini.template to shiro.ini
- copy zeppelin-env.cmd.template to zeppelin-env.cmd
- copy zeppelin-site.xml.template to zeppelin-site.xml
- put the following in bin\common.cmd in order to startup

set ZEPPELIN_WAR=%ZEPPELIN_HOME%\zeppelin-web-0.9.0-preview1.war
set ZEPPELIN_ANGULAR_WAR=%ZEPPELIN_HOME%\zeppelin-web-angular-0.9.0-preview1.war

- run bin/zeppelin.cmd

Log:
{code}
 INFO [2020-04-01 08:37:52,280] ({main} ZeppelinConfiguration.java[create]:163) 
- Load configuration from 
file:/C:/opt/zeppelin-0.9.0-preview1-bin-all/conf/zeppelin-site.xml
 INFO [2020-04-01 08:37:52,348] ({main} ZeppelinConfiguration.java[create]:171) 
- Server Host: 127.0.0.1
 INFO [2020-04-01 08:37:52,348] ({main} ZeppelinConfiguration.java[create]:173) 
- Server Port: 8080
 INFO [2020-04-01 08:37:52,348] ({main} ZeppelinConfiguration.java[create]:177) 
- Context Path: /
 INFO [2020-04-01 08:37:52,348] ({main} ZeppelinConfiguration.java[create]:178) 
- Zeppelin Version: 0.9.0-preview1
 INFO [2020-04-01 08:37:52,386] ({main} Log.java[initialized]:193) - Logging 
initialized @684ms to org.eclipse.jetty.util.log.Slf4jLog
 WARN [2020-04-01 08:37:52,637] ({main} 
ZeppelinConfiguration.java[getConfigFSDir]:631) - zeppelin.config.fs.dir is not 
specified, fall back to local conf directory zeppelin.conf.dir
 INFO [2020-04-01 08:37:52,669] ({main} Credentials.java[loadFromFile]:121) - 
C:\opt\zeppelin-0.9.0-preview1-bin-all\conf\credentials.json
 INFO [2020-04-01 08:37:52,700] ({ImmediateThread-1585723072631} 
PluginManager.java[loadNotebookRepo]:60) - Loading NotebookRepo Plugin: 
org.apache.zeppelin.notebook.repo.GitNotebookRepo
 INFO [2020-04-01 08:37:52,778] ({main} 
ZeppelinServer.java[setupWebAppContext]:488) - warPath is: 
C:\opt\zeppelin-0.9.0-preview1-bin-all\zeppelin-web-0.9.0-preview1.war
 INFO [2020-04-01 08:37:52,783] ({main} 
ZeppelinServer.java[setupWebAppContext]:501) - ZeppelinServer Webapp path: 
C:\opt\zeppelin-0.9.0-preview1-bin-all\webapps
 INFO [2020-04-01 08:37:52,812] ({ImmediateThread-1585723072631} 
VFSNotebookRepo.java[setNotebookDirectory]:70) - Using notebookDir: 
C:\opt\zeppelin-0.9.0-preview1-bin-all\notebook
 INFO [2020-04-01 08:37:52,831] ({main} 
ZeppelinServer.java[setupWebAppContext]:488) - warPath is: 
C:\opt\zeppelin-0.9.0-preview1-bin-all\zeppelin-web-angular-0.9.0-preview1.war
 INFO [2020-04-01 08:37:52,833] ({main} 
ZeppelinServer.java[setupWebAppContext]:501) - ZeppelinServer Webapp path: 
C:\opt\zeppelin-0.9.0-preview1-bin-all\webapps\next
 INFO [2020-04-01 08:37:52,893] ({ImmediateThread-1585723072631} 
GitNotebookRepo.java[init]:77) - Opening a git repo at 
'/C:/opt/zeppelin-0.9.0-preview1-bin-all/notebook'
 INFO [2020-04-01 08:37:52,903] ({main} NotebookServer.java[<init>]:153) - 
NotebookServer instantiated: org.apache.zeppelin.socket.NotebookServer@740773a3
 INFO [2020-04-01 08:37:52,906] ({main} NotebookServer.java[setNotebook]:164) - 
Injected NotebookProvider
 INFO [2020-04-01 08:37:52,906] ({main} 
NotebookServer.java[setNotebookService]:171) - Injected NotebookServiceProvider
 INFO [2020-04-01 08:37:52,907] ({main} 
NotebookServer.java[setConnectionManagerProvider]:184) - Injected 
ConnectionManagerProvider
 INFO [2020-04-01 08:37:52,908] ({main} 
NotebookServer.java[setServiceLocator]:158) - Injected ServiceLocator: 
ServiceLocatorImpl(shared-locator,0,1134612201)
 INFO [2020-04-01 08:37:52,908] ({main} 
NotebookServer.java[setAuthorizationServiceProvider]:178) - Injected 
NotebookAuthorizationServiceProvider
 INFO [2020-04-01 08:37:52,909] ({main} 
ZeppelinServer.java[setupClusterManagerServer]:439) - Cluster mode is disabled
 INFO [2020-04-01 08:37:52,921] ({main} ZeppelinServer.java[main]:251) - 
Starting zeppelin server
 INFO [2020-04-01 08:37:52,923] ({main} Server.java[doStart]:370) - 
jetty-9.4.18.v20190429; built: 2019-04-29T20:42:08.989Z; git: 
e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_221-b11
 INFO [2020-04-01 08:37:53,041] ({main} 
StandardDescriptorProcessor.java[visitServlet]:283) - NO JSP Support for /, did 
not find org.eclipse.jetty.jsp.JettyJspServlet
 INFO [2020-04-01 08:37:53,058] ({main} 
DefaultSessionIdManager.java[doStart]:365) - DefaultSessionIdManager 
workerName=node0
 INFO [2020-04-01 08:37:53,058] ({main} 
DefaultSessionIdManager.java[doStart]:370) - No SessionScavenger set, using 
defaults
 INFO [2020-04-01 08:37:53,062] ({main} HouseKeeper.java[startScavenging]:149) 
- node0 Scavenging every 660000ms
 INFO [2020-04-01 08:37:53,076] ({main} ContextHandler.java[log]:2349) - 
Initializing Shiro environment
 INFO [2020-04-01 08:37:53,077] ({main} 
EnvironmentLoader.java[initEnvironment]:133) - Starting Shiro environment 
initialization.
 INFO [2020-04-01 08:37:54,080] ({main} 
EnvironmentLoader.java[initEnvironment]:147) - Shiro environment initialized in 
1003 ms.
 INFO [2020-04-01 08:37:55,684] ({main} ContextHandler.java[doStart]:855) - 
Started 
o.e.j.w.WebAppContext@1573f9fc{zeppelin-web,/,jar:file:///C:/opt/zeppelin-0.9.0-preview1-bin-all/zeppelin-web-0.9.0-preview1.war!/,AVAILABLE}{C:\opt\zeppelin-0.9.0-preview1-bin-all\zeppelin-web-0.9.0-preview1.war}
 INFO [2020-04-01 08:37:55,704] ({main} 
StandardDescriptorProcessor.java[visitServlet]:283) - NO JSP Support for /next, 
did not find org.eclipse.jetty.jsp.JettyJspServlet
 INFO [2020-04-01 08:37:55,709] ({main} ContextHandler.java[log]:2349) - 
Initializing Shiro environment
 INFO [2020-04-01 08:37:55,709] ({main} 
EnvironmentLoader.java[initEnvironment]:133) - Starting Shiro environment 
initialization.
 INFO [2020-04-01 08:37:55,725] ({main} 
EnvironmentLoader.java[initEnvironment]:147) - Shiro environment initialized in 
15 ms.
 INFO [2020-04-01 08:37:56,046] ({main} ContextHandler.java[doStart]:855) - 
Started 
o.e.j.w.WebAppContext@7dcf94f8{zeppelin-web-angular,/next,jar:file:///C:/opt/zeppelin-0.9.0-preview1-bin-all/zeppelin-web-angular-0.9.0-preview1.war!/,AVAILABLE}{C:\opt\zeppelin-0.9.0-preview1-bin-all\zeppelin-web-angular-0.9.0-preview1.war}
 INFO [2020-04-01 08:37:56,083] ({main} AbstractConnector.java[doStart]:292) - 
Started ServerConnector@6ee52dcd{HTTP/1.1,[http/1.1]}{127.0.0.1:8080}
 INFO [2020-04-01 08:37:56,084] ({main} Server.java[doStart]:410) - Started 
@4393ms
 INFO [2020-04-01 08:38:01,084] ({main} ZeppelinServer.java[main]:265) - Done, 
zeppelin server started
{code}

Try to use %md

Error in log:

{code}
 INFO [2020-04-01 08:41:13,377] ({SchedulerFactory2} 
AbstractScheduler.java[runJob]:125) - Job paragraph_1585723265279_1474689773 
started by scheduler RemoteInterpreter-md-shared_process-shared_session
 INFO [2020-04-01 08:41:13,398] ({SchedulerFactory2} 
Paragraph.java[jobRun]:407) - Run paragraph [paragraph_id: 
paragraph_1585723265279_1474689773, interpreter: 
org.apache.zeppelin.markdown.Markdown, note_id: 2F79ZAP6P, user: admin]
 INFO [2020-04-01 08:41:13,400] ({SchedulerFactory2} 
ManagedInterpreterGroup.java[getOrCreateInterpreterProcess]:62) - Create 
InterpreterProcess for InterpreterGroup: md-shared_process
 INFO [2020-04-01 08:41:13,402] ({SchedulerFactory2} 
PluginManager.java[loadInterpreterLauncher]:141) - Loading Interpreter Launcher 
Plugin: StandardInterpreterLauncher
 INFO [2020-04-01 08:41:13,408] ({SchedulerFactory2} 
StandardInterpreterLauncher.java[launch]:49) - Launching Interpreter: md
 INFO [2020-04-01 08:41:13,450] ({SchedulerFactory2} 
ProcessLauncher.java[transition]:109) - Process state is transitioned to 
LAUNCHED
 INFO [2020-04-01 08:41:13,452] ({SchedulerFactory2} 
ProcessLauncher.java[launch]:96) - Process is launched: 
[C:\opt\zeppelin-0.9.0-preview1-bin-all\bin\interpreter.cmd, -d, 
C:\opt\zeppelin-0.9.0-preview1-bin-all\interpreter/md, -c, 10.147.38.46, -p, 
55766, -r, :, -i, md-shared_process, -l, 
C:\opt\zeppelin-0.9.0-preview1-bin-all\local-repo/md, -g, md]
 WARN [2020-04-01 08:41:13,477] ({qtp112061925-16} 
InterpreterSettingManager.java[getEditorSetting]:516) - No default interpreter 
info found in interpreter setting: md
DEBUG [2020-04-01 08:41:14,811] ({Exec Stream Pumper} 
ProcessLauncher.java[processLine]:190) - Process Output: SLF4J: Class path 
contains multiple SLF4J bindings.
DEBUG [2020-04-01 08:41:14,812] ({Exec Stream Pumper} 
ProcessLauncher.java[processLine]:190) - Process Output: SLF4J: Found binding 
in 
[jar:file:/C:/opt/zeppelin-0.9.0-preview1-bin-all/interpreter/md/zeppelin-markdown-0.9.0-preview1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
DEBUG [2020-04-01 08:41:14,815] ({Exec Stream Pumper} 
ProcessLauncher.java[processLine]:190) - Process Output: SLF4J: Found binding 
in 
[jar:file:/C:/opt/zeppelin-0.9.0-preview1-bin-all/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
DEBUG [2020-04-01 08:41:14,817] ({Exec Stream Pumper} 
ProcessLauncher.java[processLine]:190) - Process Output: SLF4J: See 
http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
DEBUG [2020-04-01 08:41:14,824] ({Exec Stream Pumper} 
ProcessLauncher.java[processLine]:190) - Process Output: SLF4J: Actual binding 
is of type [org.slf4j.impl.Log4jLoggerFactory]
DEBUG [2020-04-01 08:41:14,958] ({Exec Stream Pumper} 
ProcessLauncher.java[processLine]:190) - Process Output: Exception in thread 
"main" java.lang.ArrayIndexOutOfBoundsException: 2
DEBUG [2020-04-01 08:41:14,959] ({Exec Stream Pumper} 
ProcessLauncher.java[processLine]:190) - Process Output:  at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.main(RemoteInterpreterServer.java:316)
DEBUG [2020-04-01 08:41:14,968] ({Exec Stream Pumper} 
ProcessLauncher.java[processLine]:190) - Process Output: Picked up 
JAVA_TOOL_OPTIONS: -Djavax.security.auth.useSubjectCredsOnly=false
DEBUG [2020-04-01 08:41:14,976] ({Exec Stream Pumper} 
ProcessLauncher.java[processLine]:190) - Process Output: Java HotSpot(TM) 
64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed 
in 8.0
 WARN [2020-04-01 08:41:15,009] ({Exec Default Executor} 
RemoteInterpreterManagedProcess.java[onProcessComplete]:263) - Process is 
exited with exit value 0
 INFO [2020-04-01 08:41:15,009] ({Exec Default Executor} 
ProcessLauncher.java[transition]:109) - Process state is transitioned to 
COMPLETED
 WARN [2020-04-01 08:41:15,019] ({SchedulerFactory2} 
NotebookServer.java[onStatusChange]:1901) - Job 
paragraph_1585723265279_1474689773 is finished, status: ERROR, exception: null, 
result: %text org.apache.zeppelin.interpreter.InterpreterException: 
java.io.IOException: Fail to launch interpreter process:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/C:/opt/zeppelin-0.9.0-preview1-bin-all/interpreter/md/zeppelin-markdown-0.9.0-preview1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/C:/opt/zeppelin-0.9.0-preview1-bin-all/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.main(RemoteInterpreterServer.java:316)
Picked up JAVA_TOOL_OPTIONS: -Djavax.security.auth.useSubjectCredsOnly=false
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0

        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:134)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:298)
        at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:431)
        at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:74)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:172)
        at 
org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:130)
        at 
org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:159)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Fail to launch interpreter process:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/C:/opt/zeppelin-0.9.0-preview1-bin-all/interpreter/md/zeppelin-markdown-0.9.0-preview1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/C:/opt/zeppelin-0.9.0-preview1-bin-all/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.main(RemoteInterpreterServer.java:316)
Picked up JAVA_TOOL_OPTIONS: -Djavax.security.auth.useSubjectCredsOnly=false
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0

        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess.start(RemoteInterpreterManagedProcess.java:134)
        at 
org.apache.zeppelin.interpreter.ManagedInterpreterGroup.getOrCreateInterpreterProcess(ManagedInterpreterGroup.java:65)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getOrCreateInterpreterProcess(RemoteInterpreter.java:110)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:163)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:131)
        ... 13 more

 INFO [2020-04-01 08:41:15,025] ({SchedulerFactory2} 
VFSNotebookRepo.java[save]:145) - Saving note 2F79ZAP6P to Test_2F79ZAP6P.zpln
 INFO [2020-04-01 08:41:15,039] ({SchedulerFactory2} 
AbstractScheduler.java[runJob]:152) - Job paragraph_1585723265279_1474689773 
finished by scheduler RemoteInterpreter-md-shared_process-shared_session
{code}

Am I missing something?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to