You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Nigel Jones (JIRA)" <ji...@apache.org> on 2017/02/03 13:25:51 UTC

[jira] [Commented] (RANGER-1331) Ranger build for windows not working

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

Nigel Jones commented on RANGER-1331:
-------------------------------------

Made an error with not having python installed. 

Having been installed ( Python 2.7.13 )
mvn -Dmaven.test.skip=true clean install
completes successfully
As does
mvn -Dmaven.test.skip=true clean compile package install assembly:assembly

It is only the tests (!) that fail. The issues seem to include pathname/parsing issues and lack of unix shell

Can we use this jira to update the web instructions so that it refers to skipping unit tests in this way on windows - perhaps recommends running those on linux - and that it also reminds the user to install python, as well as git/maven/java - the latter are more obvious but sometimes for newbies to the project it's easier to be clear. I'm happy to propose some updates/patch if it helps

Are there any other users around that use windows and feel it would be useful to fix up the tests? It may be not?

> Ranger build for windows not working
> ------------------------------------
>
>                 Key: RANGER-1331
>                 URL: https://issues.apache.org/jira/browse/RANGER-1331
>             Project: Ranger
>          Issue Type: Improvement
>            Reporter: Nigel Jones
>         Attachments: RangerWinBuild1.log
>
>
> The quick start guide at http://ranger.apache.org/quick_start_guide.html has instuctions to build ranger which work fine on Ubuntu 16.04/openjdk 8 / maven 3.3.9
> However I was interested in setting up a more productive IDE environment, and given my laptop is running Windows 10 as the primary OS decided to follow the instructions for using eclipse
> HOWEVER unlike Ranger-1186 I tried this on *WINDOWS* rather than linux
> Is this something anyone is doing successfully (even if skipping building some of the linux native auth pieces)?
> I then tried the build but it failed quickly on credential support
> [INFO] ranger ............................................. SUCCESS [  9.332 s]
> [INFO] Jdbc SQL Connector ................................. SUCCESS [  4.569 s]
> [INFO] Credential Support ................................. FAILURE [  9.579 s]
> Including full log
> Could we list on that page the OSs people have had success with?
> Are most using linux?
> Anyone tried MacOS?
> NOTE: edited from original to focus on the OS question rather than IDE



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)