Re: Review Request 41610: Lower aurora-scheduler jdk req. to headless.

2015-12-21 Thread Bill Farner

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41610/#review111519
---

Ship it!


Ship It!

- Bill Farner


On Dec. 21, 2015, 8:59 a.m., John Sirois wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41610/
> ---
> 
> (Updated Dec. 21, 2015, 8:59 a.m.)
> 
> 
> Review request for Aurora, Jake Farrell and Bill Farner.
> 
> 
> Repository: aurora-packaging
> 
> 
> Description
> ---
> 
> builder/rpm/centos-7/Dockerfile | 1 +
>  specs/rpm/aurora.spec   | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> 
> Diffs
> -
> 
>   builder/rpm/centos-7/Dockerfile 174998f42663a5f673a2513d084bf32c4a9cbaeb 
>   specs/rpm/aurora.spec 51c571507252845b29e263af34927854b16e9820 
> 
> Diff: https://reviews.apache.org/r/41610/diff/
> 
> 
> Testing
> ---
> 
> Build the rpms:
> ```
> curl -L 
> http://mirror.sdunix.com/apache/aurora/0.10.0/apache-aurora-0.10.0.tar.gz -O
> ./build-artifact.sh builder/rpm/centos-7 apache-aurora-0.10.0.tar.gz 0.10.0
> ```
> 
> Then test install works:
> ```
> jsirois@gill /tmp/CentOS-7 $ cat Vagrantfile 
> Vagrant.require_version ">= 1.5.0"
> 
> Vagrant.configure(2) do |config|
>   config.vm.box = "centos/7"
> 
>   config.vm.provider :virtualbox do |vb|
> vb.customize ["modifyvm", :id, "--memory", "4096"]
> vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
>   end
> end
> jsirois@gill /tmp/CentOS-7 $ ls -l
> total 4
> -rw-r--r-- 1 jsirois jsirois 271 Dec 21 09:45 Vagrantfile
> lrwxrwxrwx 1 jsirois jsirois  44 Dec 21 09:53 artifacts -> 
> /home/jsirois/dev-aurora-packaging/artifacts
> jsirois@gill /tmp/CentOS-7 $ vagrant ssh
> [vagrant@localhost ~]$ sudo rpm -Uvh 
> http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
> [vagrant@localhost ~]$  sudo yum install -y mesos-0.22.0
> [vagrant@localhost ~]$ sudo yum install 
> sync/artifacts/aurora-centos-7/dist/rpmbuild/RPMS/x86_64/aurora-scheduler-0.10.0-1.el7.centos.aurora.x86_64.rpm
> ```
> 
> 
> Thanks,
> 
> John Sirois
> 
>



Review Request 41610: Lower aurora-scheduler jdk req. to headless.

2015-12-21 Thread John Sirois

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41610/
---

Review request for Aurora, Jake Farrell and Bill Farner.


Repository: aurora-packaging


Description
---

builder/rpm/centos-7/Dockerfile | 1 +
 specs/rpm/aurora.spec   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


Diffs
-

  builder/rpm/centos-7/Dockerfile 174998f42663a5f673a2513d084bf32c4a9cbaeb 
  specs/rpm/aurora.spec 51c571507252845b29e263af34927854b16e9820 

Diff: https://reviews.apache.org/r/41610/diff/


Testing
---

Build the rpms:
```
curl -L 
http://mirror.sdunix.com/apache/aurora/0.10.0/apache-aurora-0.10.0.tar.gz -O
./build-artifact.sh builder/rpm/centos-7 apache-aurora-0.10.0.tar.gz 0.10.0
```

Then test install works:
```
jsirois@gill /tmp/CentOS-7 $ cat Vagrantfile 
Vagrant.require_version ">= 1.5.0"

Vagrant.configure(2) do |config|
  config.vm.box = "centos/7"

  config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "4096"]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
  end
end
jsirois@gill /tmp/CentOS-7 $ ls -l
total 4
-rw-r--r-- 1 jsirois jsirois 271 Dec 21 09:45 Vagrantfile
lrwxrwxrwx 1 jsirois jsirois  44 Dec 21 09:53 artifacts -> 
/home/jsirois/dev-aurora-packaging/artifacts
jsirois@gill /tmp/CentOS-7 $ vagrant ssh
[vagrant@localhost ~]$ sudo rpm -Uvh 
http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
[vagrant@localhost ~]$  sudo yum install -y mesos-0.22.0
[vagrant@localhost ~]$ sudo yum install 
sync/artifacts/aurora-centos-7/dist/rpmbuild/RPMS/x86_64/aurora-scheduler-0.10.0-1.el7.centos.aurora.x86_64.rpm
```


Thanks,

John Sirois



Re: Review Request 41610: Lower aurora-scheduler jdk req. to headless.

2015-12-21 Thread John Sirois

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41610/#review111496
---



builder/rpm/centos-7/Dockerfile (line 15)


NB: Without an update I was getting conflicts, seems ~unrelated, but I was 
not able to make sense of this.


- John Sirois


On Dec. 21, 2015, 9:59 a.m., John Sirois wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41610/
> ---
> 
> (Updated Dec. 21, 2015, 9:59 a.m.)
> 
> 
> Review request for Aurora, Jake Farrell and Bill Farner.
> 
> 
> Repository: aurora-packaging
> 
> 
> Description
> ---
> 
> builder/rpm/centos-7/Dockerfile | 1 +
>  specs/rpm/aurora.spec   | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> 
> Diffs
> -
> 
>   builder/rpm/centos-7/Dockerfile 174998f42663a5f673a2513d084bf32c4a9cbaeb 
>   specs/rpm/aurora.spec 51c571507252845b29e263af34927854b16e9820 
> 
> Diff: https://reviews.apache.org/r/41610/diff/
> 
> 
> Testing
> ---
> 
> Build the rpms:
> ```
> curl -L 
> http://mirror.sdunix.com/apache/aurora/0.10.0/apache-aurora-0.10.0.tar.gz -O
> ./build-artifact.sh builder/rpm/centos-7 apache-aurora-0.10.0.tar.gz 0.10.0
> ```
> 
> Then test install works:
> ```
> jsirois@gill /tmp/CentOS-7 $ cat Vagrantfile 
> Vagrant.require_version ">= 1.5.0"
> 
> Vagrant.configure(2) do |config|
>   config.vm.box = "centos/7"
> 
>   config.vm.provider :virtualbox do |vb|
> vb.customize ["modifyvm", :id, "--memory", "4096"]
> vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
>   end
> end
> jsirois@gill /tmp/CentOS-7 $ ls -l
> total 4
> -rw-r--r-- 1 jsirois jsirois 271 Dec 21 09:45 Vagrantfile
> lrwxrwxrwx 1 jsirois jsirois  44 Dec 21 09:53 artifacts -> 
> /home/jsirois/dev-aurora-packaging/artifacts
> jsirois@gill /tmp/CentOS-7 $ vagrant ssh
> [vagrant@localhost ~]$ sudo rpm -Uvh 
> http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
> [vagrant@localhost ~]$  sudo yum install -y mesos-0.22.0
> [vagrant@localhost ~]$ sudo yum install 
> sync/artifacts/aurora-centos-7/dist/rpmbuild/RPMS/x86_64/aurora-scheduler-0.10.0-1.el7.centos.aurora.x86_64.rpm
> ```
> 
> 
> Thanks,
> 
> John Sirois
> 
>



Re: Review Request 41610: Lower aurora-scheduler jdk req. to headless.

2015-12-21 Thread John Sirois


> On Dec. 21, 2015, 10:01 a.m., John Sirois wrote:
> > builder/rpm/centos-7/Dockerfile, line 15
> > 
> >
> > NB: Without an update I was getting conflicts, seems ~unrelated, but I 
> > was not able to make sense of this.

In case someone can make sense of this, it was the following conflicts:
```
$ ./build-artifact.sh builder/rpm/centos-7 
~/desktop/apache-aurora-0.10.0.tar.gz 0.10.0
Using docker image aurora-centos-7
Sending build context to Docker daemon  5.12 kB
Step 1 : FROM centos:7
 ---> e9fa5d3a0d0e
Step 2 : RUN yum install -y make rpm-build yum-utils apr-devel  
   cyrus-sasl-devel flex gcc gcc-c++ git 
java-1.8.0-openjdk-devel krb5-devel libcurl-devel openssl patch 
python python-devel subversion-devel tar unzip wget 
which zlib-devel
 ---> Running in 580ca12f56f6
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirror.team-cymru.org
 * extras: mirrors.kernel.org
 * updates: cosmos.illinois.edu
Package 2:tar-1.26-29.el7.x86_64 already installed and latest version
Package which-2.20-7.el7.x86_64 already installed and latest version
Resolving Dependencies
...
Dependencies Resolved


 Package  ArchVersionRepository
   Size

Installing:
 apr-develx86_64  1.4.8-3.el7base 188 k
 cyrus-sasl-devel x86_64  2.1.26-19.2.el7base 309 k
 flex x86_64  2.5.37-3.el7   base 292 k
 gcc  x86_64  4.8.5-4.el7base  16 M
 gcc-c++  x86_64  4.8.5-4.el7base 7.2 M
 git  x86_64  1.8.3.1-6.el7  updates  4.4 M
 java-1.8.0-openjdk-devel x86_64  1:1.8.0.65-3.b17.el7   base 9.7 M
 krb5-devel   x86_64  1.13.2-10.el7  base 649 k
 libcurl-develx86_64  7.29.0-25.el7.centos   base 297 k
 make x86_64  1:3.82-21.el7  base 420 k
 openssl  x86_64  1:1.0.1e-51.el7_2.1updates  711 k
 patchx86_64  2.7.1-8.el7base 110 k
 python-devel x86_64  2.7.5-34.el7   base 391 k
 rpm-buildx86_64  4.11.3-17.el7  base 143 k
 subversion-devel x86_64  1.7.14-10.el7  base 288 k
 unzipx86_64  6.0-15.el7 base 166 k
 wget x86_64  1.14-10.el7_0.1base 545 k
 yum-utilsnoarch  1.1.31-34.el7  base 113 k
 zlib-devel   x86_64  1.2.7-15.el7   base  50 k
Updating:
 python   x86_64  2.7.5-34.el7   base  88 k
Installing for dependencies:
 acl  x86_64  2.2.51-12.el7  base  81 k
 alsa-lib x86_64  1.0.28-2.el7   base 391 k
 apr  x86_64  1.4.8-3.el7base 103 k
 apr-util x86_64  1.5.2-6.el7base  92 k
 apr-util-devel   x86_64  1.5.2-6.el7base  76 k
 bzip2x86_64  1.0.6-13.el7   base  52 k
 cpp  x86_64  4.8.5-4.el7base 5.9 M
 cryptsetup-libs  x86_64  1.6.7-1.el7base 182 k
 cyrus-sasl   x86_64  2.1.26-19.2.el7base  88 k
 dbus x86_64  1:1.6.12-13.el7base 306 k
 device-mapperx86_64  7:1.02.107-5.el7   base 251 k
 device-mapper-libs   x86_64  7:1.02.107-5.el7   base 304 k
 dracut   x86_64  033-360.el7_2  updates  311 k
 dwz  x86_64  0.11-3.el7 base  99 k
 elfutils x86_64  0.163-3.el7base 268 k
 expat-devel  x86_64  2.1.0-8.el7base  56 k
 fipscheckx86_64  1.4.1-5.el7base  21 k
 fipscheck-libx86_64  1.4.1-5.el7base  11 k
 fontconfig   x86_64  2.10.95-7.el7  base 228 k
 fontpackages-filesystem  noarch  1.44-8.el7 base 9.9 k
 freetype x86_64  2.4.11-11.el7  base 391 k
 gdb  x86_64  7.6.1-80.el7