Find answers, ask questions, and share your expertise
Recently active
Hello All, Can some one please help me fix this OOM error||heap issue , while running query from hive Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "client DomainSocketWatcher"-----------Map1 - stays in initializing state and not moving to running state with OOM errorERROR: java.sql.SQLExceptionPyRaisable: java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask. Application application_1616507270167_1067 failed 2 times due to AM Container for appattempt_1616507270167_1067_000002 exited with exitCode: 255Failing this attempt.Diagnostics: [2021-09-07 09:49:05.213]Exception from container-launch.Container exited with a non-zero exit code 255. Error file: prelaunch.err.Exit code: 255 --------------------------------------------------------------------------java.sql.SQLExceptionPyRaisable &
Hello, We have one oozie server in our lower environment and I was assigned to add one more oozie server. I added one oozie server in ambari but oozie server installation stuck due to keytab/kerberos issues. Error--> Execution of '/usr/bin/kinit -l 5m20s -c /var/lib/ambari-agent/tmp/oozie_alert_cc_7579 -kt /etc/security/keytabs/oozie.service.keytab oozie/FQDN; ' returned 1. kinit: Client 'oozie/FQDN' not found in Kerberos database while getting initial credentials Any help? How to I fix this issue to add one more oozie server? Thank in advance.
Hello, For an application, I need to extract the maximum depth from an hdfs directory. I know how to do this action in shell: we can execute find /tmp -type d -printf '%d\n' | sort -rn | head -1 So I wanted to do the same with the find function of hdfs: hdfs dfs -find /tmp -type d but the -type argument does not exist on hdfs, here is the error: find: Unexpected argument: -type Does anyone have any solution or advice for this problem ? ps: my hadoop version Hadoop 2.6.0-cdh5.13. regards, thanks in advance
when i install cm agent using cloudera manager,got "Installation failed. Failed to copy installation files." click the ditails:Failed to copy installation files. View/tmp/scm_prepare_node.SkukORUR Could not verify key bundle check the log/var/log/cloudera-scm-server# tail -f cloudera-scm-server.log2019-02-27 21:26:32,543 INFO scm-web-227:com.cloudera.cmf.command.flow.CmdStep: Executing command work: Install on ip-172-22-1-148.2019-02-27 21:26:32,543 INFO scm-web-227:com.cloudera.server.cmf.node.NodeConfiguratorService: Adding password-based configurator for ip-172-22-1-1482019-02-27 21:26:32,544 INFO scm-web-227:com.cloudera.server.cmf.node.NodeConfiguratorService: Submitted configurator for ip-172-22-1-148 with id 692019-02-27 21:26:32,547 INFO NodeConfiguratorThread-68-0:com.cloudera.server.cmf.node.NodeConfiguratorProgress: ip-172-22-1-148: Transitioning from INIT (PT0.004S) to CONNECT2019-02-27 21:26:32,548 INFO NodeConfiguratorThread-68-0:net.schmizz.sshj.transport.TransportI
Dear team, We are getting the below error in the CDP - 7.1.6 HiveServer logs. Can you please share what's the cause of this issue and any possible solution? 2021-09-03 13:12:25,571 ERROR org.apache.hadoop.hive.ql.Driver: [HiveServer2-Background-Pool: Thread-16886]: FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.exec.MoveTask. java.io.IOException: Fail to get checksum, since file /warehouse/tablespace/managed/hive/xxxxx/xxxxx/xxxxx/xxxxx/delta_0000003_0000003_0000/xxxxx.xxxxx is under construction.2021-09-03 13:12:25,571 INFO org.apache.hadoop.hive.ql.Driver: [HiveServer2-Background-Pool: Thread-16886]: Completed executing command(queryId=hive_20210903131225_70117bf2-c60f-4564-83e9-8a60be421f63); Time taken: 0.12 seconds2021-09-03 13:12:25,572 INFO org.apache.hadoop.hive.ql.Driver: [HiveServer2-Background-Pool: Thread-16886]: OK2021-09-03 13:12:25,572 INFO org.apache.hadoop.hive.ql.lockmgr.DbTxnManager: [HiveServer2-Background-Pool: Thread-1
Hi, I am looking to install nifi on 3 clusters, and below is the loop which kept on running: 2021-09-16 13:34:35,324 INFO [Curator-Framework-0] o.a.c.f.state.ConnectionStateManager State change: SUSPENDED2021-09-16 13:34:36,836 WARN [main] o.a.n.c.l.e.CuratorLeaderElectionManager Unable to determine the Elected Leader for role 'Cluster Coordinator' due to org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /nifi/leaders/Cluster Coordinator; assuming no leader has been elected2021-09-16 13:34:36,837 INFO [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl backgroundOperationsLoop exiting2021-09-16 13:34:37,438 INFO [main] o.apache.nifi.controller.FlowController It appears that no Cluster Coordinator has been Elected yet. Registering for Cluster Coordinator Role.2021-09-16 13:34:37,439 INFO [main] o.a.n.c.l.e.CuratorLeaderElectionManager CuratorLeaderElectionManager[stopped=true] Registered new Leader Selector for role Cluster
HI I have exported a table from a hadoop envrionment using the following command:export table department to 'hdfs_exports_location/department'; I tried to import the same table into another hadoop environment using the command: import from 'hdfs_exports_location/department';i get the following error:Error: Error while compiling statement: FAILED: SemanticException [Error 10027]: Invalid path (state=42000,code=10027)i tried usingimport table imported_dept from 'hdfs_exports_location/department';i get the following error:Error: Error while compiling statement: FAILED: SemanticException [Error 10324]: Import Semantic Analyzer Error (state=42000,code=10324)Any idea what could be the issue?i am using hive 3.1.0.3.0.1.0-187.Thank you
Dear Sir, May I know if Cloudera also pre-compile winutils.exe for its distribution? We particular interest to the version for CDP 7.1.6. Appreciate. Thanks and regards, William
I am trying to parse a nested json document using RDD rather than DataFrame. The reason I cannot use DataFrame (the typical code is like spark.read.json) is that the document structure is very complicated. The schema detected by the reader is useless because child nodes at the same level have different schemas. So I try the script below. import jsons='{"key1":{"myid": "123","myname":"test"}}'rdd=sc.parallelize(s).map(json.loads) My next step will be using map transformation to parse json string but I do not know where to start. I tried the script below but it failed. rdd2=rdd.map(lambda j: (j[x]) for x in j) I would appreciate any resource on using RDD transformation to parse json.
We are trying to implement best practices in regards export/import via NiFi Registry. Currently we have one DEV site and multiple operational sites, ideally we would export from DEV and import into our various OPS sites. With that in mind I have a few questions: What is the best way to provide site-specific configuration for the controllers/Processors? Should we have a unique properties file for each site and we select which one to deploy per site? According to some documentation, later versions of NiFi are planning to remove support for this kind of unique property file loading. Is there a way in the controllers/Processors to provide conditional values based on deployed site? Of particular concern is our Solr "Zookeeper Host List" This is a property value on our Query and Ingest processors, and they currently aren't enabled to support the Variable Registry, so the value is explicitly provided (no variable lookup/replacement). Do we need to set up and use a "Variable Re
Hi, people. I just started using Apache Ranger 1.2.0 with Azure HDInsight Hadoop. Then, I try using Ranger's permission control, but it doesn't work as I want. I know the control works under this flow:https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.0.0/authorization-ranger/content/apache_ranger_access_conditions.html so that, the deny condition is prior to allow condition. I made the policy which have two conditons; Allow Conditon is the group who includes me and Deny Conditon is just me.And, only the polcy has the access to table A. I guess the group user except me can access(SELECT) the table and I can't, but acutually both can. Is there wrong point? my thought or settings?thanks
On CDP we are using both the Hive (for the Hive Metastores) and Hive on Tez (for the HiveServers). We are getting the below error while trying to run a query based on a condition. I can't share the table information and the exact query but it looks something as below. CREATE EXTERNAL TABLE IF NOT EXISTS XXX ( `1` string, `6` varchar(30), `7` varchar(5), `8` varchar(10)) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'WITH SERDEPROPERTIES('hbase.columns.mapping'=':key, xx:1, xx:5, xx:6')TBLPROPERTIES ( 'hbase.table.name'='YYYYY'); the query looks as follows: select * from XXX where 8 = '1990-10-10'; And we see the below error from the HiveServer [a3ed3b7b-d225-43af-9ac0-76917911a742 HiveServer2-Handler-Pool: Thread-128-EventThread]: Error while calling watcher java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@1d7573cd rejected from java.util.concurrent.ThreadPoolExecutor@194
I have two folders in hdfs with same name under the same directory. I want to get rid of one of them, but how do i do that?
I will use Spark2 in CDP and need to install Python3. Do I need to installation Python3 on every node in the CDP cluster, just only need to install it on one particular node? Spark2 job is executed in JVM containers that could be created on any worker node. I wonder whether the container is created upon a template? If yes, then how the template is created and where is it? Thanks.
Hello everyone I have development cluster where I lost my ambari database which was on a mysql database. Is there anyway to reinstall ambari server and have my cluster back up again ? Thank you for your help
In the cdh6/cdh7 parcels I do not see the lib/hbase/bin/start-hbase.sh script.In cdh5 we used to use hbase-1.2.0-cdh5.16.1/bin/start-hbase.sh to start hbase in pseudo distributed mode.Can someone let me know what is the alternative to using hbase in pseudo distributed mode in CDH6/CDH7 ? Thanks,Sudheendra S.
We have a need to serve our Namenode UI through a proxy and prevent direct access to the UI. There seems to be 2 ways we could do that but I'm having difficulty in implementing.1. Set dfs.namenode.http-address to 127.0.0.1 :9870 Unfortunately, it appears that cloudera's implementation does not allow an address in dfs.namenode.http-address, but instead only accept a port number. This is then combined with the namenode hostname to build the http address. I attempted to override via a safety valve configuration but that appears to be intercepted as well.2. Configure the jetty-web.xml with an IPAccessHandler that only allows connections from the local server. I'm having difficulty finding where in the filesystem I'd set this so that cdh6 will pick this up for the namenode role.This is Cloudera Enterprise 6.3.3 on Centos 7
I am looking for documentation, examples and other prior art for integrating Ranger logs with IBM QRadar. Our Security team uses QRadar for log filtering and monitoring and requires we send our audit logs to a QRadar event hub for audits.
When I rerun workflow with ooizeEnvironment detial:CDH6.2.1
Hello all,I am getting the below error when our application (Java) tries to execute an 'ADD partition' after 'DROP partition IF EXISTS' command in Hive:- """Caused by: java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. AlreadyExistsException(message:Partition already exists: Partition(values:[xxxx, yyyy, zzzz-zz-zz, tttttttt], dbName:<db_name>, tableName:<tbl_name>""" Sequence of commands executed:-Thread A: USE <db_name>Thread B: ALTER TABLE <tbl_name> DROP IF EXISTS PARTITION(`i_id` ='xxxx', `c_id` ='yyyy', `dt` ='zzzz-zz-zz', `time` ='tttttttt') PURGEThread C: ALTER TABLE <tbl_name> ADD PARTITION(`i_id` ='xxxx', `c_id` ='yyyy', `dt` ='zzzz-zz-zz', `time` ='tttttttt') Note:-Cluster - 5 Mgr nodes (Hive deployed on 3 of them), 3 Utils and 30 DNsThere are no signs of any latency issues in ambari-server alerts/logs during the tim
On Hadoop cluster, we see intermitted errors in Cloudera Manager diagnostic logs and it fails job running on them. How to investigate it further? we had this issue few weeks back and it became okay but again started since last two days and its intermittent. LoadBalancingKMSClientProvider >> KMS provider at threw an IOException:java.io.IOException: Exception while contacting value generator KMSExceptionsProvider >> User:'hdfs/*******' Method:GET URL:https://************.com:16000/kms/v1/key/haasfba/_eek?num_keys=1&eek_op=generate Response:Internal Server Error-java.io.IOException: Exception while contacting value generatorjava.io.IOException: java.io.IOException: Exception while contacting value generator
Nothing happens when I push download and go there:https://www.cloudera.com/downloads/hortonworks-sandbox/hdp.htmlSome time ago it worked, now I can't see any way to download the sandbox.
CDH 6.3.2 PHOENIX-5.0.0-cdh6.2.0.p0.1308267 add service phoenix <property><name>hbase.regionserver.wal.codec</name><value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec</value></property> <property> <name>phoenix.functions.allowUserDefinedFunctions</name> <value>true</value> <description>enable UDF functions</description></property> adv service and adv client set phoenix.schema.mapSystemTablesToNamespace=true set phoenix.schema.isNamespaceMappingEnabled=true when I run phoenix-sqlline hbase region is OutOfMemory 2021-09-09T11:43:01.362+0800: [GC (CMS Initial Mark) [1 CMS-initial-mark: 34175K(34176K)] 48788K(49536K), 0.0309811 secs] [Times: user=0.04 sys=0.01, real=0.03 secs] 2021-09-09T11:43:01.393+0800: [CMS-concurrent-mark-start]2021-09-09T11:43:01.398+0800: [Full GC (Allocation Failure) 2021-09-09T11:43:01.398+0800: [CMS2021-09-09T11:43:01.414+0800
Hi experts,I ran a hive query using tez via beeline to Join tables and got the below error. 2021-09-08T17:07:55,932 INFO [HiveServer2-Background-Pool: Thread-140] hooks.ATSHook: Created ATS Hook2021-09-08T17:07:55,933 INFO [HiveServer2-Background-Pool: Thread-140] ql.Driver: Query ID = hive_20210908170755_9492c1e6-50ee-48da-8353-e49138d8b5272021-09-08T17:07:55,933 INFO [HiveServer2-Background-Pool: Thread-140] ql.Driver: Total jobs = 12021-09-08T17:07:55,933 INFO [HiveServer2-Background-Pool: Thread-140] ql.Driver: Launching Job 1 out of 12021-09-08T17:07:55,933 INFO [HiveServer2-Background-Pool: Thread-140] ql.Driver: Starting task [Stage-1:MAPRED] in serial mode2021-09-08T17:07:55,933 INFO [HiveServer2-Background-Pool: Thread-140] tez.TezSessionPoolManager: QueueName: null nonDefaultUser: false defaultQueuePool: null hasInitialSessions: false2021-09-08T17:07:55,933 INFO [HiveServer2-Background-Pool: Thread-140] tez.TezSessionPoolManager: Created new tez session for queue: null w
Hi, we have a large number of flowfiles received and processed via NiFi. Post the NiFi processing we then perform/send the data on via http request. The issue we have at the moment, is that the application (externally to NiFi) can not consume the data fast enough when received from NiFi. What I am looking for is, an ability to only take 1 flowfile every 5 seconds and everything in-between delete/remove. Have looked at 1 processor that allows for a per flowfile process, however data then starts getting stuck in the queue. So although processing 1 file every 5 seconds works, its the delete/remove of any other flow files that I need. Thanks.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.