build failure on mac os x

2014-11-01 Thread Ankur Chauhan
I am trying to build the latest (master) mesos source and keep getting this error: In file included from ../../src/state/log.cpp:25:0: ../../3rdparty/libprocess/3rdparty/stout/include/stout/svn.hpp:21:23: fatal error: svn_delta.h: No such file or directory #include ^ com

Re: Why rely on url scheme for fetching?

2014-11-01 Thread Tom Arnfeld
Completely +1 to this. There are now quite a lot of hadoop compatible filesystem wrappers out in the wild and this would certainly be very useful. I'm happy to contribute a patch. Here's a few related issues that might be of interest; - https://issues.apache.org/jira/browse/MESOS-1887 - https://i

Re: build failure on mac os x

2014-11-01 Thread Dominic Hamon
libsubversion was added as a dependency recently. However it's lack should have been caught by the configure step. I don't know enough about osx and libsubversion to know if there's something special you need to do. On Nov 1, 2014 2:05 AM, "Ankur Chauhan" wrote: > I am trying to build the latest

Re: build failure on mac os x

2014-11-01 Thread Timothy Chen
Hi Ankur, Where does your lib subversion header live? Configure must have fonnd it but since we include the header without the path the path name may not match. Tim Sent from my iPhone > On Nov 1, 2014, at 8:54 AM, Dominic Hamon wrote: > > libsubversion was added as a dependency recently. Ho

Re: build failure on mac os x

2014-11-01 Thread Till Toenshoff
Dear Ankur, please see https://issues.apache.org/jira/browse/MESOS-1998 . The problem here is that your subversion headers are not installed within the default location our configuration step is assuming (/usr/include/subversion-1). To prevent

Re: CDH5.2.3 on mesos

2014-11-01 Thread Tom Arnfeld
We're running a HA job tracker (not deployed on top of mesos itself, though) with the mesos-hadoop framework being referenced here. This guide from Cloudera (CDH5) is pretty good for getting started:  http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_hag_jt_ha_intro

Re: build failure on mac os x

2014-11-01 Thread Ankur Chauhan
Thanks. Yes adding subversion check would definitely help. I did install subversion using homebrew so it'll take a little more looking into. -- Ankur > On 1 Nov 2014, at 09:04, Till Toenshoff wrote: > > Dear Ankur, > > please see https://issues.apache.org/jira/browse/MESOS-1998 >

Re: build failure on mac os x

2014-11-01 Thread Tim Chen
You can either symlink /usr/local/include/subversion-1 -> /usr/include/subversion-1, Or provide --with-svn=/usr/local to configure, and it should work for you. Tim On Sat, Nov 1, 2014 at 12:05 PM, Ankur Chauhan wrote: > Thanks. Yes adding subversion check would definitely help. I did install >

Re: Why rely on url scheme for fetching?

2014-11-01 Thread Ankur Chauhan
Hi Tim, I don't think there is an issue which is directly in line with what i wanted but the closest one that I could find in JIRA is https://issues.apache.org/jira/browse/MESOS-1711 I have a branch ( https://github.com/ankurcha/mesos/compare

Re: Why rely on url scheme for fetching?

2014-11-01 Thread Timothy Chen
Hi Ankur, Can you post on reviewboard? We can discuss more about the code there. Tim Sent from my iPhone > On Nov 1, 2014, at 6:29 PM, Ankur Chauhan wrote: > > Hi Tim, > > I don't think there is an issue which is directly in line with what i wanted > but the closest one that I could find in

Re: Why rely on url scheme for fetching?

2014-11-01 Thread Ankur Chauhan
Hi Tim, I am trying to find/write some test cases. I couldn't find a fetcher_tests.{cpp|hpp} so once I have something, I'll post on review board. I am new to gmock/gtest so bear with me while i get up to speed. -- Ankur > On 1 Nov 2014, at 19:23, Timothy Chen wrote: > > Hi Ankur, > > Can you

Re: Why rely on url scheme for fetching?

2014-11-01 Thread Tim Chen
Hi Ankur, There is a fetcher_tests.cpp in src/tests. Tim On Sat, Nov 1, 2014 at 7:27 PM, Ankur Chauhan wrote: > Hi Tim, > > I am trying to find/write some test cases. I couldn't find a > fetcher_tests.{cpp|hpp} so once I have something, I'll post on review > board. I am new to gmock/gtest so b

Re: Why rely on url scheme for fetching?

2014-11-01 Thread Ankur Chauhan
Yea, i saw that the minute i pressed send. I'll start the review board so that people can have a look at the change. -- Ankur > On 1 Nov 2014, at 20:01, Tim Chen wrote: > > Hi Ankur, > > There is a fetcher_tests.cpp in src/tests. > > Tim > > On Sat, Nov 1, 2014 at 7:27 PM, Ankur Chauhan

Re: Why rely on url scheme for fetching?

2014-11-01 Thread Ankur Chauhan
Hi Tim, I just created a review https://reviews.apache.org/r/27483/ It's my first stab at it and I will try to add more tests as I figure out how to do the hadoop mocking and stuff. Have a look and let me know what you think about it so far. -- Ankur > On

Re: Why rely on url scheme for fetching?

2014-11-01 Thread Adam Bordelon
Thank you Ankur. At first glance, it looks great. We'll do a more thorough review of it very soon. I know Tim St. Clair had some ideas for fixing MESOS-1711 ; he may want to review too. On Sat, Nov 1, 2014 at 8:49 PM, Ankur Chauhan wrote: > Hi Ti