Re: Review Request 51572: Ambari Server Start/Stop fails on Centos 7.1+

2016-09-01 Thread Dmitro Lisnichenko

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


Ship it!




Ship It!

- Dmitro Lisnichenko


On Sept. 1, 2016, 12:10 p.m., Andrew Onischuk wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51572/
> ---
> 
> (Updated Sept. 1, 2016, 12:10 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-18294
> https://issues.apache.org/jira/browse/AMBARI-18294
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Brand new install on Centos 7.2
> Ambari Server 'setup' completed successfully.
> 
> [root@c7001 ~]# ambari-server start
> Using python  /usr/bin/python
> Starting ambari-server
> Ambari Server running with administrator privileges.
> Organizing resource files at /var/lib/ambari-server/resources...
> Ambari database consistency check started...
> No errors were found.
> Ambari database consistency check finished
> Server PID at: /var/run/ambari-server/ambari-server.pid
> Server out at: /var/log/ambari-server/ambari-server.out
> Server log at: /var/log/ambari-server/ambari-server.log
> Waiting for server start
> Ambari Server 'start' completed successfully.
> 
> [root@c7001 ~]# cat /var/run/ambari-server/ambari-server.pid
> 12302
> 12303
> 
> [root@c7001 ~]# ps aux | grep AmbariServer
> root 12302  0.0  0.0 113116   644 pts/0S20:42   0:00 /bin/sh -c 
> ulimit -n 1 ; /usr/jdk64/jdk1.8.0_77/bin/java -server -XX:NewRatio=3 
> -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit 
> -XX:CMSInitiatingOccupancyFraction=60 -XX:+CMSClassUnloadingEnabled 
> -Dsun.zip.disableMemoryMapping=true   -Xms512m -Xmx2048m -XX:MaxPermSize=128m 
> -Djava.security.auth.login.config=$ROOT/etc/ambari-server/conf/krb5JAASLogin.conf
>  -Djava.security.krb5.conf=/etc/krb5.conf 
> -Djavax.security.auth.useSubjectCredsOnly=false -cp 
> '/etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/postgresql-jdbc.jar'
>  org.apache.ambari.server.controller.AmbariServer > 
> /var/log/ambari-server/ambari-server.out 2>&1 || echo $? > 
> /var/run/ambari-server/ambari-server.exitcode &
> root 12303 87.7 14.8 4377224 431856 pts/0  Sl   20:42   0:29 
> /usr/jdk64/jdk1.8.0_77/bin/java -server -XX:NewRatio=3 
> -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit 
> -XX:CMSInitiatingOccupancyFraction=60 -XX:+CMSClassUnloadingEnabled 
> -Dsun.zip.disableMemoryMapping=true -Xms512m -Xmx2048m -XX:MaxPermSize=128m 
> -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf 
> -Djava.security.krb5.conf=/etc/krb5.conf 
> -Djavax.security.auth.useSubjectCredsOnly=false -cp 
> /etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/postgresql-jdbc.jar
>  org.apache.ambari.server.controller.AmbariServer
> 
> 
> Diffs
> -
> 
>   ambari-server/src/main/python/ambari_server/utils.py c4990f5 
>   ambari-server/src/main/python/ambari_server_main.py 17945de 
> 
> Diff: https://reviews.apache.org/r/51572/diff/
> 
> 
> Testing
> ---
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>



Review Request 51572: Ambari Server Start/Stop fails on Centos 7.1+

2016-09-01 Thread Andrew Onischuk

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

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-18294
https://issues.apache.org/jira/browse/AMBARI-18294


Repository: ambari


Description
---

Brand new install on Centos 7.2
Ambari Server 'setup' completed successfully.

[root@c7001 ~]# ambari-server start
Using python  /usr/bin/python
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
No errors were found.
Ambari database consistency check finished
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start
Ambari Server 'start' completed successfully.

[root@c7001 ~]# cat /var/run/ambari-server/ambari-server.pid
12302
12303

[root@c7001 ~]# ps aux | grep AmbariServer
root 12302  0.0  0.0 113116   644 pts/0S20:42   0:00 /bin/sh -c 
ulimit -n 1 ; /usr/jdk64/jdk1.8.0_77/bin/java -server -XX:NewRatio=3 
-XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit 
-XX:CMSInitiatingOccupancyFraction=60 -XX:+CMSClassUnloadingEnabled 
-Dsun.zip.disableMemoryMapping=true   -Xms512m -Xmx2048m -XX:MaxPermSize=128m 
-Djava.security.auth.login.config=$ROOT/etc/ambari-server/conf/krb5JAASLogin.conf
 -Djava.security.krb5.conf=/etc/krb5.conf 
-Djavax.security.auth.useSubjectCredsOnly=false -cp 
'/etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/postgresql-jdbc.jar'
 org.apache.ambari.server.controller.AmbariServer > 
/var/log/ambari-server/ambari-server.out 2>&1 || echo $? > 
/var/run/ambari-server/ambari-server.exitcode &
root 12303 87.7 14.8 4377224 431856 pts/0  Sl   20:42   0:29 
/usr/jdk64/jdk1.8.0_77/bin/java -server -XX:NewRatio=3 -XX:+UseConcMarkSweepGC 
-XX:-UseGCOverheadLimit -XX:CMSInitiatingOccupancyFraction=60 
-XX:+CMSClassUnloadingEnabled -Dsun.zip.disableMemoryMapping=true -Xms512m 
-Xmx2048m -XX:MaxPermSize=128m 
-Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf 
-Djava.security.krb5.conf=/etc/krb5.conf 
-Djavax.security.auth.useSubjectCredsOnly=false -cp 
/etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/postgresql-jdbc.jar
 org.apache.ambari.server.controller.AmbariServer


Diffs
-

  ambari-server/src/main/python/ambari_server/utils.py c4990f5 
  ambari-server/src/main/python/ambari_server_main.py 17945de 

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


Testing
---

mvn clean test


Thanks,

Andrew Onischuk