Return-Path: X-Original-To: apmail-atlas-dev-archive@minotaur.apache.org Delivered-To: apmail-atlas-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B8AA19041 for ; Tue, 12 Apr 2016 08:13:31 +0000 (UTC) Received: (qmail 74236 invoked by uid 500); 12 Apr 2016 08:13:30 -0000 Delivered-To: apmail-atlas-dev-archive@atlas.apache.org Received: (qmail 74183 invoked by uid 500); 12 Apr 2016 08:13:30 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 74172 invoked by uid 99); 12 Apr 2016 08:13:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2016 08:13:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5FF3F1A04D5 for ; Tue, 12 Apr 2016 08:13:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.221 X-Spam-Level: X-Spam-Status: No, score=-3.221 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Dg6ujcVb3XX6 for ; Tue, 12 Apr 2016 08:13:28 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 0BB0F5FB2C for ; Tue, 12 Apr 2016 08:13:26 +0000 (UTC) Received: (qmail 72959 invoked by uid 99); 12 Apr 2016 08:13:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2016 08:13:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 90BF32C1F62 for ; Tue, 12 Apr 2016 08:13:25 +0000 (UTC) Date: Tue, 12 Apr 2016 08:13:25 +0000 (UTC) From: "Ushma Dubal (JIRA)" To: dev@atlas.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ATLAS-659) atlas_start fails on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 :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.(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 > 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)