Member since
06-29-2015
47
Posts
8
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1175 | 02-08-2021 08:52 AM | |
1312 | 03-16-2017 04:52 PM |
04-07-2017
07:50 PM
I'm using Kerberos 1.10.3. krb5-server-1.10.3-42.el6.x86_64
krb5-libs-1.10.3-42.el6.x86_64
krb5-workstation-1.10.3-42.el6.x86_64
... View more
04-07-2017
06:35 PM
1 Kudo
I've setup Apace drill 1.10.0 on RHEL 6.7, HDP 2.5.3, kerberos enabled. I'm getting below error while running "drill-conf" as user "drill" which is configured in the "drill-override.conf" file and it has valid keytab/ticket. drill@host:/opt/drill/bin> drill-conf
Error: Failure in connecting to Drill: org.apache.drill.exec.rpc.NonTransientRpcException: javax.security.sasl.SaslException: Authentication failed: Server requires authentication using [kerberos, plain]. Insufficient credentials? [Caused by javax.security.sasl.SaslException: Server requires authentication using [kerberos, plain]. Insufficient credentials?] (state=,code=0)
java.sql.SQLException: Failure in connecting to Drill: org.apache.drill.exec.rpc.NonTransientRpcException: javax.security.sasl.SaslException: Authentication failed: Server requires authentication using [kerberos, plain]. Insufficient credentials? [Caused by javax.security.sasl.SaslException: Server requires authentication using [kerberos, plain]. Insufficient credentials?]
at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:166)
at org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:72)
at org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
at org.apache.calcite.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:143)
at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
at sqlline.Commands.connect(Commands.java:1083)
at sqlline.Commands.connect(Commands.java:1015)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
at sqlline.SqlLine.dispatch(SqlLine.java:742)
at sqlline.SqlLine.initArgs(SqlLine.java:528)
at sqlline.SqlLine.begin(SqlLine.java:596)
at sqlline.SqlLine.start(SqlLine.java:375)
at sqlline.SqlLine.main(SqlLine.java:268)
Caused by: org.apache.drill.exec.rpc.NonTransientRpcException: javax.security.sasl.SaslException: Authentication failed: Server requires authentication using [kerberos, plain]. Insufficient credentials? [Caused by javax.security.sasl.SaslException: Server requires authentication using [kerberos, plain]. Insufficient credentials?]
at org.apache.drill.exec.rpc.user.UserClient.connect(UserClient.java:157)
at org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:432)
at org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:379)
at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:157)
... 18 more
Caused by: javax.security.sasl.SaslException: Authentication failed: Server requires authentication using [kerberos, plain]. Insufficient credentials? [Caused by javax.security.sasl.SaslException: Server requires authentication using [kerberos, plain]. Insufficient credentials?]
at org.apache.drill.exec.rpc.user.UserClient$3.mapException(UserClient.java:204)
at org.apache.drill.exec.rpc.user.UserClient$3.mapException(UserClient.java:197)
at com.google.common.util.concurrent.AbstractCheckedFuture.checkedGet(AbstractCheckedFuture.java:85)
at org.apache.drill.exec.rpc.user.UserClient.connect(UserClient.java:155)
... 21 more
Caused by: javax.security.sasl.SaslException: Server requires authentication using [kerberos, plain]. Insufficient credentials?
at org.apache.drill.exec.rpc.user.UserClient.getAuthenticatorFactory(UserClient.java:285)
at org.apache.drill.exec.rpc.user.UserClient.authenticate(UserClient.java:216)
... 22 more
apache drill 1.10.0
"this isn't your grandfather's sql"
Error from "sqlline.log": 2017-04-07 14:18:22,564 [main] WARN o.a.drill.exec.metrics.DrillMetrics - Removing old metric since name matched newly registered metric. Metric name: drill.allocator.root.used
2017-04-07 14:18:22,565 [main] WARN o.a.drill.exec.metrics.DrillMetrics - Removing old metric since name matched newly registered metric. Metric name: drill.allocator.root.peak
2017-04-07 14:18:22,615 [main] INFO o.a.drill.common.config.DrillConfig - Configuration and plugin file(s) identified in 50ms.
Base Configuration:
- jar:file:/opt/drill/jars/drill-common-1.10.0.jar!/drill-default.conf
Intermediate Configuration and Plugin files, in order of precedence:
- jar:file:/opt/drill/jars/drill-java-exec-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-common-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-storage-hive-core-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-memory-base-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-mongo-storage-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-jdbc-storage-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-logical-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-storage-hbase-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-gis-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-kudu-storage-1.10.0.jar!/drill-module.conf
- jar:file:/opt/drill/jars/drill-hive-exec-shaded-1.10.0.jar!/drill-module.conf
Override File: file:/opt/drill/conf/drill-override.conf
2017-04-07 14:18:22,625 [main] WARN o.a.drill.exec.metrics.DrillMetrics - Removing old metric since name matched newly registered metric. Metric name: drill.allocator.root.used
2017-04-07 14:18:22,625 [main] WARN o.a.drill.exec.metrics.DrillMetrics - Removing old metric since name matched newly registered metric. Metric name: drill.allocator.root.peak
2017-04-07 14:18:22,671 [main] ERROR o.a.drill.exec.client.DrillClient - Connection to host1.com:31010 failed with error javax.security.sasl.SaslException: Authentication failed: Server requires authentication using [kerberos, plain]. Insufficient credentials? [Caused by javax.security.sasl.SaslException: Server requires authentication using [kerberos, plain]. Insufficient credentials?]. Not retrying anymore The drill web console is working with with PAM authentication. i was able to login with local user "drill" Here is my "drill-override.conf" file: drill.exec: {
cluster-id: "drillbits1",
zk.connect: "host1:2181,host2:2181,host3:2181",
security: {
user.auth.enabled: true,
user.auth.impl: "pam",
user.auth.pam_profiles: [ "sudo", "login" ],
packages += "org.apache.drill.exec.rpc.user.security",
auth.mechanisms: ["KERBEROS","PLAIN"],
auth.principal: "drill/labhdp@LAB.COM",
auth.keytab: "/opt/drill/.keytab/drill.keytab"
}
} Please help me resolve the issue.
... View more
04-05-2017
03:12 PM
@ Constantin Stanca I thought the proper way to do the maintenance on the data node is to decommission it, so it can do the following tasks:
Data Node - safely replicates the
HDFS data to other DNs Node Manager - stop accepting new job
requests Region Server - turns on drain mode In a urgent situation, I could agree on your suggestion. However, please advise me the right approach in a scenario where you have luxury to choose the maintenance window.
... View more
03-20-2017
07:14 PM
1 Kudo
I'm doing the Rolling Upgrade from HDP 2.4.3 to 2.5.3.0. Ambari version: 2.4.1.0 Kerberos enabled: yes During the upgrade process I'm seeing below message. Can someone suggest me which tests I should be running?
... View more
Labels:
03-16-2017
04:52 PM
1 Kudo
Add below into “custom logsearch-properties” logsearch.roles.allowed = AMBARI.ADMINISTRATOR,
CLUSTER.ADMINISTRATOR, CLUSTER.USER
... View more
03-16-2017
04:48 PM
1 Kudo
Users from "Cluster User" role are not able to log into "Log Search" UI Ambari version: 2.4.2.0
... View more
Labels:
- Labels:
-
Apache Ambari
03-14-2017
01:52 PM
@ Artem Ervits Sorry it's a typo. I see Ambari and Grafana both have same version. But Solr still has 2.4.1 I've updated Ambari about couple of days ago to 2.4.2 ambari-agent-2.4.2.0-136.x86_64
ambari-metrics-monitor-2.4.2.0-136.x86_64
ambari-infra-solr-2.4.1.0-22.x86_64
ambari-server-2.4.2.0-136.x86_64
ambari-metrics-grafana-2.4.2.0-136.x86_64
ambari-metrics-hadoop-sink-2.4.2.0-136.x86_64
ambari-metrics-collector-2.4.2.0-136.x86_64
ambari-infra-solr-client-2.4.1.0-22.x86_64
... View more
03-13-2017
09:05 PM
@ Aravindan Vijayan I'm facing the same issue. All other dashboards are showing metrics data. I do not see any metrics error either in hivemetastore or hiveserver2 logs. All database properties are filled in and Hive is working fine. Ambari version: 2.4.2.0 HDP Stack: 2.4.3.0 Grafana version: 2.4.1.0-22 Datasource: Ambari Metrics
... View more
02-15-2017
09:33 PM
Yes it seems to be related. I'll keep eyes on it. Actually, I've just opened a case with Hortonworks too.
... View more
02-10-2017
09:35 PM
@Aravindan Vijayan, please help...
... View more