atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ushma Dubal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-659) atlas_start fails on Windows
Date Tue, 12 Apr 2016 08:13:25 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236803#comment-15236803
] 

Ushma Dubal commented on ATLAS-659:
-----------------------------------

I commented atlas.graph.storage.hostname and ran command to start Atlas.
python atlas_start.py
Apache Atlas Server started!!!

Console says Atlas started but <hostname>:21000 gives an error.
Error in log file is as below:

2016-04-12 12:12:15,725 INFO  - [main:] ~ >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(Atlas:174)
2016-04-12 12:12:15,725 INFO  - [main:] ~ Server starting with TLS ? false on port 21000 (Atlas:175)
2016-04-12 12:12:15,725 INFO  - [main:] ~ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(Atlas:176)
2016-04-12 12:12:15,901 INFO  - [main:] ~ Logging initialized @9271ms (log:186)
2016-04-12 12:12:16,072 INFO  - [main:] ~ jetty-9.2.12.v20150709 (Server:327)
2016-04-12 12:12:18,392 INFO  - [main:] ~ Loading Guice modules (GuiceServletConfig:65)
2016-04-12 12:12:18,426 ERROR - [main:] ~ Failed to locate the winutils binary in the hadoop
binary path (Shell:374)
java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
	at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:356)
	at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:371)
	at org.apache.hadoop.util.Shell.<clinit>(Shell.java:364)
	at org.apache.atlas.web.listeners.LoginProcessor.isHadoopCluster(LoginProcessor.java:150)
	at org.apache.atlas.web.listeners.LoginProcessor.login(LoginProcessor.java:51)
	at org.apache.atlas.web.listeners.GuiceServletConfig.getInjector(GuiceServletConfig.java:76)
	at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)
	at org.apache.atlas.web.listeners.GuiceServletConfig.contextInitialized(GuiceServletConfig.java:147)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
	at org.eclipse.jetty.server.Server.start(Server.java:387)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
	at org.eclipse.jetty.server.Server.doStart(Server.java:354)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:93)
	at org.apache.atlas.Atlas.main(Atlas.java:109)
2016-04-12 12:12:18,556 INFO  - [main:] ~ No authentication method configured.  Defaulting
to simple authenticati

> atlas_start fails on Windows
> ----------------------------
>
>                 Key: ATLAS-659
>                 URL: https://issues.apache.org/jira/browse/ATLAS-659
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: David Kantor
>            Assignee: David Kantor
>            Priority: Blocker
>
> Recent changes for using HBase as the default storage backend has broken Atlas startup
on Windows, which now fails with:
> {noformat}
> Exception: [Error 193] %1 is not a valid Win32 application
> Traceback (most recent call last):
>   File "atlas_start.py", line 113, in <module>
>     returncode = main()
>   File "atlas_start.py", line 68, in main
>     mc.run_hbase(mc.hbaseBinDir(atlas_home), "start", hbase_conf_dir, 
> logdir)
>   File 
> "C:\OMS_main1\oms\atlas\distro\target\atlas\distro\target\apache-atlas-0.7-incubating-SNAPSHOT-bin\apache-atlas-0.7-incubating-SNAPSHOT\bin\atlas_config.py",

> line 365, in run_hbase
>     return runProcess(cmd, logdir, False, wait)
>   File 
> "C:\OMS_main1\oms\atlas\distro\target\atlas\distro\target\apache-atlas-0.7-incubating-SNAPSHOT-bin\apache-atlas-0.7-incubating-SNAPSHOT\bin\atlas_config.py",
line 194, in runProcess
>     p = subprocess.Popen(commandline, stdout=stdoutFile, stderr=stderrFile, shell=shell)
>   File "C:\Python27\lib\subprocess.py", line 710, in __init__
>     errread, errwrite)
>   File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
>     startupinfo)
> WindowsError: [Error 193] %1 is not a valid Win32 application
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message