[jira] [Commented] (MESOS-9971) 'dist' and 'distcheck' cmake targets are implemented as shell scripts, so fail on Windows/MSVC.

2019-09-26 Thread Joseph Wu (Jira)


[ 
https://issues.apache.org/jira/browse/MESOS-9971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16938705#comment-16938705
 ] 

Joseph Wu commented on MESOS-9971:
--

Oh, good catch.  We moved that file to {{support/setup-dev.bat}} as part of 
this review: https://reviews.apache.org/r/71299/

If you are purely building Mesos, and not developing, then you can simply 
remove that step from your build process.  

> 'dist' and 'distcheck' cmake targets are implemented as shell scripts, so 
> fail on Windows/MSVC.
> ---
>
> Key: MESOS-9971
> URL: https://issues.apache.org/jira/browse/MESOS-9971
> Project: Mesos
>  Issue Type: Bug
>  Components: build
>Affects Versions: master
> Environment: {color:#172b4d}VS 2017 + Windows Server 2016{color}
>Reporter: LinGao
>Assignee: Joseph Wu
>Priority: Trivial
>  Labels: foundations
> Fix For: 1.10.0
>
> Attachments: log_x64_build.log
>
>
> Mesos failed to build due to error MSB6006: "cmd.exe" exited with code 1 on 
> Windows using MSVC. It can be first reproduced on 
> {color:#24292e}e0f7e2d{color} reversion on master branch. Could you please 
> take a look at this isssue? Thanks a lot!
> Reproduce steps:
> 1. git clone -c core.autocrlf=true [https://github.com/apache/mesos] 
> D:\mesos\src
>  2. Open a VS 2017 x64 command prompt as admin and browse to D:\mesos
>  3. cd src
>  4. .\bootstrap.bat
>  5. cd ..
>  6. mkdir build_x64 && pushd build_x64
>  7. cmake ..\src -G "Visual Studio 15 2017 Win64" 
> -DCMAKE_SYSTEM_VERSION=10.0.17134.0 -DENABLE_LIBEVENT=1 
> -DHAS_AUTHENTICATION=0 -DPATCHEXE_PATH="C:\gnuwin32\bin" -T host=x64
>  8. msbuild Mesos.sln /p:Configuration=Debug /p:Platform=x64 /maxcpucount:4 
> /t:Rebuild
>  
> ErrorMessage:
> 67>PrepareForBuild:
>  Creating directory "x64\Debug\dist\dist.tlog\".
>    InitializeBuildStatus:
>  Creating "x64\Debug\dist\dist.tlog\unsuccessfulbuild" because 
> "AlwaysCreate" was specified.
> 67>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5):
>  error MSB6006: "cmd.exe" exited with code 1. 
> [D:\Mesos\build_x64\dist.vcxproj]
> 67>Done Building Project "D:\Mesos\build_x64\dist.vcxproj" (Rebuild 
> target(s)) -- FAILED.
>  



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


[jira] [Created] (MESOS-9979) Add docs for FrameworkInfo updates and the UPDATE_FRAMEWORK call.

2019-09-26 Thread Andrei Sekretenko (Jira)
Andrei Sekretenko created MESOS-9979:


 Summary: Add docs for FrameworkInfo updates and the 
UPDATE_FRAMEWORK call.
 Key: MESOS-9979
 URL: https://issues.apache.org/jira/browse/MESOS-9979
 Project: Mesos
  Issue Type: Improvement
Reporter: Andrei Sekretenko
Assignee: Andrei Sekretenko






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


[jira] [Commented] (MESOS-8554) Enhance V1 scheduler send API to receive sync response from Master

2019-09-26 Thread Andrei Sekretenko (Jira)


[ 
https://issues.apache.org/jira/browse/MESOS-8554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16938540#comment-16938540
 ] 

Andrei Sekretenko commented on MESOS-8554:
--

On the side of the Mesos master this can be implemented on one-by-one basis as 
needed (for example, UPDATE_FRAMEWORK is already sending synchronous responses).

> Enhance V1 scheduler send API to receive sync response from Master
> --
>
> Key: MESOS-8554
> URL: https://issues.apache.org/jira/browse/MESOS-8554
> Project: Mesos
>  Issue Type: Task
>  Components: HTTP API
>Reporter: Kapil Arya
>Assignee: Kapil Arya
>Priority: Major
>
> Current scheduler HTTP API doesn't provide a way for the scheduler to get a 
> synchronous response back from the Master. A synchronous API means the 
> scheduler wouldn't have to wait on the event stream to check the status of 
> operations that require master-only validation/approval/rejection.



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


[jira] [Commented] (MESOS-9971) 'dist' and 'distcheck' cmake targets are implemented as shell scripts, so fail on Windows/MSVC.

2019-09-26 Thread LinGao (Jira)


[ 
https://issues.apache.org/jira/browse/MESOS-9971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16938307#comment-16938307
 ] 

LinGao commented on MESOS-9971:
---

Hi Joseph Wu,

Thanks for you info.

I rebuild Mesos on windows/MSCV with latest {color:#172b4d}reversion aed0b87 on 
master branch. It failed to execute bootstrap.bat.{color}

 

Reproduce steps:

1. git clone -c core.autocrlf=true [https://github.com/apache/mesos] 
D:\mesos\src
 2. Open a VS 2017 x64 command prompt as admin and browse to D:\mesos
 3. cd src
 4. .\bootstrap.bat

{color:#172b4d}ErrorMessage:{color}

{color:#172b4d}[executing command] .\bootstrap.bat 
'.\bootstrap.bat' is not recognized as an internal or external command,
operable program or batch file.
[command took 0 seconds] {color}

 

{color:#172b4d}Does the windows/msvc build method change? If there is a change, 
can you provide detailed steps?  Could you please take a look at this isssue? 
Thanks a lot!{color}

 

{color:#172b4d}Thanks,{color}

{color:#172b4d}Lin{color}

 

> 'dist' and 'distcheck' cmake targets are implemented as shell scripts, so 
> fail on Windows/MSVC.
> ---
>
> Key: MESOS-9971
> URL: https://issues.apache.org/jira/browse/MESOS-9971
> Project: Mesos
>  Issue Type: Bug
>  Components: build
>Affects Versions: master
> Environment: {color:#172b4d}VS 2017 + Windows Server 2016{color}
>Reporter: LinGao
>Assignee: Joseph Wu
>Priority: Trivial
>  Labels: foundations
> Fix For: 1.10.0
>
> Attachments: log_x64_build.log
>
>
> Mesos failed to build due to error MSB6006: "cmd.exe" exited with code 1 on 
> Windows using MSVC. It can be first reproduced on 
> {color:#24292e}e0f7e2d{color} reversion on master branch. Could you please 
> take a look at this isssue? Thanks a lot!
> Reproduce steps:
> 1. git clone -c core.autocrlf=true [https://github.com/apache/mesos] 
> D:\mesos\src
>  2. Open a VS 2017 x64 command prompt as admin and browse to D:\mesos
>  3. cd src
>  4. .\bootstrap.bat
>  5. cd ..
>  6. mkdir build_x64 && pushd build_x64
>  7. cmake ..\src -G "Visual Studio 15 2017 Win64" 
> -DCMAKE_SYSTEM_VERSION=10.0.17134.0 -DENABLE_LIBEVENT=1 
> -DHAS_AUTHENTICATION=0 -DPATCHEXE_PATH="C:\gnuwin32\bin" -T host=x64
>  8. msbuild Mesos.sln /p:Configuration=Debug /p:Platform=x64 /maxcpucount:4 
> /t:Rebuild
>  
> ErrorMessage:
> 67>PrepareForBuild:
>  Creating directory "x64\Debug\dist\dist.tlog\".
>    InitializeBuildStatus:
>  Creating "x64\Debug\dist\dist.tlog\unsuccessfulbuild" because 
> "AlwaysCreate" was specified.
> 67>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5):
>  error MSB6006: "cmd.exe" exited with code 1. 
> [D:\Mesos\build_x64\dist.vcxproj]
> 67>Done Building Project "D:\Mesos\build_x64\dist.vcxproj" (Rebuild 
> target(s)) -- FAILED.
>  



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