Member since
04-24-2019
11
Posts
0
Kudos Received
0
Solutions
06-12-2019
06:50 AM
Hey Cloudera family, just a quick nooby question : am working on cloudera Single node and i want to add some security my 1st question is it possible to add Kerberos security/authentification ? my 2nd question is should i go for Kerberos or Sentry ? thanks.
... View more
Labels:
- Labels:
-
Apache Sentry
-
Cloudera Manager
-
Kerberos
05-07-2019
08:34 AM
thank u so soooooooooooooooo much ❤️ that works ! but please can u tell me why all my services are in bad health ? does that because i'm working with 7GB of RAM ?
... View more
05-03-2019
06:58 PM
Hi friend, i have this error and i have no idea from where it comes and how to fix it , am new to Cloudera please can anyone help me ? this is a screen shot : and this is the log file : at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)
... 11 more
Exception in thread "main" java.lang.RuntimeException: org.postgresql.util.PSQLException: The connection attempt failed.
at com.cloudera.cmf.service.hive.HiveMetastoreDbUtil.countTables(HiveMetastoreDbUtil.java:201)
at com.cloudera.cmf.service.hive.HiveMetastoreDbUtil.printTableCount(HiveMetastoreDbUtil.java:281)
at com.cloudera.cmf.service.hive.HiveMetastoreDbUtil.main(HiveMetastoreDbUtil.java:331)
Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:275)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)
at org.postgresql.Driver.makeConnection(Driver.java:450)
at org.postgresql.Driver.connect(Driver.java:252)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
at com.cloudera.enterprise.dbutil.SqlRunner.open(SqlRunner.java:109)
at com.cloudera.enterprise.dbutil.SqlRunner.runSingleQuery(SqlRunner.java:80)
at com.cloudera.cmf.service.hive.HiveMetastoreDbUtil.countTables(HiveMetastoreDbUtil.java:196)
... 2 more
Caused by: java.net.UnknownHostException: cloudera.isetso.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at org.postgresql.core.PGStream.<init>(PGStream.java:68)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)
... 11 more
+ NUM_TABLES='2019-05-04 03:53:18,166 [main] ERROR com.cloudera.enterprise.dbutil.SqlRunner - Error connecting to db with user '\''hive'\'' and jdbcUrl '\''jdbc:postgresql://cloudera.isetso.com:7432/hive'\'''
+ [[ 1 -ne 0 ]]
+ echo 'Failed to count existing tables.'
+ exit 1 PS : am workin on Single node. and i know its a JDBC Problem but i dont know how to fix it, please can anyone provide me with detailled steps ? Thanks.
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Hive
-
Cloudera Manager