Member since
04-04-2018
9
Posts
0
Kudos Received
0
Solutions
05-31-2022
02:52 AM
I faced the same issue. Increased the tez memory to 256. The job has been launched after that. But it got stuck at the next step. Not sure process is running or not. I could not find any active query in hiveserver2 UI 0: jdbc:hive2://rudu-cldmst001.rush.edu:2181,> select count(*) from ctakes_annotations_docs_2008; INFO : Compiling command(queryId=hive_20220531043803_772f756b-c226-40a9-b0f4-186d05ce44b5): select count(*) from ctakes_annotations_docs_2008 INFO : Semantic Analysis Completed (retrial = false) INFO : Created Hive schema: Schema(fieldSchemas:[FieldSchema(name:_c0, type:bigint, comment:null)], properties:null) INFO : Completed compiling command(queryId=hive_20220531043803_772f756b-c226-40a9-b0f4-186d05ce44b5); Time taken: 6.933 seconds INFO : Executing command(queryId=hive_20220531043803_772f756b-c226-40a9-b0f4-186d05ce44b5): select count(*) from ctakes_annotations_docs_2008 WARN : Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases. INFO : Query ID = hive_20220531043803_772f756b-c226-40a9-b0f4-186d05ce44b5 INFO : Total jobs = 1 INFO : Launching Job 1 out of 1 INFO : Starting task [Stage-1:MAPRED] in serial mode INFO : Number of reduce tasks determined at compile time: 1 INFO : In order to change the average load for a reducer (in bytes): INFO : set hive.exec.reducers.bytes.per.reducer=<number> INFO : In order to limit the maximum number of reducers: INFO : set hive.exec.reducers.max=<number> INFO : In order to set a constant number of reducers: INFO : set mapreduce.job.reduces=<number> INFO : number of splits:204 INFO : Submitting tokens for job: job_1638892027289_0036 INFO : Executing with tokens: [Kind: HDFS_DELEGATION_TOKEN, Service: 10.21.24.36:8020, Ident: (token for hive: HDFS_DELEGATION_TOKEN owner=newer=yarn, realUser=, issueDate=1653989890904, maxDate=1654594690904, sequenceNumber=2652, masterKeyId=1077), Kind: kms-dt, Service: , Ident: (kms-dt owner=hive, renewer=yarn, realUser=, issueDate=1653989890936, maxDate=1654594690936, sequenceNumber=3843, masterKeyId=2078)]
... View more
03-18-2020
07:42 AM
Hi,
I am facing the same exception after restarting the clouder server
Mar 18 09:27:36 xxx.example.com cm-server[8420]: 09:27:36.744 [ScmActive-0] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Lock wait timeo...nsaction
I have checked the database and its up and running.
Could you please provide more insight on 'iptables'
Thanks,
Deiveegan
... View more
04-25-2018
06:29 AM
I am facing the same issue. Please note that I have valid kinit token Here is the output from klist command Ticket cache: FILE:/tmp/krb5cc_10002 Default principal: dpugazhe@RUSH.EDU Valid starting Expires Service principal 04/25/2018 06:27:16 04/25/2018 16:27:16 krbtgt/RUSH.EDU@RUSH.EDU renew until 05/02/2018 06:27:16 Please find the connection string and output command. beeline> !connect jdbc:hive2://localhost:10000/default;principal=hive/_HOST@.RUSH.EDU scan complete in 1ms Connecting to jdbc:hive2://localhost:10000/default;principal=hive/_HOST@.RUSH.EDU 18/04/25 08:25:23 [main]: ERROR transport.TSaslTransport: SASL negotiation failure javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))] at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:211) at org.apache.thrift.transport.TSaslClientTransport.handleSaslStartMessage(TSaslClientTransport.java:94) at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271) at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37) at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:52) at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:49) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1917) at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport.open(TUGIAssumingTransport.java:49) at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:204) at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:169) at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:208) at org.apache.hive.beeline.DatabaseConnection.connect(DatabaseConnection.java:146) at org.apache.hive.beeline.DatabaseConnection.getConnection(DatabaseConnection.java:211) at org.apache.hive.beeline.Commands.connect(Commands.java:1526) at org.apache.hive.beeline.Commands.connect(Commands.java:1421) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hive.beeline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:52) at org.apache.hive.beeline.BeeLine.execCommandWithPrefix(BeeLine.java:1135) at org.apache.hive.beeline.BeeLine.dispatch(BeeLine.java:1174) at org.apache.hive.beeline.BeeLine.execute(BeeLine.java:1010) at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:922) at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:518) at org.apache.hive.beeline.BeeLine.main(BeeLine.java:501) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.util.RunJar.run(RunJar.java:221) at org.apache.hadoop.util.RunJar.main(RunJar.java:136) Caused by: GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7)) at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:770) at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248) at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179) at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:192) ... 35 more Caused by: KrbException: Server not found in Kerberos database (7) at sun.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:70) at sun.security.krb5.KrbTgsReq.getReply(KrbTgsReq.java:251) at sun.security.krb5.KrbTgsReq.sendAndGetCreds(KrbTgsReq.java:262) at sun.security.krb5.internal.CredentialsUtil.serviceCreds(CredentialsUtil.java:308) at sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds(CredentialsUtil.java:126) at sun.security.krb5.Credentials.acquireServiceCreds(Credentials.java:458) at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:693) ... 38 more Caused by: KrbException: Identifier doesn't match expected value (906) at sun.security.krb5.internal.KDCRep.init(KDCRep.java:140) at sun.security.krb5.internal.TGSRep.init(TGSRep.java:65) at sun.security.krb5.internal.TGSRep.<init>(TGSRep.java:60) at sun.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:55) ... 44 more Unknown HS2 problem when communicating with Thrift server. Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/default;principal=hive/_HOST@.RUSH.EDU: GSS initiate failed (state=08S01,code=0)
... View more
04-17-2018
08:29 AM
Thanks Gekas. So I can delete the log files under the name of cloudera-scm-% in the /var/log folder It wont cause any issue in UI right ? This is error message I see in cloudera manager This role's Log Directory is on a filesystem with less than 5.0 GiB of its space free. /var/log/cloudera-scm-firehose (free: 4.0 GiB (8.02%), capacity: 50.0 GiB) The "proper" way is to change "Max Log Size" and "Maximum Log File Backups" in Cloudera Manager, for each service is running on this machine. Its set to 200 MB . Please advice
... View more
04-17-2018
06:51 AM
Disk space is increasing in cloudera management server. Could some one help us to delete the correct files to free some space in root file system Here is my fize greater than +100 MB -sh-4.2$ sudo find / -xdev -type f -size +100M -exec ls -ltrh {} \; | sort -nk 5 -rw-r----- 1 cloudera-scm cloudera-scm 1.9G Jan 18 15:23 /opt/cloudera/parcel-repo/CDH-5.13.1-1.cdh5.13.1.p0.2-el7.parcel -rw-r----- 1 cloudera-scm cloudera-scm 3.7G Jan 30 14:16 /opt/cloudera/parcel-repo/STREAMSETS_DATACOLLECTOR-3.0.3.0-el7.parcel -rw-rw-r-- 1 root root 3.8G Dec 13 15:21 /opt/cloudera/parcels/CDSW-1.2.2.p1.216803/images/cdsw_1.2.2_2cbfa5b.tar.gz -rw-r----- 1 cloudera-scm cloudera-scm 3.9G Jan 20 18:35 /opt/cloudera/parcel-repo/CDSW-1.2.2.p1.216803-el7.parcel -rw-r--r--. 1 root root 102M Jan 18 12:30 /usr/lib/locale/locale-archive -rw-r--r-- 1 root root 104M Nov 9 12:38 /opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/jars/spark-assembly-1.6.0-cdh5.13.1-hadoop2.6.0-cdh5.13.1.jar -rw-r--r-- 1 root root 106M Nov 9 12:41 /opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/jars/avro-tools-1.7.6-cdh5.13.1.jar -rw------- 1 root root 117M Apr 17 08:27 /var/log/sssd/ldap_child.log-20180227 -rw-r--r-- 1 root root 118M Nov 14 16:32 /usr/share/cmf/cloudera-navigator-server/wars/nav-core-webapp-2.12.1.war -rw-r----- 1 cloudera-scm cloudera-scm 120M Apr 17 08:34 /var/lib/cloudera-scm-navigator/solr/nav_elements/data/tlog/tlog.0000000000000018862 -rwxr-xr-x 1 root root 133M Dec 13 15:20 /opt/cloudera/parcels/CDSW-1.2.2.p1.216803/kubernetes/bin/kubelet -rw-r----- 1 cloudera-scm cloudera-scm 147M Apr 17 08:41 /var/log/cloudera-scm-firehose/mgmt-cmf-mgmt-SERVICEMONITOR-ruduv-kmmgmt001.rush.edu.log.out -rw-r--r-- 1 root root 151M Nov 9 12:39 /opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/jars/hbase-indexer-mr-1.5-cdh5.13.1-job.jar -rw-r----- 1 cloudera-scm cloudera-scm 160M Apr 17 08:17 /var/lib/cloudera-scm-headlamp/hdfs/nameservice1/index/_t.fdt -rw-r----- 1 cloudera-scm cloudera-scm 172M Apr 17 08:17 /var/lib/cloudera-scm-headlamp/hdfs/nameservice1/index/_u.fdt -rw-r----- 1 cloudera-scm cloudera-scm 173M Jan 19 11:39 /opt/cloudera/parcel-repo/SPARK2-2.2.0.cloudera2-1.cdh5.12.0.p0.232957-el7.parcel -rw-r----- 1 cloudera-scm cloudera-scm 201M Feb 25 13:15 /var/log/cloudera-scm-firehose/mgmt-cmf-mgmt-SERVICEMONITOR-ruduv-kmmgmt001.rush.edu.log.out.4 -rw-r----- 1 cloudera-scm cloudera-scm 201M Mar 11 11:58 /var/log/cloudera-scm-firehose/mgmt-cmf-mgmt-SERVICEMONITOR-ruduv-kmmgmt001.rush.edu.log.out.2 -rw-r----- 1 cloudera-scm cloudera-scm 201M Mar 20 06:27 /var/log/cloudera-scm-firehose/mgmt-cmf-mgmt-SERVICEMONITOR-ruduv-kmmgmt001.rush.edu.log.out.1 -rw-r----- 1 cloudera-scm cloudera-scm 201M Mar 9 14:24 /var/log/cloudera-scm-firehose/mgmt-cmf-mgmt-SERVICEMONITOR-ruduv-kmmgmt001.rush.edu.log.out.3 -rw-r--r-- 1 root root 202M Nov 9 12:37 /opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/lib/debug/usr/lib/impala/sbin-debug/impalad.debug -rw-r--r-- 1 root root 251M Nov 9 12:37 /opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/lib/debug/usr/lib/impala/sbin-retail/impalad.debug -rw------- 1 root root 299M Apr 16 03:44 /var/log/sssd/sssd_rush.edu.log-20180416 -rw-r----- 1 cloudera-scm cloudera-scm 342M Mar 28 10:11 /var/lib/cloudera-scm-eventserver/v3/_43pe.fdt -rw-r----- 1 cloudera-scm cloudera-scm 346M Jan 18 15:23 /opt/cloudera/parcel-repo/KUDU-1.4.0-1.cdh5.12.2.p0.8-el7.parcel -rw-r----- 1 cloudera-scm cloudera-scm 347M Mar 5 13:47 /var/lib/cloudera-scm-eventserver/v3/_2e3g.fdt
... View more
Labels:
- Labels:
-
Cloudera Manager