Member since
12-08-2016
26
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
6277 | 12-28-2016 03:35 AM |
07-18-2018
09:09 AM
thank you for your reply
... View more
01-03-2017
10:35 PM
Hi, I created a user called "commonuser" and group called "commonuser" in hue and linux machine. Created role called "commonuser" in sentry app to access databases and gave "select" privilege. Now, I logged in as commonuser in hue. In hue-hive editor the databases are visable but not in hue-Impala editor. In impala only the default database without any tables is visable as show in the below screenshot. Please advice me on the issue.
... View more
12-28-2016
03:35 AM
Hi, I did some workaround and found the solution: By running the following commands on the KDC will enable renewable tickets. kadmin> modprinc -maxrenewlife 90day krbtgt/REALM.COM kadmin> modprinc -maxrenewlife 90day +allow_renewable hue/<hostname>@REALM.COM Thanks.
... View more
12-08-2016
03:41 PM
1 Kudo
It appears that the hostname configured for db access may be incorrect: Caused by: java.net.UnknownHostException: ODC-HADOOP-MN at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293) at java.net.InetAddress.getLocalHost(InetAddress.java:1469) ... 48 more But then we also see: Caused by: java.sql.SQLException: Schema version table SCHEMA_VERSION exists but contains no rows. at com.cloudera.enterprise.dbutil.DbUtil.getSchemaVersion(DbUtil.java:238) at com.cloudera.enterprise.dbutil.DbUtil$1SchemaVersionWork.execute(DbUtil.java:177) at org.hibernate.jdbc.WorkExecutor.executeWork(WorkExecutor.java:54) at org.hibernate.internal.SessionImpl$2.accept(SessionImpl.java:1982) at org.hibernate.internal.SessionImpl$2.accept(SessionImpl.java:1979) That indicates that something went wrong during initial population of the database and now it is inconsistent. I would recommend starting over and also sharing the scm_prepare_database.sh command and options you used.
... View more