java.sql.SQLException

Could not open client transport with JDBC Uri: >jdbc:hive2://10.60.2.26:10000/default;principal=hive/example- qa1-dn2@EXAMPLE.com;auth=NOSASL: GSS initiate failed at >org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataS >our >ceUtils.java:80) at >org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:39 >1) at >org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:471) at >org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:481) at >org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate. >jav >a:491) at >org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate. >jav >a:497)

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9

Stack trace

  • java.sql.SQLException: Could not open client transport with JDBC Uri: >jdbc:hive2://10.60.2.26:10000/default;principal=hive/example- qa1-dn2@EXAMPLE.com;auth=NOSASL: GSS initiate failed at >org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataS >our >ceUtils.java:80) at >org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:39 >1) at >org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:471) at >org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:481) at >org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate. >jav >a:491) at >org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate. >jav >a:497) at com.citiustech.main.Test.main(Test.java:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

No Bugmate found.