You should connect by default to 10000, the webui port is not the port beeline connects with. Regards, Johannes
Sent from my iPhone > On Apr 23, 2018, at 6:38 AM, 侯宗田 <[email protected]> wrote: > > Hi, > > I have started hiveserver2 and try to connect it with beeline using the > following command: > >!connect jdbc:hive2://localhost:10002/default > > But get the following error > > WARN jdbc.HiveConnection: Failed to connect to localhost:10002 > Unknown HS2 problem when communicating with Thrift server. > Error: Could not open client transport with JDBC Uri: > jdbc:hive2://localhost:10002/default: Invalid status 72 (state=08S01,code=0) > beeline> > > I have set the webUI port to 10002 and mode as http, do I still lost > something? > Does anyone know what is the problem and how to solve it?
