guyuqi commented on PR #1000:
URL: https://github.com/apache/bigtop/pull/1000#issuecomment-1246461504

   @timyuer  Thanks for working on it.
   
   But after I combined the https://github.com/apache/bigtop/pull/1001 
,https://github.com/apache/bigtop/pull/1003 with this PR, and rebuilt Hive, it 
seems `HiveServer2` failed to start:
   ```
   Traceback (most recent call last):
     File 
"/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/HIVE/package/scripts/hive_server.py",
 line 143, in <module>
       HiveServer().execute()
     File 
"/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", 
line 352, in execute
       method(env)
     File 
"/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/HIVE/package/scripts/hive_server.py",
 line 53, in start
       hive_service('hiveserver2', action = 'start', upgrade_type=upgrade_type)
     File 
"/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/HIVE/package/scripts/hive_service.py",
 line 101, in hive_service
       wait_for_znode()
     File 
"/usr/lib/ambari-agent/lib/resource_management/libraries/functions/decorator.py",
 line 62, in wrapper
       return function(*args, **kwargs)
     File 
"/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/HIVE/package/scripts/hive_service.py",
 line 196, in wait_for_znode
       raise Fail(format("ZooKeeper node /{hive_server2_zookeeper_namespace} is 
not ready yet"))
   resource_management.core.exceptions.Fail: ZooKeeper node /hiveserver2 is not 
ready yet
   ```
   
   ```
   ................
   .........
   .....
   2022-09-14 08:49:51,350 - Will retry 5 time(s), caught exception: ZooKeeper 
node /hiveserver2 is not ready yet. Sleeping for 10 sec(s)
   2022-09-14 08:50:01,361 - call['/usr/lib/zookeeper/bin/zkCli.sh -server 
ambari-server:2181,ambari-agent-01:2181,ambari-agent-02:2181 ls /hiveserver2 | 
grep 'serverUri=''] {}
   2022-09-14 08:50:02,086 - call returned (1, '')
   2022-09-14 08:50:02,087 - Will retry 4 time(s), caught exception: ZooKeeper 
node /hiveserver2 is not ready yet. Sleeping for 10 sec(s)
   2022-09-14 08:50:12,098 - call['/usr/lib/zookeeper/bin/zkCli.sh -server 
ambari-server:2181,ambari-agent-01:2181,ambari-agent-02:2181 ls /hiveserver2 | 
grep 'serverUri=''] {}
   2022-09-14 08:50:12,926 - call returned (1, '')
   2022-09-14 08:50:12,927 - Will retry 3 time(s), caught exception: ZooKeeper 
node /hiveserver2 is not ready yet. Sleeping for 10 sec(s)
   2022-09-14 08:50:22,938 - call['/usr/lib/zookeeper/bin/zkCli.sh -server 
ambari-server:2181,ambari-agent-01:2181,ambari-agent-02:2181 ls /hiveserver2 | 
grep 'serverUri=''] {}
   2022-09-14 08:50:23,686 - call returned (1, '')
   2022-09-14 08:50:23,687 - Will retry 2 time(s), caught exception: ZooKeeper 
node /hiveserver2 is not ready yet. Sleeping for 10 sec(s)
   2022-09-14 08:50:33,688 - call['/usr/lib/zookeeper/bin/zkCli.sh -server 
ambari-server:2181,ambari-agent-01:2181,ambari-agent-02:2181 ls /hiveserver2 | 
grep 'serverUri=''] {}
   2022-09-14 08:50:34,521 - call returned (1, '')
   2022-09-14 08:50:34,522 - Will retry 1 time(s), caught exception: ZooKeeper 
node /hiveserver2 is not ready yet. Sleeping for 10 sec(s)
   2022-09-14 08:50:44,529 - call['/usr/lib/zookeeper/bin/zkCli.sh -server 
ambari-server:2181,ambari-agent-01:2181,ambari-agent-02:2181 ls /hiveserver2 | 
grep 'serverUri=''] {}
   2022-09-14 08:50:45,282 - call returned (1, '')
   ```
   
   `Hadoop: 3.3.4`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to