Password:
[root@yava coba]# ambari-server status
Using python /usr/bin/python2.7
Ambari-server status
Ambari Server running
Found Ambari Server PID: 5489 at: /var/run/ambari-server/ambari-server.pid
[root@yava coba]# ambari-server stop
Using python /usr/bin/python2.7
Stopping ambari-server
Ambari Server stopped
[root@yava coba]# ambari-server start
Using python /usr/bin/python2.7
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
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.
chown: invalid user: ‘ambari.root’
[root@yava coba]# cat /root/.ssh/id_rsa
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAvYk5w0pBSwTNYb6Zc2xgkPL5WURaZjA5oug9MYpQrH+b7qEL
g9YgRIqNeeSpQZjErZoHZMQvwi6TUs0AWhsYgG4b7A6xOxd8mvqiSQB0k1QLt2ap
3s6iFr1pHHD4pS0H3Ya6gwAvDtfm3HxvBSv4r+YHPH1aG+W9ifxOCz/h450u4dCm
rxRyWtUL3QnkUXtzdhMCb9lIfw/iGohXsUcpjevCnFRjR42tn1XoCsA+5v3Hb1tg
5/5QQt/Z1gA92/X23OazPN+YO9fI8YM33sfTICdCNAXNxaW6f5zVCuany59JYlY3
hAT1Nhq+nnnc+OI6wylgvuszcjtvjeMayL+lmQIDAQABAoIBAEk3yqWjeMenKkP5
IkRReJhmFGcknZteQ9Wny4Pov7NzdGRhuBYM0NhJgc+1wqDBiDDcEMEffKeR4H2b
DejBEN0ELCsrndGLCCrCaZCz6VTEoeYOdc7JmhoYv5MqHROJ6sDr+/8BQiyEwP0p
4KVp0B77SI5Yike+n1K/sdJssjF/6y4FlE824usedhPuOrgJThlhbnjsbilwln+Z
MhWZQiJ4JJXReBza1CDWNmVpgRDxl5AouNVG1MDVjfrnh2SydfkDVoIrYj0LWLim
oaOw+KfU9lutbhlcgNFXm8IZuMvOttxPTTnUOg4EsCFSChGEs9+fhHoeRcyuZGi0
/RCqnwECgYEA8PJvHGoDRaNY6EwVkIH2NCt3B3lG4os3eSDems+8gCizQW67ihKV
eo5ElKPBaKNE4MVRXfdOXFVe1MRSXAPWH7FtAgLWP5ry54Xc0p2YKkJgGF519C8l
luOdXIyTj61A0ikxiS8Xff4jg08EsfKrlovJELYAVFzDJiC1tm/tPaECgYEAyWCN
9TQ4CGztSaxvZC3NcalSLQh7Fvh/0kRxWP0iG8rxRDwbXz7UQJRTRcFVyyB/C+DK
oYNfSnUpGYfZuVBddHbDubm/2YJKNo03sFTTwp9+RpiE699CQ2cCBJCXezLZrl9k
/yI4+Le9p1g2eJiiZhYS/KBdOfV7/zcQrUQ6NPkCgYEAha5seT5UTGnBpTi5ajDA
8db/tlTSQFTvVTQobYo+UnjCY9ZVFNkUuCeA41srrquPRooTh+fzQQVYlQHLlCPI
xFLDYS9DwYxtoojBqNUpHKExAbQ/C1ixKVNl9nhEUp3UbgXO5wcKqKu89lh8CWLT
UraButTPv/6rg1b4mpzk6qECgYEAwUiamIqpaXTbgEYwmE/aC8k/5ZdpRY/4Z6Jn
xMkZzuFIF301rIKKiP2Uu7Qom5GyP31gIAwPD1FKxIV+9X5sZNeFXyMpQCTtBFUg
6W9R3VDmi+3iTt74I+efqS/7JTWWd+Z58uQvGJKLRy7FAZVG8oMncDCfqnyzqi95
I0UENUkCgYA1tqO7yQeK8Oe/IxIQcFCtv3Eq/rpSJKWTs41eox4VFvXjwCl8i01Q
LIpZkBas9sgt2vlkBZ5z7eWT6IzMWiMY/uQuzhXGNInMHoiGXXQbhwapKp/UR4Rd
/ZGG/KWihfRMbl6h/iyzBExBgUfhx3W33xORRO7N6VbgO41XATNdVg==
-----END RSA PRIVATE KEY-----
[root@yava coba]#
[root@yava coba]# ssh localhost
Last login: Sun Jun 4 21:06:33 2017 from yava.coba.com
[root@yava ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#IP FQDN Alias
192.168.3.155 yava.coba.com yava
[root@yava ~]# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:62:23:43 brd ff:ff:ff:ff:ff:ff
inet 192.168.3.155/24 brd 192.168.3.255 scope global dynamic eno16777736
valid_lft 1341sec preferred_lft 1341sec
inet6 fe80::20c:29ff:fe62:2343/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
link/ether 52:54:00:cf:0d:31 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500
link/ether 52:54:00:cf:0d:31 brd ff:ff:ff:ff:ff:ff
[root@yava ~]# ls -l /var/run/ambari-server/
ambari-server.pid stack-recommendations/
[root@yava ~]# ls -l /var/run/ambari-server/
total 4
-rw-r--r--. 1 root root 5 Jun 4 21:20 ambari-server.pid
drwxr-xr-x. 2 root root 40 Jun 4 20:03 stack-recommendations
[root@yava ~]# which java
/usr/bin/java
[root@yava ~]# java -version
openjdk version "1.8.0_65"
OpenJDK Runtime Environment (build 1.8.0_65-b17)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)
[root@yava ~]# ambari-server stop
Using python /usr/bin/python2.7
Stopping ambari-server
Ambari Server stopped
[root@yava ~]# env | grep JAVA
JAVA_HOME=/usr/lib/jvm/java-1.8.0
[root@yava ~]# ls -l $JAVA_HOME
ls: cannot access /usr/lib/jvm/java-1.8.0: No such file or directory
[root@yava ~]# ls -l /usr/bin/java
lrwxrwxrwx. 1 root root 22 Jun 1 20:48 /usr/bin/java -> /etc/alternatives/java
[root@yava ~]# ls -l /etc/alternatives/java
lrwxrwxrwx. 1 root root 70 Jun 1 20:48 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre/bin/java
[root@yava ~]# ls -l /usr/lib/jvm
total 0
drwxr-xr-x. 4 root root 95 Jun 1 20:47 java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64
drwxr-xr-x. 3 root root 16 Jun 1 20:48 java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64
lrwxrwxrwx. 1 root root 21 Jun 1 20:48 jre -> /etc/alternatives/jre
lrwxrwxrwx. 1 root root 27 Jun 1 20:47 jre-1.7.0 -> /etc/alternatives/jre_1.7.0
lrwxrwxrwx. 1 root root 35 Jun 1 20:47 jre-1.7.0-openjdk -> /etc/alternatives/jre_1.7.0_openjdk
lrwxrwxrwx. 1 root root 50 Jun 1 20:47 jre-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64 -> java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64/jre
lrwxrwxrwx. 1 root root 27 Jun 1 20:48 jre-1.8.0 -> /etc/alternatives/jre_1.8.0
lrwxrwxrwx. 1 root root 35 Jun 1 20:48 jre-1.8.0-openjdk -> /etc/alternatives/jre_1.8.0_openjdk
lrwxrwxrwx. 1 root root 48 Jun 1 20:48 jre-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64 -> java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre
lrwxrwxrwx. 1 root root 29 Jun 1 20:48 jre-openjdk -> /etc/alternatives/jre_openjdk
[root@yava ~]# ls -l $JAVA_HOME
ls: cannot access /usr/lib/jvm/java-1.8.0: No such file or directory
[root@yava ~]# export JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk
[root@yava ~]# ls -l $JAVA_HOME
lrwxrwxrwx. 1 root root 35 Jun 1 20:48 /usr/lib/jvm/jre-1.8.0-openjdk -> /etc/alternatives/jre_1.8.0_openjdk
[root@yava ~]# ls -l $JAVA_HOME/bin/java
-rwxr-xr-x. 1 root root 7336 Nov 20 2015 /usr/lib/jvm/jre-1.8.0-openjdk/bin/java
[root@yava ~]# ambari-server setup
Using python /usr/bin/python2.7
Setup ambari-server
Checking SELinux...
SELinux status is 'enabled'
SELinux mode is 'permissive'
WARNING: SELinux is set to 'permissive' mode and temporarily disabled.
OK to continue [y/n] (y)? y
Ambari-server daemon is configured to run under user 'admin'. Change this setting [y/n] (n)? y
Enter user account for ambari-server daemon (root):
Adjusting ambari-server permissions and ownership...
Checking firewall status...
Redirecting to /bin/systemctl status iptables.service
Unit iptables.service could not be found.
Checking JDK...
Do you want to change Oracle JDK [y/n] (n)? y
[1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8
[2] Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7
[3] Custom JDK
==============================================================================
Enter choice (1): 3
WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on all hosts.
WARNING: JCE Policy files are required for configuring Kerberos security. If you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction Policy Files are valid on all hosts.
Path to JAVA_HOME: /usr/lib/jvm/jre-1.8.0-openjdk
Validating JDK on Ambari Server...done.
Completing setup...
Configuring database...
Enter advanced database configuration [y/n] (n)?
Configuring database...
Default properties detected. Using built-in database.
Configuring ambari database...
Checking PostgreSQL...
Configuring local database...
Connecting to local database...done.
Configuring PostgreSQL...
Backup for pg_hba found, reconfiguration not required
Extracting system views...
.
Adjusting ambari-server permissions and ownership...
Ambari Server 'setup' completed successfully.
[root@yava ~]# ambari-server start
Using python /usr/bin/python2.7
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
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.
chown: invalid user: ‘ambari.root’
[root@yava ~]# cat /root/.ssh/id_rsa
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAvYk5w0pBSwTNYb6Zc2xgkPL5WURaZjA5oug9MYpQrH+b7qEL
g9YgRIqNeeSpQZjErZoHZMQvwi6TUs0AWhsYgG4b7A6xOxd8mvqiSQB0k1QLt2ap
3s6iFr1pHHD4pS0H3Ya6gwAvDtfm3HxvBSv4r+YHPH1aG+W9ifxOCz/h450u4dCm
rxRyWtUL3QnkUXtzdhMCb9lIfw/iGohXsUcpjevCnFRjR42tn1XoCsA+5v3Hb1tg
5/5QQt/Z1gA92/X23OazPN+YO9fI8YM33sfTICdCNAXNxaW6f5zVCuany59JYlY3
hAT1Nhq+nnnc+OI6wylgvuszcjtvjeMayL+lmQIDAQABAoIBAEk3yqWjeMenKkP5
IkRReJhmFGcknZteQ9Wny4Pov7NzdGRhuBYM0NhJgc+1wqDBiDDcEMEffKeR4H2b
DejBEN0ELCsrndGLCCrCaZCz6VTEoeYOdc7JmhoYv5MqHROJ6sDr+/8BQiyEwP0p
4KVp0B77SI5Yike+n1K/sdJssjF/6y4FlE824usedhPuOrgJThlhbnjsbilwln+Z
MhWZQiJ4JJXReBza1CDWNmVpgRDxl5AouNVG1MDVjfrnh2SydfkDVoIrYj0LWLim
oaOw+KfU9lutbhlcgNFXm8IZuMvOttxPTTnUOg4EsCFSChGEs9+fhHoeRcyuZGi0
/RCqnwECgYEA8PJvHGoDRaNY6EwVkIH2NCt3B3lG4os3eSDems+8gCizQW67ihKV
eo5ElKPBaKNE4MVRXfdOXFVe1MRSXAPWH7FtAgLWP5ry54Xc0p2YKkJgGF519C8l
luOdXIyTj61A0ikxiS8Xff4jg08EsfKrlovJELYAVFzDJiC1tm/tPaECgYEAyWCN
9TQ4CGztSaxvZC3NcalSLQh7Fvh/0kRxWP0iG8rxRDwbXz7UQJRTRcFVyyB/C+DK
oYNfSnUpGYfZuVBddHbDubm/2YJKNo03sFTTwp9+RpiE699CQ2cCBJCXezLZrl9k
/yI4+Le9p1g2eJiiZhYS/KBdOfV7/zcQrUQ6NPkCgYEAha5seT5UTGnBpTi5ajDA
8db/tlTSQFTvVTQobYo+UnjCY9ZVFNkUuCeA41srrquPRooTh+fzQQVYlQHLlCPI
xFLDYS9DwYxtoojBqNUpHKExAbQ/C1ixKVNl9nhEUp3UbgXO5wcKqKu89lh8CWLT
UraButTPv/6rg1b4mpzk6qECgYEAwUiamIqpaXTbgEYwmE/aC8k/5ZdpRY/4Z6Jn
xMkZzuFIF301rIKKiP2Uu7Qom5GyP31gIAwPD1FKxIV+9X5sZNeFXyMpQCTtBFUg
6W9R3VDmi+3iTt74I+efqS/7JTWWd+Z58uQvGJKLRy7FAZVG8oMncDCfqnyzqi95
I0UENUkCgYA1tqO7yQeK8Oe/IxIQcFCtv3Eq/rpSJKWTs41eox4VFvXjwCl8i01Q
LIpZkBas9sgt2vlkBZ5z7eWT6IzMWiMY/uQuzhXGNInMHoiGXXQbhwapKp/UR4Rd
/ZGG/KWihfRMbl6h/iyzBExBgUfhx3W33xORRO7N6VbgO41XATNdVg==
-----END RSA PRIVATE KEY-----
[root@yava ~]#
[root@yava ~]# ls -l .ssh/
total 24
-rw-------. 1 root root 2000 Jun 2 03:04 authorized_keys
-rw-------. 1 root root 1679 Jun 4 20:14 id_rsa
-rw-r--r--. 1 root root 400 Jun 4 20:14 id_rsa.pub
-rw-r--r--. 1 root root 696 Jun 4 20:16 known_hosts
-rw-r--r--. 1 root root 400 Jun 2 02:54 root@192.168.3.160
-rw-r--r--. 1 root root 400 Jun 4 20:15 root@yava.coba.com
[root@yava ~]# ls -al
total 64
drwx------. 6 root root 4096 Jun 4 21:16 .
dr-xr-xr-x. 17 root root 4096 Jun 1 20:58 ..
-rw-------. 1 root root 2736 Jun 1 20:58 anaconda-ks.cfg
-rw-r--r--. 1 root root 3303 Jun 4 20:15 authorized_keys
-rw-------. 1 root root 5825 Jun 4 21:16 .bash_history
-rw-r--r--. 1 root root 18 Dec 28 2013 .bash_logout
-rw-r--r--. 1 root root 297 Jun 1 23:07 .bash_profile
-rw-r--r--. 1 root root 176 Dec 28 2013 .bashrc
drwxr-xr-x. 3 root root 17 Jun 1 21:29 .cache
drwxr-xr-x. 3 root root 17 Jun 1 21:29 .config
-rw-r--r--. 1 root root 100 Dec 28 2013 .cshrc
drwxr-----. 3 root root 18 Jun 1 23:42 .pki
-rw-------. 1 root root 1024 Jun 2 00:03 .rnd
-rw-------. 1 root root 408 Jun 2 00:45 root@192.168.3.160
drwx------. 2 root root 4096 Jun 2 02:55 .ssh
-rw-r--r--. 1 root root 129 Dec 28 2013 .tcshrc
-rw-------. 1 root root 66 Jun 4 21:05 .xauth2tamc4
-rw-------. 1 root root 132 Jun 4 20:06 .xauthoO4cY9
[root@yava ~]# vim /etc/selinux/config
[root@yava ~]# selinux
bash: selinux: command not found...
[root@yava ~]# selinux status
bash: selinux: command not found...
[root@yava ~]# getenforce
Permissive
[root@yava ~]# ssh yava.coba.com
root@yava.coba.com's password:
Last failed login: Sun Jun 4 21:30:47 PDT 2017 on pts/3
There was 1 failed login attempt since the last successful login.
Last login: Sun Jun 4 21:25:25 2017 from localhost
[root@yava ~]# exit
logout
Connection to yava.coba.com closed.
[root@yava ~]# ssh-copy-id yava.coba.com
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@yava.coba.com's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'yava.coba.com'"
and check to make sure that only the key(s) you wanted were added.
[root@yava ~]# ssh yava.coba.com
Last login: Sun Jun 4 21:38:36 2017 from yava.coba.com
[root@yava ~]# ps -ef | grep yum
root 7849 7824 35 21:39 pts/5 00:00:22 /usr/bin/python /bin/yum -y install --nogpgcheck ambari-agent-2.1.0
root 7917 7499 0 21:40 pts/4 00:00:00 grep --color=auto yum
[root@yava ~]# ps -ef | grep yum
root 8028 7499 0 21:40 pts/4 00:00:00 grep --color=auto yum
[root@yava ~]#
[coba@yava ~]$ su
Password:
[root@yava coba]# ambari-server status
Using python /usr/bin/python2.7
Ambari-server status
Ambari Server running
Found Ambari Server PID: 5489 at: /var/run/ambari-server/ambari-server.pid
[root@yava coba]# ambari-server stop
Using python /usr/bin/python2.7
Stopping ambari-server
Ambari Server stopped
[root@yava coba]# ambari-server start
Using python /usr/bin/python2.7
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
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.
chown: invalid user: ‘ambari.root’
[root@yava coba]# cat /root/.ssh/id_rsa
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAvYk5w0pBSwTNYb6Zc2xgkPL5WURaZjA5oug9MYpQrH+b7qEL
g9YgRIqNeeSpQZjErZoHZMQvwi6TUs0AWhsYgG4b7A6xOxd8mvqiSQB0k1QLt2ap
3s6iFr1pHHD4pS0H3Ya6gwAvDtfm3HxvBSv4r+YHPH1aG+W9ifxOCz/h450u4dCm
rxRyWtUL3QnkUXtzdhMCb9lIfw/iGohXsUcpjevCnFRjR42tn1XoCsA+5v3Hb1tg
5/5QQt/Z1gA92/X23OazPN+YO9fI8YM33sfTICdCNAXNxaW6f5zVCuany59JYlY3
hAT1Nhq+nnnc+OI6wylgvuszcjtvjeMayL+lmQIDAQABAoIBAEk3yqWjeMenKkP5
IkRReJhmFGcknZteQ9Wny4Pov7NzdGRhuBYM0NhJgc+1wqDBiDDcEMEffKeR4H2b
DejBEN0ELCsrndGLCCrCaZCz6VTEoeYOdc7JmhoYv5MqHROJ6sDr+/8BQiyEwP0p
4KVp0B77SI5Yike+n1K/sdJssjF/6y4FlE824usedhPuOrgJThlhbnjsbilwln+Z
MhWZQiJ4JJXReBza1CDWNmVpgRDxl5AouNVG1MDVjfrnh2SydfkDVoIrYj0LWLim
oaOw+KfU9lutbhlcgNFXm8IZuMvOttxPTTnUOg4EsCFSChGEs9+fhHoeRcyuZGi0
/RCqnwECgYEA8PJvHGoDRaNY6EwVkIH2NCt3B3lG4os3eSDems+8gCizQW67ihKV
eo5ElKPBaKNE4MVRXfdOXFVe1MRSXAPWH7FtAgLWP5ry54Xc0p2YKkJgGF519C8l
luOdXIyTj61A0ikxiS8Xff4jg08EsfKrlovJELYAVFzDJiC1tm/tPaECgYEAyWCN
9TQ4CGztSaxvZC3NcalSLQh7Fvh/0kRxWP0iG8rxRDwbXz7UQJRTRcFVyyB/C+DK
oYNfSnUpGYfZuVBddHbDubm/2YJKNo03sFTTwp9+RpiE699CQ2cCBJCXezLZrl9k
/yI4+Le9p1g2eJiiZhYS/KBdOfV7/zcQrUQ6NPkCgYEAha5seT5UTGnBpTi5ajDA
8db/tlTSQFTvVTQobYo+UnjCY9ZVFNkUuCeA41srrquPRooTh+fzQQVYlQHLlCPI
xFLDYS9DwYxtoojBqNUpHKExAbQ/C1ixKVNl9nhEUp3UbgXO5wcKqKu89lh8CWLT
UraButTPv/6rg1b4mpzk6qECgYEAwUiamIqpaXTbgEYwmE/aC8k/5ZdpRY/4Z6Jn
xMkZzuFIF301rIKKiP2Uu7Qom5GyP31gIAwPD1FKxIV+9X5sZNeFXyMpQCTtBFUg
6W9R3VDmi+3iTt74I+efqS/7JTWWd+Z58uQvGJKLRy7FAZVG8oMncDCfqnyzqi95
I0UENUkCgYA1tqO7yQeK8Oe/IxIQcFCtv3Eq/rpSJKWTs41eox4VFvXjwCl8i01Q
LIpZkBas9sgt2vlkBZ5z7eWT6IzMWiMY/uQuzhXGNInMHoiGXXQbhwapKp/UR4Rd
/ZGG/KWihfRMbl6h/iyzBExBgUfhx3W33xORRO7N6VbgO41XATNdVg==
-----END RSA PRIVATE KEY-----
[root@yava coba]#
[root@yava coba]# ssh localhost
Last login: Sun Jun 4 21:06:33 2017 from yava.coba.com
[root@yava ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#IP FQDN Alias
192.168.3.155 yava.coba.com yava
[root@yava ~]# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:62:23:43 brd ff:ff:ff:ff:ff:ff
inet 192.168.3.155/24 brd 192.168.3.255 scope global dynamic eno16777736
valid_lft 1341sec preferred_lft 1341sec
inet6 fe80::20c:29ff:fe62:2343/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
link/ether 52:54:00:cf:0d:31 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500
link/ether 52:54:00:cf:0d:31 brd ff:ff:ff:ff:ff:ff
[root@yava ~]# ls -l /var/run/ambari-server/
ambari-server.pid stack-recommendations/
[root@yava ~]# ls -l /var/run/ambari-server/
total 4
-rw-r--r--. 1 root root 5 Jun 4 21:20 ambari-server.pid
drwxr-xr-x. 2 root root 40 Jun 4 20:03 stack-recommendations
[root@yava ~]# which java
/usr/bin/java
[root@yava ~]# java -version
openjdk version "1.8.0_65"
OpenJDK Runtime Environment (build 1.8.0_65-b17)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)
[root@yava ~]# ambari-server stop
Using python /usr/bin/python2.7
Stopping ambari-server
Ambari Server stopped
[root@yava ~]# env | grep JAVA
JAVA_HOME=/usr/lib/jvm/java-1.8.0
[root@yava ~]# ls -l $JAVA_HOME
ls: cannot access /usr/lib/jvm/java-1.8.0: No such file or directory
[root@yava ~]# ls -l /usr/bin/java
lrwxrwxrwx. 1 root root 22 Jun 1 20:48 /usr/bin/java -> /etc/alternatives/java
[root@yava ~]# ls -l /etc/alternatives/java
lrwxrwxrwx. 1 root root 70 Jun 1 20:48 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre/bin/java
[root@yava ~]# ls -l /usr/lib/jvm
total 0
drwxr-xr-x. 4 root root 95 Jun 1 20:47 java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64
drwxr-xr-x. 3 root root 16 Jun 1 20:48 java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64
lrwxrwxrwx. 1 root root 21 Jun 1 20:48 jre -> /etc/alternatives/jre
lrwxrwxrwx. 1 root root 27 Jun 1 20:47 jre-1.7.0 -> /etc/alternatives/jre_1.7.0
lrwxrwxrwx. 1 root root 35 Jun 1 20:47 jre-1.7.0-openjdk -> /etc/alternatives/jre_1.7.0_openjdk
lrwxrwxrwx. 1 root root 50 Jun 1 20:47 jre-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64 -> java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64/jre
lrwxrwxrwx. 1 root root 27 Jun 1 20:48 jre-1.8.0 -> /etc/alternatives/jre_1.8.0
lrwxrwxrwx. 1 root root 35 Jun 1 20:48 jre-1.8.0-openjdk -> /etc/alternatives/jre_1.8.0_openjdk
lrwxrwxrwx. 1 root root 48 Jun 1 20:48 jre-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64 -> java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre
lrwxrwxrwx. 1 root root 29 Jun 1 20:48 jre-openjdk -> /etc/alternatives/jre_openjdk
[root@yava ~]# ls -l $JAVA_HOME
ls: cannot access /usr/lib/jvm/java-1.8.0: No such file or directory
[root@yava ~]# export JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk
[root@yava ~]# ls -l $JAVA_HOME
lrwxrwxrwx. 1 root root 35 Jun 1 20:48 /usr/lib/jvm/jre-1.8.0-openjdk -> /etc/alternatives/jre_1.8.0_openjdk
[root@yava ~]# ls -l $JAVA_HOME/bin/java
-rwxr-xr-x. 1 root root 7336 Nov 20 2015 /usr/lib/jvm/jre-1.8.0-openjdk/bin/java
[root@yava ~]# ambari-server setup
Using python /usr/bin/python2.7
Setup ambari-server
Checking SELinux...
SELinux status is 'enabled'
SELinux mode is 'permissive'
WARNING: SELinux is set to 'permissive' mode and temporarily disabled.
OK to continue [y/n] (y)? y
Ambari-server daemon is configured to run under user 'admin'. Change this setting [y/n] (n)? y
Enter user account for ambari-server daemon (root):
Adjusting ambari-server permissions and ownership...
Checking firewall status...
Redirecting to /bin/systemctl status iptables.service
Unit iptables.service could not be found.
Checking JDK...
Do you want to change Oracle JDK [y/n] (n)? y
[1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8
[2] Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7
[3] Custom JDK
==============================================================================
Enter choice (1): 3
WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on all hosts.
WARNING: JCE Policy files are required for configuring Kerberos security. If you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction Policy Files are valid on all hosts.
Path to JAVA_HOME: /usr/lib/jvm/jre-1.8.0-openjdk
Validating JDK on Ambari Server...done.
Completing setup...
Configuring database...
Enter advanced database configuration [y/n] (n)?
Configuring database...
Default properties detected. Using built-in database.
Configuring ambari database...
Checking PostgreSQL...
Configuring local database...
Connecting to local database...done.
Configuring PostgreSQL...
Backup for pg_hba found, reconfiguration not required
Extracting system views...
.
Adjusting ambari-server permissions and ownership...
Ambari Server 'setup' completed successfully.
[root@yava ~]# ambari-server start
Using python /usr/bin/python2.7
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
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.
chown: invalid user: ‘ambari.root’
[root@yava ~]# cat /root/.ssh/id_rsa
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAvYk5w0pBSwTNYb6Zc2xgkPL5WURaZjA5oug9MYpQrH+b7qEL
g9YgRIqNeeSpQZjErZoHZMQvwi6TUs0AWhsYgG4b7A6xOxd8mvqiSQB0k1QLt2ap
3s6iFr1pHHD4pS0H3Ya6gwAvDtfm3HxvBSv4r+YHPH1aG+W9ifxOCz/h450u4dCm
rxRyWtUL3QnkUXtzdhMCb9lIfw/iGohXsUcpjevCnFRjR42tn1XoCsA+5v3Hb1tg
5/5QQt/Z1gA92/X23OazPN+YO9fI8YM33sfTICdCNAXNxaW6f5zVCuany59JYlY3
hAT1Nhq+nnnc+OI6wylgvuszcjtvjeMayL+lmQIDAQABAoIBAEk3yqWjeMenKkP5
IkRReJhmFGcknZteQ9Wny4Pov7NzdGRhuBYM0NhJgc+1wqDBiDDcEMEffKeR4H2b
DejBEN0ELCsrndGLCCrCaZCz6VTEoeYOdc7JmhoYv5MqHROJ6sDr+/8BQiyEwP0p
4KVp0B77SI5Yike+n1K/sdJssjF/6y4FlE824usedhPuOrgJThlhbnjsbilwln+Z
MhWZQiJ4JJXReBza1CDWNmVpgRDxl5AouNVG1MDVjfrnh2SydfkDVoIrYj0LWLim
oaOw+KfU9lutbhlcgNFXm8IZuMvOttxPTTnUOg4EsCFSChGEs9+fhHoeRcyuZGi0
/RCqnwECgYEA8PJvHGoDRaNY6EwVkIH2NCt3B3lG4os3eSDems+8gCizQW67ihKV
eo5ElKPBaKNE4MVRXfdOXFVe1MRSXAPWH7FtAgLWP5ry54Xc0p2YKkJgGF519C8l
luOdXIyTj61A0ikxiS8Xff4jg08EsfKrlovJELYAVFzDJiC1tm/tPaECgYEAyWCN
9TQ4CGztSaxvZC3NcalSLQh7Fvh/0kRxWP0iG8rxRDwbXz7UQJRTRcFVyyB/C+DK
oYNfSnUpGYfZuVBddHbDubm/2YJKNo03sFTTwp9+RpiE699CQ2cCBJCXezLZrl9k
/yI4+Le9p1g2eJiiZhYS/KBdOfV7/zcQrUQ6NPkCgYEAha5seT5UTGnBpTi5ajDA
8db/tlTSQFTvVTQobYo+UnjCY9ZVFNkUuCeA41srrquPRooTh+fzQQVYlQHLlCPI
xFLDYS9DwYxtoojBqNUpHKExAbQ/C1ixKVNl9nhEUp3UbgXO5wcKqKu89lh8CWLT
UraButTPv/6rg1b4mpzk6qECgYEAwUiamIqpaXTbgEYwmE/aC8k/5ZdpRY/4Z6Jn
xMkZzuFIF301rIKKiP2Uu7Qom5GyP31gIAwPD1FKxIV+9X5sZNeFXyMpQCTtBFUg
6W9R3VDmi+3iTt74I+efqS/7JTWWd+Z58uQvGJKLRy7FAZVG8oMncDCfqnyzqi95
I0UENUkCgYA1tqO7yQeK8Oe/IxIQcFCtv3Eq/rpSJKWTs41eox4VFvXjwCl8i01Q
LIpZkBas9sgt2vlkBZ5z7eWT6IzMWiMY/uQuzhXGNInMHoiGXXQbhwapKp/UR4Rd
/ZGG/KWihfRMbl6h/iyzBExBgUfhx3W33xORRO7N6VbgO41XATNdVg==
-----END RSA PRIVATE KEY-----
[root@yava ~]#
[root@yava ~]# ls -l .ssh/
total 24
-rw-------. 1 root root 2000 Jun 2 03:04 authorized_keys
-rw-------. 1 root root 1679 Jun 4 20:14 id_rsa
-rw-r--r--. 1 root root 400 Jun 4 20:14 id_rsa.pub
-rw-r--r--. 1 root root 696 Jun 4 20:16 known_hosts
-rw-r--r--. 1 root root 400 Jun 2 02:54 root@192.168.3.160
-rw-r--r--. 1 root root 400 Jun 4 20:15 root@yava.coba.com
[root@yava ~]# ls -al
total 64
drwx------. 6 root root 4096 Jun 4 21:16 .
dr-xr-xr-x. 17 root root 4096 Jun 1 20:58 ..
-rw-------. 1 root root 2736 Jun 1 20:58 anaconda-ks.cfg
-rw-r--r--. 1 root root 3303 Jun 4 20:15 authorized_keys
-rw-------. 1 root root 5825 Jun 4 21:16 .bash_history
-rw-r--r--. 1 root root 18 Dec 28 2013 .bash_logout
-rw-r--r--. 1 root root 297 Jun 1 23:07 .bash_profile
-rw-r--r--. 1 root root 176 Dec 28 2013 .bashrc
drwxr-xr-x. 3 root root 17 Jun 1 21:29 .cache
drwxr-xr-x. 3 root root 17 Jun 1 21:29 .config
-rw-r--r--. 1 root root 100 Dec 28 2013 .cshrc
drwxr-----. 3 root root 18 Jun 1 23:42 .pki
-rw-------. 1 root root 1024 Jun 2 00:03 .rnd
-rw-------. 1 root root 408 Jun 2 00:45 root@192.168.3.160
drwx------. 2 root root 4096 Jun 2 02:55 .ssh
-rw-r--r--. 1 root root 129 Dec 28 2013 .tcshrc
-rw-------. 1 root root 66 Jun 4 21:05 .xauth2tamc4
-rw-------. 1 root root 132 Jun 4 20:06 .xauthoO4cY9
[root@yava ~]# vim /etc/selinux/config
[root@yava ~]# selinux
bash: selinux: command not found...
[root@yava ~]# selinux status
bash: selinux: command not found...
[root@yava ~]# getenforce
Permissive
[root@yava ~]# ssh yava.coba.com
root@yava.coba.com's password:
Last failed login: Sun Jun 4 21:30:47 PDT 2017 on pts/3
There was 1 failed login attempt since the last successful login.
Last login: Sun Jun 4 21:25:25 2017 from localhost
[root@yava ~]# exit
logout
Connection to yava.coba.com closed.
[root@yava ~]# ssh-copy-id yava.coba.com
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@yava.coba.com's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'yava.coba.com'"
and check to make sure that only the key(s) you wanted were added.
[root@yava ~]# ssh yava.coba.com
Last login: Sun Jun 4 21:38:36 2017 from yava.coba.com
[root@yava ~]# ps -ef | grep yum
root 7849 7824 35 21:39 pts/5 00:00:22 /usr/bin/python /bin/yum -y install --nogpgcheck ambari-agent-2.1.0
root 7917 7499 0 21:40 pts/4 00:00:00 grep --color=auto yum
[root@yava ~]# ps -ef | grep yum
root 8028 7499 0 21:40 pts/4 00:00:00 grep --color=auto yum
[root@yava ~]#
[coba@localhost ~]$ hostname -f
localhost
[coba@localhost ~]$ hostname yava.coba.com
hostname: you must be root to change the host name
[coba@localhost ~]$ su
Password:
[root@localhost coba]# hostname yava.coba.com
[root@localhost coba]# hostname localhost
[root@localhost coba]# hostname yava.coba.com
[root@localhost coba]# ambari-server status
Using python /usr/bin/python2.7
Ambari-server status
Ambari Server running
Found Ambari Server PID: 2758 at: /var/run/ambari-server/ambari-server.pid
[root@localhost coba]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:62:23:43 brd ff:ff:ff:ff:ff:ff
inet 192.168.3.155/24 brd 192.168.3.255 scope global dynamic eno16777736
valid_lft 1329sec preferred_lft 1329sec
inet6 fe80::20c:29ff:fe62:2343/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
link/ether 52:54:00:cf:0d:31 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500
link/ether 52:54:00:cf:0d:31 brd ff:ff:ff:ff:ff:ff
[root@localhost coba]# cat /etc/resolv.conf
# Generated by NetworkManager
search solusi247.com
nameserver 10.1.80.3
nameserver 192.168.3.1
[root@localhost coba]# tail -f /var/log/ambari-server/ambari-server.log
04 Jun 2017 21:16:48,886 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:16:48,886 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:16:58,888 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:16:58,888 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:17:08,889 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:17:08,889 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:17:18,890 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:17:18,890 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:17:28,891 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:17:28,891 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
^C
[root@localhost coba]# ps -ef | grep ambari
admin 5489 1 7 21:04 ? 00:01:02 /usr/jdk64/jdk1.8.0_40/bin/java -server -XX:NewRatio=3 -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -XX:CMSInitiatingOccupancyFraction=60 -Dsun.zip.disableMemoryMapping=true -Xms512m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false -Xms512m -Xmx2048m -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/ambar-server/* org.apache.ambari.server.controller.AmbariServer
postgres 5508 2494 0 21:04 ? 00:00:00 postgres: ambari ambari 127.0.0.1(42789) idle
postgres 5515 2494 0 21:04 ? 00:00:01 postgres: ambari ambari 127.0.0.1(42791) idle
postgres 5829 2494 0 21:06 ? 00:00:00 postgres: ambari ambari 127.0.0.1(42794) idle
postgres 5830 2494 0 21:06 ? 00:00:00 postgres: ambari ambari 127.0.0.1(42795) idle
postgres 5831 2494 0 21:06 ? 00:00:00 postgres: ambari ambari 127.0.0.1(42797) idle
postgres 5893 2494 0 21:06 ? 00:00:00 postgres: ambari ambari 127.0.0.1(42799) idle
root 6264 3899 0 21:18 pts/0 00:00:00 grep --color=auto ambari
[root@localhost coba]# rpm -qa | grep ambari
ambari-server-2.1.0-21.x86_64
[root@localhost coba]# cat /etc/ambari-server/conf/
ambari.properties log4j.properties
krb5JAASLogin.conf password.dat
[root@localhost coba]# cat /etc/ambari-server/conf/ambari.properties
#
# Copyright 2011 The Apache Software Foundation
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#Fri Jun 02 03:27:50 PDT 2017
jdk1.7.dest-file=jdk-7u67-linux-x64.tar.gz
kerberos.keytab.cache.dir=/var/lib/ambari-server/data/cache
agent.package.install.task.timeout=1800
server.connection.max.idle.millis=900000
bootstrap.script=/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py
server.version.file=/var/lib/ambari-server/resources/version
api.authenticate=true
server.persistence.type=local
jdk1.8.jcpol-url=http://public-repo-1.hortonworks.com/ARTIFACTS/jce_policy-8.zip
jdk1.8.dest-file=jdk-8u40-linux-x64.tar.gz
common.services.path=/var/lib/ambari-server/resources/common-services
ambari-server.user=admin
webapp.dir=/usr/lib/ambari-server/web
agent.threadpool.size.max=25
ambari.python.wrap=ambari-python-wrap
agent.task.timeout=900
jdk1.7.url=http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-7u67-linux-x64.tar.gz
server.jdbc.user.name=ambari
server.os_family=redhat7
java.home=/usr/jdk64/jdk1.8.0_40
server.jdbc.postgres.schema=ambari
jdk.name=jdk-8u40-linux-x64.tar.gz
java.releases=jdk1.8,jdk1.7
skip.service.checks=false
shared.resources.dir=/usr/lib/ambari-server/lib/ambari_commons/resources
recommendations.dir=/var/run/ambari-server/stack-recommendations
ulimit.open.files=10000
jdk1.8.desc=Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8
server.os_type=centos7
resources.dir=/var/lib/ambari-server/resources
custom.action.definitions=/var/lib/ambari-server/resources/custom_action_definitions
views.request.connect.timeout.millis=5000
jdk1.7.re=(jdk.*)/jre
server.execution.scheduler.maxDbConnections=5
jdk1.7.jcpol-url=http://public-repo-1.hortonworks.com/ARTIFACTS/UnlimitedJCEPolicyJDK7.zip
bootstrap.setup_agent.script=/usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
jdk1.8.jcpol-file=jce_policy-8.zip
server.http.session.inactive_timeout=1800
jdk1.7.jcpol-file=UnlimitedJCEPolicyJDK7.zip
server.execution.scheduler.misfire.toleration.minutes=480
security.server.keys_dir=/var/lib/ambari-server/keys
stackadvisor.script=/var/lib/ambari-server/resources/scripts/stack_advisor.py
server.tmp.dir=/var/lib/ambari-server/data/tmp
server.execution.scheduler.maxThreads=5
metadata.path=/var/lib/ambari-server/resources/stacks
server.fqdn.service.url=http://169.254.169.254/latest/meta-data/public-hostname
bootstrap.dir=/var/run/ambari-server/bootstrap
jdk1.7.home=/usr/jdk64/
jdk1.8.url=http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-8u40-linux-x64.tar.gz
jdk1.8.home=/usr/jdk64/
jdk1.8.re=(jdk.*)/jre
jce.name=jce_policy-8.zip
client.threadpool.size.max=25
jdk1.7.desc=Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7
server.jdbc.user.passwd=/etc/ambari-server/conf/password.dat
server.execution.scheduler.isClustered=false
server.stages.parallel=true
views.request.read.timeout.millis=10000
server.jdbc.database=postgres
server.jdbc.database_name=ambari
[root@localhost coba]# tail -f /var/log/ambari-server/ambari-server.log
04 Jun 2017 21:19:08,909 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:19:08,909 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:19:18,910 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:19:18,910 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:19:28,913 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:19:28,913 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:19:38,915 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:19:38,915 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:19:48,917 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:19:48,917 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:19:58,919 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:19:58,919 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:20:08,920 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:20:08,921 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:20:18,923 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:20:18,923 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:20:40,510 INFO [main] Configuration:594 - Reading password from existing file
04 Jun 2017 21:20:40,523 INFO [main] Configuration:864 - Hosts Mapping File null
04 Jun 2017 21:20:40,524 INFO [main] HostsMap:60 - Using hostsmap file null
04 Jun 2017 21:20:40,967 INFO [main] ControllerModule:185 - Detected POSTGRES as the database type from the JDBC URL
04 Jun 2017 21:20:42,037 INFO [main] ControllerModule:558 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
04 Jun 2017 21:20:42,047 INFO [main] ControllerModule:558 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
04 Jun 2017 21:20:42,049 INFO [main] ControllerModule:558 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
04 Jun 2017 21:20:44,811 INFO [main] AmbariServer:705 - Getting the controller
04 Jun 2017 21:20:46,302 INFO [main] StackManager:107 - Initializing the stack manager...
04 Jun 2017 21:20:46,303 INFO [main] StackManager:267 - Validating stack directory /var/lib/ambari-server/resources/stacks ...
04 Jun 2017 21:20:46,303 INFO [main] StackManager:243 - Validating common services directory /var/lib/ambari-server/resources/common-services ...
04 Jun 2017 21:20:46,942 INFO [main] StackDirectory:447 - Role command order info was loaded from file: /var/lib/ambari-server/resources/stacks/YAVA/2.0/role_command_order.json
04 Jun 2017 21:20:47,160 INFO [main] StackDirectory:447 - Role command order info was loaded from file: /var/lib/ambari-server/resources/stacks/YAVA/2.1/role_command_order.json
04 Jun 2017 21:20:47,299 INFO [main] StackDirectory:447 - Role command order info was loaded from file: /var/lib/ambari-server/resources/stacks/YAVA/2.1.0.6/role_command_order.json
04 Jun 2017 21:20:47,300 ERROR [main] ThemeModule:64 - Theme file not found
04 Jun 2017 21:20:47,301 ERROR [main] ThemeModule:73 - Unable to parse theme file
java.io.EOFException: No content to map to Object due to end of input
at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2766)
at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1877)
at org.apache.ambari.server.stack.ThemeModule.<init>(ThemeModule.java:67)
at org.apache.ambari.server.stack.ServiceModule.populateThemeModules(ServiceModule.java:306)
at org.apache.ambari.server.stack.ServiceModule.<init>(ServiceModule.java:120)
at org.apache.ambari.server.stack.ServiceModule.<init>(ServiceModule.java:93)
at org.apache.ambari.server.stack.StackModule.populateService(StackModule.java:482)
at org.apache.ambari.server.stack.StackModule.populateServices(StackModule.java:458)
at org.apache.ambari.server.stack.StackModule.populateStackInfo(StackModule.java:435)
at org.apache.ambari.server.stack.StackModule.<init>(StackModule.java:130)
at org.apache.ambari.server.stack.StackManager.parseStackDirectory(StackManager.java:347)
at org.apache.ambari.server.stack.StackManager.<init>(StackManager.java:116)
at org.apache.ambari.server.stack.StackManager$$FastClassByGuice$$33e4ffe0.newInstance(<generated>)
at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632)
at com.sun.proxy.$Proxy25.create(Unknown Source)
at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:246)
at org.apache.ambari.server.api.services.AmbariMetaInfo$$FastClassByGuice$$202844bc.invoke(<generated>)
at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53)
at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:56)
at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:90)
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:710)
04 Jun 2017 21:20:48,011 INFO [main] ActionDefinitionManager:124 - Added custom action definition for check_host
04 Jun 2017 21:20:48,012 INFO [main] ActionDefinitionManager:124 - Added custom action definition for validate_configs
04 Jun 2017 21:20:48,012 INFO [main] ActionDefinitionManager:124 - Added custom action definition for install_packages
04 Jun 2017 21:20:48,012 INFO [main] ActionDefinitionManager:124 - Added custom action definition for ru_execute_tasks
04 Jun 2017 21:20:48,014 INFO [main] CertificateManager:68 - Initialization of root certificate
04 Jun 2017 21:20:48,014 INFO [main] CertificateManager:70 - Certificate exists:true
04 Jun 2017 21:20:48,160 INFO [main] Configuration:680 - Credential provider creation failed. Reason: Master key initialization failed.
04 Jun 2017 21:20:48,173 INFO [main] ClustersImpl:157 - Initializing the ClustersImpl
04 Jun 2017 21:20:48,512 INFO [main] AmbariManagementControllerImpl:286 - Initializing the AmbariManagementControllerImpl
04 Jun 2017 21:20:48,619 INFO [main] DatabaseChecker:151 - Checking DB store version
04 Jun 2017 21:20:48,622 INFO [main] DatabaseChecker:177 - DB store version is compatible
04 Jun 2017 21:20:48,622 INFO [main] DatabaseChecker:55 - Checking DB consistency
04 Jun 2017 21:20:48,623 INFO [main] DatabaseChecker:143 - DB consistency check passed.
04 Jun 2017 21:20:48,644 INFO [main] ClassPathXmlApplicationContext:456 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@6c2e7591: startup date [Sun Jun 04 21:20:48 PDT 2017]; root of context hierarchy
04 Jun 2017 21:20:48,710 INFO [main] DefaultListableBeanFactory:557 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5ce41f1f: defining beans []; root of factory hierarchy
04 Jun 2017 21:20:48,722 INFO [main] ClassPathXmlApplicationContext:456 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@96c840a: startup date [Sun Jun 04 21:20:48 PDT 2017]; parent: org.springframework.context.support.ClassPathXmlApplicationContext@6c2e7591
04 Jun 2017 21:20:48,724 INFO [main] XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [webapp/WEB-INF/spring-security.xml]
04 Jun 2017 21:20:48,951 INFO [main] SpringSecurityCoreVersion:33 - You are running with Spring Security Core 3.1.2.RELEASE
04 Jun 2017 21:20:48,951 INFO [main] SecurityNamespaceHandler:59 - Spring Security 'config' module version is 3.1.2.RELEASE
04 Jun 2017 21:20:49,003 INFO [main] FilterInvocationSecurityMetadataSourceParser:134 - Creating access control expression attribute 'isAuthenticated()' for /**
04 Jun 2017 21:20:49,026 INFO [main] HttpSecurityBeanDefinitionParser:264 - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 300, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1200, <ambariAuthorizationFilter>, order = 1201, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1300, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1400, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1900, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2000]
04 Jun 2017 21:20:49,040 INFO [main] DefaultListableBeanFactory:557 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@15bcecf9: defining beans [org.springframework.security.filterChains,org.springframework.security.filterChainProxy,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.PortResolverImpl#0,org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.userDetailsServiceFactory,org.springframework.security.web.DefaultSecurityFilterChain#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,ambariEntryPoint]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@5ce41f1f
04 Jun 2017 21:20:49,251 INFO [main] DefaultSecurityFilterChain:28 - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@70940cb8, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@47fce2c4, org.apache.ambari.server.security.authorization.AmbariAuthorizationFilter@3810806c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2b76ecd5, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7bd7c4cf, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5b9df3b3, org.springframework.security.web.session.SessionManagementFilter@67b20b4c, org.springframework.security.web.access.ExceptionTranslationFilter@7bbe532b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3e0a112f]
04 Jun 2017 21:20:49,294 INFO [main] Configuration:855 - Web App DIR test /usr/lib/ambari-server/web
04 Jun 2017 21:20:49,305 INFO [main] CertificateManager:68 - Initialization of root certificate
04 Jun 2017 21:20:49,305 INFO [main] CertificateManager:70 - Certificate exists:true
04 Jun 2017 21:20:49,391 INFO [main] ViewRegistry:1526 - Reading view archive /var/lib/ambari-server/resources/views/ambari-admin-2.1.0.21.0530-11.jar.
04 Jun 2017 21:20:49,502 INFO [main] ViewRegistry:1551 - View deployed: ADMIN_VIEW{2.1.0}.
04 Jun 2017 21:20:49,508 INFO [main] AmbariServer:467 - ********* Initializing Clusters **********
04 Jun 2017 21:20:49,508 INFO [main] AmbariServer:471 - ********* Current Clusters State *********
04 Jun 2017 21:20:49,508 INFO [main] AmbariServer:472 - Clusters=[ ]
04 Jun 2017 21:20:49,508 INFO [main] AmbariServer:474 - ********* Reconciling Alert Definitions **********
04 Jun 2017 21:20:49,509 INFO [main] AmbariServer:477 - ********* Initializing ActionManager **********
04 Jun 2017 21:20:49,509 INFO [main] AmbariServer:479 - ********* Initializing Controller **********
04 Jun 2017 21:20:49,509 INFO [main] AmbariServer:483 - ********* Initializing Scheduled Request Manager **********
04 Jun 2017 21:20:49,550 INFO [main] Server:272 - jetty-8.1.17.v20150415
04 Jun 2017 21:20:49,580 WARN [main] WebInfConfiguration:383 - Can't reuse /tmp/jetty-0.0.0.0-8080-ADMIN_VIEW.2.1.0.-_views_ADMIN_VIEW_2.1.0_INSTANCE-any-, using /tmp/jetty-0.0.0.0-8080-ADMIN_VIEW.2.1.0.-_views_ADMIN_VIEW_2.1.0_INSTANCE-any-_7813513403954127185
04 Jun 2017 21:20:59,418 INFO [main] AbstractConnector:338 - Started SelectChannelConnector@0.0.0.0:8080
04 Jun 2017 21:20:59,419 INFO [main] Server:272 - jetty-8.1.17.v20150415
04 Jun 2017 21:21:07,192 INFO [main] SslContextFactory:300 - Enabled Protocols [SSLv2Hello, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
04 Jun 2017 21:21:07,200 INFO [main] AbstractConnector:338 - Started SslSelectChannelConnector@0.0.0.0:8440
04 Jun 2017 21:21:07,223 INFO [main] SslContextFactory:300 - Enabled Protocols [SSLv2Hello, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
04 Jun 2017 21:21:07,228 INFO [main] AbstractConnector:338 - Started SslSelectChannelConnector@0.0.0.0:8441
04 Jun 2017 21:21:07,259 INFO [main] AmbariServer:500 - ********* Started Server **********
04 Jun 2017 21:21:07,260 INFO [main] ActionManager:78 - Starting scheduler thread
04 Jun 2017 21:21:07,262 INFO [main] ServerActionExecutor:135 - Starting Server Action Executor thread...
04 Jun 2017 21:21:07,264 INFO [main] ServerActionExecutor:162 - Server Action Executor thread started.
04 Jun 2017 21:21:07,264 INFO [main] AmbariServer:503 - ********* Started ActionManager **********
04 Jun 2017 21:21:07,264 INFO [main] ExecutionScheduleManager:201 - Starting scheduler
04 Jun 2017 21:21:07,363 INFO [main] MLog:80 - MLog clients using log4j logging.
04 Jun 2017 21:21:07,439 INFO [main] C3P0Registry:204 - Initializing c3p0-0.9.1.1 [built 15-March-2007 01:32:31; debug? true; trace: 10]
04 Jun 2017 21:21:07,475 INFO [main] StdSchedulerFactory:1184 - Using default implementation for ThreadExecutor
04 Jun 2017 21:21:07,497 INFO [main] SchedulerSignalerImpl:61 - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
04 Jun 2017 21:21:07,497 INFO [main] QuartzScheduler:240 - Quartz Scheduler v.2.2.1 created.
04 Jun 2017 21:21:07,498 INFO [main] JobStoreTX:670 - Using thread monitor-based data access locking (synchronization).
04 Jun 2017 21:21:07,499 INFO [main] JobStoreTX:59 - JobStoreTX initialized.
04 Jun 2017 21:21:07,500 INFO [main] QuartzScheduler:305 - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'ExecutionScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 5 threads.
Using job-store 'org.quartz.impl.jdbcjobstore.JobStoreTX' - which supports persistence. and is not clustered.
04 Jun 2017 21:21:07,501 INFO [main] StdSchedulerFactory:1339 - Quartz scheduler 'ExecutionScheduler' initialized from an externally provided properties instance.
04 Jun 2017 21:21:07,501 INFO [main] StdSchedulerFactory:1343 - Quartz scheduler version: 2.2.1
04 Jun 2017 21:21:07,502 INFO [main] QuartzScheduler:2311 - JobFactory set to: org.apache.ambari.server.state.scheduler.GuiceJobFactory@4117e0c9
04 Jun 2017 21:21:07,507 INFO [main] AmbariServer:506 - ********* Started Scheduled Request Manager **********
04 Jun 2017 21:21:07,519 INFO [main] AmbariServer:509 - ********* Started Services **********
04 Jun 2017 21:21:41,806 INFO [qtp-client-21] PersistKeyValueService:82 - Looking for keyName CLUSTER_CURRENT_STATUS
04 Jun 2017 21:23:07,559 INFO [Thread-21] AbstractPoolBackedDataSource:462 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge1ln9owvihmbpxm3yg|19bad88, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge1ln9owvihmbpxm3yg|19bad88, idleConnectionTestPeriod -> 50, initialPoolSize -> 3, jdbcUrl -> jdbc:postgresql://localhost/ambari, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 5, maxStatements -> 0, maxStatementsPerConnection -> 120, minPoolSize -> 1, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> select 0, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
04 Jun 2017 21:23:07,687 INFO [Thread-21] JobStoreTX:861 - Freed 0 triggers from 'acquired' / 'blocked' state.
04 Jun 2017 21:23:07,701 INFO [Thread-21] JobStoreTX:871 - Recovering 0 jobs that were in-progress at the time of the last shut-down.
04 Jun 2017 21:23:07,701 INFO [Thread-21] JobStoreTX:884 - Recovery complete.
04 Jun 2017 21:23:07,703 INFO [Thread-21] JobStoreTX:891 - Removed 0 'complete' triggers.
04 Jun 2017 21:23:07,708 INFO [Thread-21] JobStoreTX:896 - Removed 0 stale fired job entries.
04 Jun 2017 21:23:07,712 INFO [Thread-21] QuartzScheduler:575 - Scheduler ExecutionScheduler_$_NON_CLUSTERED started.
04 Jun 2017 21:23:19,992 INFO [qtp-client-22] BootStrapImpl:108 - BootStrapping hosts yava.coba.com:
04 Jun 2017 21:23:20,000 INFO [Thread-32] BSRunner:160 - Kicking off the scheduler for polling on logs in /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:23:20,001 INFO [Thread-32] BSRunner:335 - Error executing bootstrap Cannot create /var/run/ambari-server/bootstrap
04 Jun 2017 21:23:20,002 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:23:20,002 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:23:20,003 ERROR [Thread-32] BSRunner:390 - java.io.FileNotFoundException: /var/run/ambari-server/bootstrap/1/yava.coba.com.done (No such file or directory)
04 Jun 2017 21:23:20,004 WARN [Thread-32] BSRunner:361 - File does not exist: /var/run/ambari-server/bootstrap/1/sshKey
04 Jun 2017 21:23:30,006 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:23:30,006 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:23:40,008 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:23:40,008 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:23:50,010 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:23:50,010 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:24:00,010 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:24:00,011 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:24:10,012 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:24:10,012 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:24:20,012 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:24:20,013 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:24:30,015 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:24:30,015 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:24:40,016 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:24:40,016 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:24:50,018 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:24:50,019 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:25:00,020 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:25:00,020 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:25:10,022 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:25:10,022 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:25:20,024 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:25:20,024 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:25:30,025 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:25:30,025 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:25:40,027 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:25:40,027 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:25:50,028 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:25:50,028 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:26:00,030 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:26:00,030 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:26:10,033 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:26:10,033 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:26:20,034 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:26:20,034 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:26:30,035 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:26:30,035 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:26:40,036 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:26:40,036 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:26:50,037 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:26:50,037 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:27:00,039 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:27:00,039 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:31:20,731 INFO [main] Configuration:594 - Reading password from existing file
04 Jun 2017 21:31:41,120 INFO [main] Configuration:594 - Reading password from existing file
04 Jun 2017 21:31:41,131 INFO [main] Configuration:864 - Hosts Mapping File null
04 Jun 2017 21:31:41,131 INFO [main] HostsMap:60 - Using hostsmap file null
04 Jun 2017 21:31:41,617 INFO [main] ControllerModule:185 - Detected POSTGRES as the database type from the JDBC URL
04 Jun 2017 21:31:42,747 INFO [main] ControllerModule:558 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
04 Jun 2017 21:31:42,759 INFO [main] ControllerModule:558 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
04 Jun 2017 21:31:42,762 INFO [main] ControllerModule:558 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
04 Jun 2017 21:31:45,479 INFO [main] AmbariServer:705 - Getting the controller
04 Jun 2017 21:31:46,882 INFO [main] StackManager:107 - Initializing the stack manager...
04 Jun 2017 21:31:46,883 INFO [main] StackManager:267 - Validating stack directory /var/lib/ambari-server/resources/stacks ...
04 Jun 2017 21:31:46,883 INFO [main] StackManager:243 - Validating common services directory /var/lib/ambari-server/resources/common-services ...
04 Jun 2017 21:31:47,584 INFO [main] StackDirectory:447 - Role command order info was loaded from file: /var/lib/ambari-server/resources/stacks/YAVA/2.0/role_command_order.json
04 Jun 2017 21:31:47,772 INFO [main] StackDirectory:447 - Role command order info was loaded from file: /var/lib/ambari-server/resources/stacks/YAVA/2.1/role_command_order.json
04 Jun 2017 21:31:47,905 INFO [main] StackDirectory:447 - Role command order info was loaded from file: /var/lib/ambari-server/resources/stacks/YAVA/2.1.0.6/role_command_order.json
04 Jun 2017 21:31:47,908 ERROR [main] ThemeModule:64 - Theme file not found
04 Jun 2017 21:31:47,909 ERROR [main] ThemeModule:73 - Unable to parse theme file
java.io.EOFException: No content to map to Object due to end of input
at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2766)
at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1877)
at org.apache.ambari.server.stack.ThemeModule.<init>(ThemeModule.java:67)
at org.apache.ambari.server.stack.ServiceModule.populateThemeModules(ServiceModule.java:306)
at org.apache.ambari.server.stack.ServiceModule.<init>(ServiceModule.java:120)
at org.apache.ambari.server.stack.ServiceModule.<init>(ServiceModule.java:93)
at org.apache.ambari.server.stack.StackModule.populateService(StackModule.java:482)
at org.apache.ambari.server.stack.StackModule.populateServices(StackModule.java:458)
at org.apache.ambari.server.stack.StackModule.populateStackInfo(StackModule.java:435)
at org.apache.ambari.server.stack.StackModule.<init>(StackModule.java:130)
at org.apache.ambari.server.stack.StackManager.parseStackDirectory(StackManager.java:347)
at org.apache.ambari.server.stack.StackManager.<init>(StackManager.java:116)
at org.apache.ambari.server.stack.StackManager$$FastClassByGuice$$33e4ffe0.newInstance(<generated>)
at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632)
at com.sun.proxy.$Proxy25.create(Unknown Source)
at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:246)
at org.apache.ambari.server.api.services.AmbariMetaInfo$$FastClassByGuice$$202844bc.invoke(<generated>)
at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53)
at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:56)
at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:90)
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:710)
04 Jun 2017 21:31:48,561 INFO [main] ActionDefinitionManager:124 - Added custom action definition for check_host
04 Jun 2017 21:31:48,562 INFO [main] ActionDefinitionManager:124 - Added custom action definition for validate_configs
04 Jun 2017 21:31:48,562 INFO [main] ActionDefinitionManager:124 - Added custom action definition for install_packages
04 Jun 2017 21:31:48,562 INFO [main] ActionDefinitionManager:124 - Added custom action definition for ru_execute_tasks
04 Jun 2017 21:31:48,565 INFO [main] CertificateManager:68 - Initialization of root certificate
04 Jun 2017 21:31:48,565 INFO [main] CertificateManager:70 - Certificate exists:true
04 Jun 2017 21:31:48,739 INFO [main] Configuration:680 - Credential provider creation failed. Reason: Master key initialization failed.
04 Jun 2017 21:31:48,751 INFO [main] ClustersImpl:157 - Initializing the ClustersImpl
04 Jun 2017 21:31:49,114 INFO [main] AmbariManagementControllerImpl:286 - Initializing the AmbariManagementControllerImpl
04 Jun 2017 21:31:49,256 INFO [main] DatabaseChecker:151 - Checking DB store version
04 Jun 2017 21:31:49,259 INFO [main] DatabaseChecker:177 - DB store version is compatible
04 Jun 2017 21:31:49,259 INFO [main] DatabaseChecker:55 - Checking DB consistency
04 Jun 2017 21:31:49,260 INFO [main] DatabaseChecker:143 - DB consistency check passed.
04 Jun 2017 21:31:49,282 INFO [main] ClassPathXmlApplicationContext:456 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@50f6ecab: startup date [Sun Jun 04 21:31:49 PDT 2017]; root of context hierarchy
04 Jun 2017 21:31:49,348 INFO [main] DefaultListableBeanFactory:557 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@40105b39: defining beans []; root of factory hierarchy
04 Jun 2017 21:31:49,365 INFO [main] ClassPathXmlApplicationContext:456 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@3355d9ba: startup date [Sun Jun 04 21:31:49 PDT 2017]; parent: org.springframework.context.support.ClassPathXmlApplicationContext@50f6ecab
04 Jun 2017 21:31:49,367 INFO [main] XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [webapp/WEB-INF/spring-security.xml]
04 Jun 2017 21:31:49,559 INFO [main] SpringSecurityCoreVersion:33 - You are running with Spring Security Core 3.1.2.RELEASE
04 Jun 2017 21:31:49,559 INFO [main] SecurityNamespaceHandler:59 - Spring Security 'config' module version is 3.1.2.RELEASE
04 Jun 2017 21:31:49,615 INFO [main] FilterInvocationSecurityMetadataSourceParser:134 - Creating access control expression attribute 'isAuthenticated()' for /**
04 Jun 2017 21:31:49,638 INFO [main] HttpSecurityBeanDefinitionParser:264 - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 300, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1200, <ambariAuthorizationFilter>, order = 1201, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1300, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1400, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1900, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2000]
04 Jun 2017 21:31:49,660 INFO [main] DefaultListableBeanFactory:557 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4bcf08ae: defining beans [org.springframework.security.filterChains,org.springframework.security.filterChainProxy,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.PortResolverImpl#0,org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.userDetailsServiceFactory,org.springframework.security.web.DefaultSecurityFilterChain#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,ambariEntryPoint]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@40105b39
04 Jun 2017 21:31:49,960 INFO [main] DefaultSecurityFilterChain:28 - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@3bf41cd0, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2748bd6c, org.apache.ambari.server.security.authorization.AmbariAuthorizationFilter@64a4739, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7ab3f194, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@613a608e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@37b1218, org.springframework.security.web.session.SessionManagementFilter@575cfec1, org.springframework.security.web.access.ExceptionTranslationFilter@32068aef, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@8ab231]
04 Jun 2017 21:31:50,008 INFO [main] Configuration:855 - Web App DIR test /usr/lib/ambari-server/web
04 Jun 2017 21:31:50,021 INFO [main] CertificateManager:68 - Initialization of root certificate
04 Jun 2017 21:31:50,021 INFO [main] CertificateManager:70 - Certificate exists:true
04 Jun 2017 21:31:50,154 INFO [main] ViewRegistry:1526 - Reading view archive /var/lib/ambari-server/resources/views/ambari-admin-2.1.0.21.0530-11.jar.
04 Jun 2017 21:31:50,253 INFO [main] ViewRegistry:1551 - View deployed: ADMIN_VIEW{2.1.0}.
04 Jun 2017 21:31:50,259 INFO [main] AmbariServer:467 - ********* Initializing Clusters **********
04 Jun 2017 21:31:50,260 INFO [main] AmbariServer:471 - ********* Current Clusters State *********
04 Jun 2017 21:31:50,260 INFO [main] AmbariServer:472 - Clusters=[ ]
04 Jun 2017 21:31:50,260 INFO [main] AmbariServer:474 - ********* Reconciling Alert Definitions **********
04 Jun 2017 21:31:50,260 INFO [main] AmbariServer:477 - ********* Initializing ActionManager **********
04 Jun 2017 21:31:50,260 INFO [main] AmbariServer:479 - ********* Initializing Controller **********
04 Jun 2017 21:31:50,260 INFO [main] AmbariServer:483 - ********* Initializing Scheduled Request Manager **********
04 Jun 2017 21:31:50,310 INFO [main] Server:272 - jetty-8.1.17.v20150415
04 Jun 2017 21:31:50,351 WARN [main] WebInfConfiguration:383 - Can't reuse /tmp/jetty-0.0.0.0-8080-ADMIN_VIEW.2.1.0.-_views_ADMIN_VIEW_2.1.0_INSTANCE-any-, using /tmp/jetty-0.0.0.0-8080-ADMIN_VIEW.2.1.0.-_views_ADMIN_VIEW_2.1.0_INSTANCE-any-_4634030038047826901
04 Jun 2017 21:31:58,886 INFO [main] AbstractConnector:338 - Started SelectChannelConnector@0.0.0.0:8080
04 Jun 2017 21:31:58,886 INFO [main] Server:272 - jetty-8.1.17.v20150415
04 Jun 2017 21:32:06,058 INFO [main] SslContextFactory:300 - Enabled Protocols [SSLv2Hello, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
04 Jun 2017 21:32:06,064 INFO [main] AbstractConnector:338 - Started SslSelectChannelConnector@0.0.0.0:8440
04 Jun 2017 21:32:06,101 INFO [main] SslContextFactory:300 - Enabled Protocols [SSLv2Hello, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
04 Jun 2017 21:32:06,105 INFO [main] AbstractConnector:338 - Started SslSelectChannelConnector@0.0.0.0:8441
04 Jun 2017 21:32:06,106 INFO [main] AmbariServer:500 - ********* Started Server **********
04 Jun 2017 21:32:06,106 INFO [main] ActionManager:78 - Starting scheduler thread
04 Jun 2017 21:32:06,108 INFO [main] ServerActionExecutor:135 - Starting Server Action Executor thread...
04 Jun 2017 21:32:06,109 INFO [main] ServerActionExecutor:162 - Server Action Executor thread started.
04 Jun 2017 21:32:06,109 INFO [main] AmbariServer:503 - ********* Started ActionManager **********
04 Jun 2017 21:32:06,132 INFO [main] ExecutionScheduleManager:201 - Starting scheduler
04 Jun 2017 21:32:06,213 INFO [main] MLog:80 - MLog clients using log4j logging.
04 Jun 2017 21:32:06,446 INFO [main] C3P0Registry:204 - Initializing c3p0-0.9.1.1 [built 15-March-2007 01:32:31; debug? true; trace: 10]
04 Jun 2017 21:32:06,485 INFO [main] StdSchedulerFactory:1184 - Using default implementation for ThreadExecutor
04 Jun 2017 21:32:06,506 INFO [main] SchedulerSignalerImpl:61 - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
04 Jun 2017 21:32:06,507 INFO [main] QuartzScheduler:240 - Quartz Scheduler v.2.2.1 created.
04 Jun 2017 21:32:06,508 INFO [main] JobStoreTX:670 - Using thread monitor-based data access locking (synchronization).
04 Jun 2017 21:32:06,509 INFO [main] JobStoreTX:59 - JobStoreTX initialized.
04 Jun 2017 21:32:06,510 INFO [main] QuartzScheduler:305 - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'ExecutionScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 5 threads.
Using job-store 'org.quartz.impl.jdbcjobstore.JobStoreTX' - which supports persistence. and is not clustered.
04 Jun 2017 21:32:06,511 INFO [main] StdSchedulerFactory:1339 - Quartz scheduler 'ExecutionScheduler' initialized from an externally provided properties instance.
04 Jun 2017 21:32:06,511 INFO [main] StdSchedulerFactory:1343 - Quartz scheduler version: 2.2.1
04 Jun 2017 21:32:06,511 INFO [main] QuartzScheduler:2311 - JobFactory set to: org.apache.ambari.server.state.scheduler.GuiceJobFactory@7e9ea888
04 Jun 2017 21:32:06,512 INFO [main] AmbariServer:506 - ********* Started Scheduled Request Manager **********
04 Jun 2017 21:32:06,521 INFO [main] AmbariServer:509 - ********* Started Services **********
04 Jun 2017 21:32:18,934 INFO [qtp-client-22] PersistKeyValueService:82 - Looking for keyName CLUSTER_CURRENT_STATUS
04 Jun 2017 21:33:24,660 INFO [qtp-client-18] BootStrapImpl:108 - BootStrapping hosts yava.coba.com:
04 Jun 2017 21:33:24,668 INFO [Thread-25] BSRunner:160 - Kicking off the scheduler for polling on logs in /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:33:24,669 INFO [Thread-25] BSRunner:220 - Host= yava.coba.com bs=/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py requestDir=/var/run/ambari-server/bootstrap/1 user=root keyfile=/var/run/ambari-server/bootstrap/1/sshKey passwordFile null server=yava.coba.com version=2.1.0 serverPort=8080 userRunAs=root
04 Jun 2017 21:33:24,669 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:33:24,670 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:33:27,155 INFO [Thread-25] BSRunner:264 - Bootstrap output, log=/var/run/ambari-server/bootstrap/1/bootstrap.err /var/run/ambari-server/bootstrap/1/bootstrap.out at yava.coba.com
04 Jun 2017 21:33:27,156 INFO [Thread-25] BSRunner:275 - Script log Mesg
INFO:root:BootStrapping hosts ['yava.coba.com'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: redhat7 with user 'root' sshKey File /var/run/ambari-server/bootstrap/1/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/1 ambari: yava.coba.com; server_port: 8080; ambari version: 2.1.0; user_run_as: root
INFO:root:Executing parallel bootstrap
ERROR:root:ERROR: Bootstrap of host yava.coba.com fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: Warning: Permanently added the ECDSA host key for IP address '192.168.3.155' to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
STDOUT:
Warning: Permanently added the ECDSA host key for IP address '192.168.3.155' to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
INFO:root:Finished parallel bootstrap
04 Jun 2017 21:33:27,156 INFO [pool-6-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/1
04 Jun 2017 21:33:27,157 INFO [pool-6-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:33:27,916 ERROR [qtp-client-23] AbstractResourceProvider:280 - Caught AmbariException when creating a resource
org.apache.ambari.server.HostNotFoundException: Host not found, hostname=
at org.apache.ambari.server.state.cluster.ClustersImpl.getHost(ClustersImpl.java:340)
at org.apache.ambari.server.state.ConfigHelper.getEffectiveDesiredTags(ConfigHelper.java:108)
at org.apache.ambari.server.controller.AmbariManagementControllerImpl.findConfigurationTagsWithOverrides(AmbariManagementControllerImpl.java:1751)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37)
at com.sun.proxy.$Proxy82.findConfigurationTagsWithOverrides(Unknown Source)
at org.apache.ambari.server.controller.AmbariActionExecutionHelper.addExecutionCommandsToStage(AmbariActionExecutionHelper.java:366)
at org.apache.ambari.server.controller.AmbariManagementControllerImpl.createAction(AmbariManagementControllerImpl.java:3273)
at org.apache.ambari.server.controller.internal.RequestResourceProvider$1.invoke(RequestResourceProvider.java:165)
at org.apache.ambari.server.controller.internal.RequestResourceProvider$1.invoke(RequestResourceProvider.java:162)
at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:273)
at org.apache.ambari.server.controller.internal.RequestResourceProvider.createResources(RequestResourceProvider.java:162)
at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:289)
at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:76)
at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:36)
at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:72)
at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:105)
at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:74)
at org.apache.ambari.server.api.services.RequestService.createRequests(RequestService.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:540)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.apache.ambari.server.security.authorization.AmbariAuthorizationFilter.doFilter(AmbariAuthorizationFilter.java:182)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
at org.apache.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrideFilter.java:72)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
at org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistFilter.java:47)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:209)
at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:198)
at org.apache.ambari.server.controller.AmbariHandlerList.handle(AmbariHandlerList.java:132)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)
04 Jun 2017 21:33:27,921 ERROR [qtp-client-23] BaseManagementHandler:57 - Caught a system exception while attempting to create a resource
04 Jun 2017 21:34:06,561 INFO [Thread-23] AbstractPoolBackedDataSource:462 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge1ln9owvwlzxxqwna2|1415f18d, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge1ln9owvwlzxxqwna2|1415f18d, idleConnectionTestPeriod -> 50, initialPoolSize -> 3, jdbcUrl -> jdbc:postgresql://localhost/ambari, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 5, maxStatements -> 0, maxStatementsPerConnection -> 120, minPoolSize -> 1, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> select 0, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
04 Jun 2017 21:34:06,619 INFO [Thread-23] JobStoreTX:861 - Freed 0 triggers from 'acquired' / 'blocked' state.
04 Jun 2017 21:34:06,633 INFO [Thread-23] JobStoreTX:871 - Recovering 0 jobs that were in-progress at the time of the last shut-down.
04 Jun 2017 21:34:06,633 INFO [Thread-23] JobStoreTX:884 - Recovery complete.
04 Jun 2017 21:34:06,634 INFO [Thread-23] JobStoreTX:891 - Removed 0 'complete' triggers.
04 Jun 2017 21:34:06,634 INFO [Thread-23] JobStoreTX:896 - Removed 0 stale fired job entries.
04 Jun 2017 21:34:06,640 INFO [Thread-23] QuartzScheduler:575 - Scheduler ExecutionScheduler_$_NON_CLUSTERED started.
04 Jun 2017 21:39:15,819 INFO [qtp-client-20] BootStrapImpl:108 - BootStrapping hosts yava.coba.com:
04 Jun 2017 21:39:15,822 INFO [Thread-37] BSRunner:160 - Kicking off the scheduler for polling on logs in /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:39:15,822 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:39:15,823 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:39:15,824 INFO [Thread-37] BSRunner:220 - Host= yava.coba.com bs=/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py requestDir=/var/run/ambari-server/bootstrap/2 user=root keyfile=/var/run/ambari-server/bootstrap/2/sshKey passwordFile null server=yava.coba.com version=2.1.0 serverPort=8080 userRunAs=root
04 Jun 2017 21:39:25,824 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:39:25,824 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:39:35,827 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:39:35,827 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:39:45,831 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:39:45,831 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:39:55,895 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:39:55,896 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:40:05,897 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:40:05,897 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:40:15,898 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:40:15,899 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:40:25,900 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:40:25,900 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:40:34,803 WARN [qtp-ambari-agent-65] SecurityFilter:103 - Request https://yava.coba.com:8440/ca doesn't match any pattern.
04 Jun 2017 21:40:34,804 WARN [qtp-ambari-agent-65] SecurityFilter:62 - This request is not allowed on this port: https://yava.coba.com:8440/ca
04 Jun 2017 21:40:35,901 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:40:35,901 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
04 Jun 2017 21:40:37,286 INFO [qtp-ambari-agent-65] HeartBeatHandler:901 - agentOsType = centos7
04 Jun 2017 21:40:37,307 INFO [qtp-ambari-agent-65] HostImpl:285 - Received host registration, host=[hostname=yava,fqdn=yava.coba.com,domain=coba.com,architecture=x86_64,processorcount=4,physicalprocessorcount=4,osname=centos,osversion=7.2.1511,osfamily=redhat,memory=3866948,uptime_hours=1,mounts=(available=27381896,mountpoint=/,used=20650960,percent=43%,size=48032856,device=/dev/sda3,type=xfs)(available=1919108,mountpoint=/dev,used=0,percent=0%,size=1919108,device=devtmpfs,type=devtmpfs)(available=1933320,mountpoint=/dev/shm,used=152,percent=1%,size=1933472,device=tmpfs,type=tmpfs)(available=1924232,mountpoint=/run,used=9240,percent=1%,size=1933472,device=tmpfs,type=tmpfs)(available=157372,mountpoint=/boot,used=146416,percent=49%,size=303788,device=/dev/sda1,type=xfs)(available=386676,mountpoint=/run/user/1000,used=20,percent=1%,size=386696,device=tmpfs,type=tmpfs)(available=386696,mountpoint=/run/user/0,used=0,percent=0%,size=386696,device=tmpfs,type=tmpfs)]
, registrationTime=1496637637286, agentVersion=2.1.0
04 Jun 2017 21:40:37,398 INFO [qtp-ambari-agent-65] TopologyManager:186 - TopologyManager: Queueing available host yava.coba.com
04 Jun 2017 21:40:38,574 INFO [Thread-37] BSRunner:264 - Bootstrap output, log=/var/run/ambari-server/bootstrap/2/bootstrap.err /var/run/ambari-server/bootstrap/2/bootstrap.out at yava.coba.com
04 Jun 2017 21:40:38,575 INFO [Thread-37] BSRunner:275 - Script log Mesg
INFO:root:BootStrapping hosts ['yava.coba.com'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: redhat7 with user 'root' sshKey File /var/run/ambari-server/bootstrap/2/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/2 ambari: yava.coba.com; server_port: 8080; ambari version: 2.1.0; user_run_as: root
INFO:root:Executing parallel bootstrap
INFO:root:Finished parallel bootstrap
04 Jun 2017 21:40:38,576 INFO [pool-7-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
04 Jun 2017 21:40:38,576 INFO [pool-7-thread-1] BSHostStatusCollector:62 - HostList for polling on [yava.coba.com]
[coba@yava ~]$ ambari
ambari-python-wrap ambari_server_main.py
ambari-server ambari-server.py
[coba@yava ~]$ ambari-server
ambari-server ambari-server.py
[coba@yava ~]$ ambari-server -h
/usr/sbin/ambari-server: line 53: /var/lib/ambari-server/ambari-env.sh: Permission denied
Using python /usr/bin/python2.7
Usage: /usr/sbin/ambari-server
{start|stop|restart|setup|setup-jce|upgrade|status|upgradestack|setup-ldap|sync-ldap|set-current|setup-security|refresh-stack-hash|backup|restore} [options]
Use usr/sbin/ambari-server <action> --help to get details on options available.
Or, simply invoke ambari-server.py --help to print the options.
[coba@yava ~]$ sudo bash
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for coba:
^CSorry, try again.
[sudo] password for coba:
sudo: 1 incorrect password attempt
[coba@yava ~]$ su
Password:
fds
^C
[coba@yava ~]$ ls -l /usr/lib/jvm/jre-
jre-1.7.0/
jre-1.7.0-openjdk/
jre-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64/
jre-1.8.0/
jre-1.8.0-openjdk/
jre-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/
jre-openjdk/
[coba@yava ~]$ ls -l /usr/lib/jvm/jre-
jre-1.7.0/
jre-1.7.0-openjdk/
jre-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64/
jre-1.8.0/
jre-1.8.0-openjdk/
jre-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/
jre-openjdk/
[coba@yava ~]$ ls -l /usr/lib/jvm/jre-1.8.0-openjdk
lrwxrwxrwx. 1 root root 35 Jun 1 20:48 /usr/lib/jvm/jre-1.8.0-openjdk -> /etc/alternatives/jre_1.8.0_openjdk
[coba@yava ~]$ getenforce
Permissive
[coba@yava ~]$
[coba@yava ~]$ top
top - 21:39:56 up 1:38, 7 users, load average: 1.38, 0.96, 1.00
Tasks: 480 total, 7 running, 473 sleeping, 0 stopped, 0 zombie
%Cpu(s): 32.5 us, 22.0 sy, 0.0 ni, 38.1 id, 5.6 wa, 0.0 hi, 1.9 si, 0.0 st
KiB Mem : 3866948 total, 983160 free, 1522420 used, 1361368 buff/cache
KiB Swap: 4064252 total, 4064252 free, 0 used. 2040128 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7876 root 20 0 316584 11868 4644 R 70.5 0.3 0:02.61 urlgrabbe+
6521 apache 20 0 224144 3840 1924 R 58.9 0.1 0:01.95 httpd
3253 coba 9 -11 559868 7184 4252 S 47.7 0.2 0:07.37 pulseaudio
3289 coba 20 0 1949204 248720 45256 R 31.8 6.4 40:19.06 gnome-she+
3515 coba 20 0 375268 18000 14304 R 26.8 0.5 0:14.04 vmtoolsd
832 root 20 0 317548 6252 4832 S 17.9 0.2 0:14.31 vmtoolsd
3 root 20 0 0 0 0 S 16.6 0.0 0:01.38 ksoftirqd+
1814 root 20 0 288828 70112 10576 S 13.9 1.8 15:37.90 Xorg
3948 coba 20 0 1271388 355028 55332 R 11.9 9.2 16:08.54 firefox
137 root 20 0 0 0 0 R 6.3 0.0 0:12.85 rcu_sched
4847 root 20 0 0 0 0 S 4.3 0.0 0:00.51 kworker/3+
291 root 20 0 0 0 0 S 3.3 0.0 0:07.63 kworker/0+
7117 admin 20 0 5775844 412432 12792 S 3.0 10.7 0:55.90 java
3833 coba 20 0 560224 25244 12900 S 1.7 0.7 0:13.70 gnome-ter+
7137 postgres 20 0 234216 7392 4612 S 1.7 0.2 0:00.65 postgres
4547 root 20 0 0 0 0 S 1.0 0.0 0:00.58 kworker/u+
7328 root 20 0 0 0 0 S 0.7 0.0 0:00.02 kworker/3+
[coba@yava ~]$