Error: Could not open client transport with JDBC Uri: jdbc:hive2://192.168.159.131:10000: java.net.ConnectException: Connection refused (state=08S01,code=0)
This is because hiveServer2 in hive is not started. The command to start is: hive --service hiveserver2