Find answers, ask questions, and share your expertise
Recently active
I'm able to list Knox topologies in Ranger and created Ranger policy for webhdfs. Ran the script ranger-knox-plugin.sh and created ranger-security, audits and policymgr-ssl xmls.Configured one topology for webhdfs in knox and added below<provider><role>authorization</role><name>XASecurePDPKnox</name><enabled>true</enabled></provider>When I run curl to webhdfs I'm getting 403 error and I could see in Ranger audits access is denied by ranger-acl.I could nail it down to policy not getting downloaded from Ranger but don't see any error in Knox gateway.log even after setting the logging to debug.Knox is enabled with self-signed and ranger with no ssl. I imported knox cert to Ranger cacert.Am I missing any steps in Knox configuration that could be preventing the policy download?Any help is appreciated!
Hello my client is a WIN server 2019, setup outbound Kerberos only, I have enabled WIN registry keys for TGT Session sharing, environment var pointing to CDP JARS, CONFIG paths and default Java_Home to the bundled Zulu private JRE which these days is using Java 11 and comes with unlimited strength JCE (per provider). I could do kinit and receive klist. SAS is the application. I have setup the CDP JDBC URI provided by CDP team and trustore w credentials.I have not done krb5.ini, nor jaas config, nor pointed the env variable java.security.auth.login.config to jaas config.I get this error:ERROR: java.sql.SQLException: [Cloudera][HiveJDBCDriver](500168) Error creating login context using ticket cache: Unable to obtain Principal Name for authentication .ERROR: Error trying to establish connection: [Cloudera][HiveJDBCDriver](500168) Error creating login context using ticket cache: Unable to obtain Principal Name for authentication .I researched here and some
Hello.I'm using 1.13.2.RC1 and recently i started to notice something, it suddenly stops to process all the flows and hangs the active threads by not giving any response anymore.There's no error in the log, as the time passes, it's only showing a bunch of Minimal Locking Write Ahead Log, and nothing more than this.As long i do not restart, it keeps as it is infinitely, until i restart and everything starts to work once again.Can somebody please give me a light to what's happening?In this print, there's a process group and in there, a bunch of Query Database Table and some other processors, and it's hang.Example of hang Query Database Table:Once i restart, the infinite active thread quits. Important info:Maximum timer driven thread count: 20Maximum event driven thread count: 5Connection Pool 1.13.2: Max Connection Pool: 15. The database itself is working properly and fine. Thank you in advance.
I was deleted hive services with some tools (livy, hue, kudu, oozie, hive on tez) because I forgot to keep All of the password. Now I want to re-add services that I deleted. but I have no clue for this. I don't know username and password.Please help
Hi everyone. I created 2 queue yarns in cdp 7.1.8. Precisely I created 2 queues: users queue --> configured capacity 50% and maximum capacity 100% hive queue -->configured capacity 50% and maximum capacity 100% I enabled child queues mode for all 2 queues with the following configuration parameters:Dynamic Queue Minimum User Limit100%Dynamic Queue User Limit Factor1Dynamic Queue Maximum Applications1000Dynamic Queue Maximum AM Resource Limit20%Dynamic Queue Ordering PolicyFairThe problem we encounter is that if even just 2 queries are executed in the same queue the second goes pending and is not executed in parallel, I show an example belowAnother example would be an oozie job that only calls a spark job. The oozie job runs infinitely waiting for the pyspark to run. However, in the default queue this problem is not present.The development cluster is made up of 3 worker nodes (144 vcores 180 gb yarn memory).Can you provide us support or optimizations to do at the queue configurati
Hello Team,I am unable to run the import command for Hive, since it is failing with error invalid path.I copied the table content to another folder and it has permission for hive user, but while running import command it says invalid path. i ran import command on the path where the source table location still it fails with same reason.Beeline version 3.1.3000.7.1.8.28-1 by Apache Hive[root@machine1 Log_Files]# sudo -u hive hadoop fs -ls /warehouse/tablespace/managed/hive/demo.db/test1/*Found 1 items-rw-r--r-- 3 hive hive 621 2024-05-02 16:05 /warehouse/tablespace/managed/hive/demo.db/test1/delta_0000004_0000004_0000/bucket_00000_0[root@machine1 Log_Files]# sudo -u hive hadoop fs -ls /jay123/restore_jobid123243/jayesh/*Found 1 itemsdrwxr-xr-x - hive hive 0 2024-05-02 16:05 /jay123/restore_jobid123243/jayesh/test1/delta_0000004_0000004_0000[root@machine1 Log_Files]# sudo -E -u hive beeline -u "jdbc:hive2://machine1.testride.com:2181,machine22.testride.com:2181/;serviceDiscoveryMode=zooKe
I am using Apache nifi invokeHttp processor to call Google API. The url contains a path which i need to encode.So in the URL,only path is encoded e.g. resources%2F8cb90ae6-16cc-4460-99f4-3ae0689b3b66%2Fdata_asset%2FCETIvowels-38.pdfHowever whenver I set encoded url, the processor internally replaces %2F with %252F which results in HTTP 404 response.E.g. Nifi convert URL - https://storage.googleapis.com/storage/v1/b/t-bis-1hg-jk/o/resources%2F8cb90ae6-16cc-4460-99f4-3ae0689b3b66%2Fdata_asset%2FCETIvowels-38.pdf?alt=mediatohttps://storage.googleapis.com/storage/v1/b/t-bis-1hg-jk/o/resources%252F8cb90ae6-16cc-4460-99f4-3ae0689b3b66%252Fdata_asset%252FCETIvowels-38.pdf?alt=media
I am getting the below error while installing the agent. I am working on Ubuntu 20.04. It's a single machine cluster I want to make. Can anyone help me out with this? Cleaning the package manager cache... View Failed to acquire installation lock. View/tmp/scm_prepare_node.OHxqRMPmusing SSH_CLIENT to get the SCM hostname: 10.4.47.28 49784 22opening logging file descriptorStarting installation script...Acquiring installation lock.../tmp/scm_prepare_node.OHxqRMPm/scm_prepare_node.sh: line 1415: /tmp/.scm_prepare_node.lock: Permission deniedcould not open lock file, giving upwaiting for rollback request detected rollback requestrolling back installationReverting changes...rollback startedRemoving package repositories...Cleaning the package manager cache...unknown packager , exitingclosing logging file descriptor
How to enable IAM for airflow either as ldap or oauth2. Please suggest
Hi team,I update airflow to v2.6.3, and find I can't connect to mssql 2008 by using JDBC.Following are my setting:Docker Desktop:v4.19.0airflow:v2.6.3JAVA:openjdk-11-jdkJDBC Driver:jtds-1.3.1.jarConnection URL:jdbc:jtds:sqlserver://xxx.xxx.xx.xx:1433/xxxxDriver Path:/usr/local/airflow/jars/jtds-1.3.1.jarDriver Class:net.sourceforge.jtds.jdbc.Driver The connection was failed. I wonder why the message show the connection string as below: jdbc://jdbc:jtds:sqlserver: why not only jdbc:jtds:sqlserver: Any help will be appreciated, thanks!
Hello all,We are having an issue while adding airflow service to the CDH 5 cluster.Problem: Executing the command "Upgrade Airflow DB" on the Airflow service in a Cloudera cluster on GCP (CentOS 7, CDH 5.16.2, Airflow 1.10.1) results in an error: "Could not create process: null". The attempt to upgrade the Airflow database fails while adding airflow service to the CDH cluster.Context:The same infrastructure and parcel configurations have been successfully used on 6-7 on-premises clusters.Logs are empty, and the scm-server log provides the same error message, indicating a failure to create the process.Environment:Operating System: CentOS 7CDH Version: 5.16.2Airflow Version: 1.10.1Steps Taken:Added the Airflow parcels and csd in the proper location with cloudera-scm owner.Added the Airflow service.Created Mysql DB for airflow.Added Mysql lib/client on the all hosts.Added Redis server to manage the airflow in cloudera.Checked logs for detailed error information, but logs are empty.Verifie
Hi everyone,I've been exploring Ranger for access control with Trino and while doing some tests I found out, that for one of the use cases I need, an user could be in multiple groups. Each of the groups would have a custom row level filter in the same table. Example of row level filters:Select Group = Group_UK, Access Type = Select, Row Level Filter = (country = 'UK')Select Group = Group_DE, Access Type = Select, Row Level Filter = (country = 'DE')If I have a row level policy defined as shown in the example and my user is in both of this groups I will only be able to see the data with the row level filter (country = 'UK'). All other filters coming after the first one won't work for any of the users that are in multiple groups.Is there a way to enable this functionality in Ranger? or can I only give one filter to one user per table? e.g. Select User = user_a, Access Type = Select, Row Level Filter = (country in ('UK', 'DE')) I came up with a workaround to this which
Hi, is it possible to execute an exe file in nifi ?
I came across this:Starting with the NiFi 1.0 release, a Zero-Leader Clustering paradigm is employed. Each node in a NiFi cluster performs the same tasks on the data, but each operates on a different set of data. Apache ZooKeeper elects a single node as the Cluster Coordinator, and failover is handled automatically by ZooKeeper. All cluster nodes report heartbeat and status information to the Cluster Coordinator. The Cluster Coordinator is responsible for disconnecting and connecting nodes. Additionally, every cluster has one Primary Node, also elected by ZooKeeper.If nifi follows zero-leader paradigm, then what is the purpose of primary node? And how does it differ from other nodes?
Hi Team,We got critical vulnerability CVE-2014-0014 found in CDP 7.1.7 SP1 commons-fileupload-1.3.3.jar, could you please check and confirm if Apache Struts is used in the Cloudera 7.1.7 SP1? Thanks.Path:./jars/commons-fileupload-1.3.3.jar./lib/atlas/extractors/lib/azure-adls/commons-fileupload-1.3.3.jar./lib/atlas/extractors/lib/aws-s3/commons-fileupload-1.3.3.jar./lib/atlas/server/webapp/atlas/WEB-INF/lib/commons-fileupload-1.3.3.jar./lib/search/lib/commons-fileupload-1.3.3.jar./lib/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-fileupload-1.3.3.jar./lib/hbase-solr/lib/commons-fileupload-1.3.3.jar./lib/oozie/oozie-sharelib-yarn/lib/spark/commons-fileupload-1.3.3.jar./lib/search/lib/search-crunch/commons-fileupload-1.3.3.jar
Hi ,I am using cloudera CDP Public cloud with CDP Runtime version 7.2.17.As Apache storm is not a part of cloudera stack, i downloaded from apache website and configured kerberos manually with the help of storm documentationhttps://storm.apache.org/releases/2.6.1/SECURITY.htmlI am using kafka spout and hdfs bolt , I was able to connect to kafka spout with kafka Spout configuration properties,But i faced SIMPLE authentication is not enabled. Available:[TOKEN] error for hdfs boltby going through storm documentation related tohdfs bolt( https://storm.apache.org/releases/2.1.0/storm-hdfs.html ) i configured some of properties in yaml filestorm.yaml storm.zookeeper.servers:- "hari-cluster-test1-master0.avinash.ceje-5ray.a5.cloudera.site"storm.local.dir: "/home/venkataavinash_kesineni/storm/apache-storm-2.6.1/data"nimbus.seeds: ["hari-cluster-test1-master0.avinash.ceje-5ray.a5.cloudera.site"]supervisor.slots.ports:- 6700- 6701- 6702- 6703- 6704- 6705storm.thrift.transport
Hi folks,trying to build a local data engineering environment based around HBase and Phoenix. I've manually downloaded and configured all the packages and I'm trying to connect using to Phoenix via the PQS. The PQS is running but when I try and connect I'm getting the following error: [hduser@dataengineering ~]$ sqlline-thin.pyPicked up _JAVA_OPTIONS: -Xmx4096mSetting property: [incremental, false]Setting property: [isolation, TRANSACTION_READ_COMMITTED]issuing: !connect -p driver org.apache.phoenix.queryserver.client.Driver -p user "none" -p password "none" "jdbc:phoenix:thin:url=http://localhost:8765;serialization=PROTOBUF"Connecting to jdbc:phoenix:thin:url=http://localhost:8765;serialization=PROTOBUFjava.lang.IllegalArgumentException: Cannot fetch parser for Response with missing class nameat org.apache.calcite.avatica.remote.ProtobufTranslationImpl.getParserForResponse(ProtobufTranslationImpl.java:332)at org.apache.calcite.avatica.remote.ProtobufTranslationImpl.parseResponse(
Hi I have a table where I have multiple conditions using operators or conditions. so, for each of the rows I need to get the variable name which has _ CONS_GRP = 'CCA'HL_GROUP_IN in ('1_HNO', '2_HO_W') and trim(PROD_SEG_MODL_DE) = 'VASO'CONS_SVC_GRP = 'CCA' and olb_cust ne 'A'output:for row1: Cons_grpfor row2: HL_GROUP_IN PROD_SEG_MODL_DE for row3: CONS_SVC_GRP olb_cust I am okay if the output is in a row or column. appreciate any help.
Can we run Cloudera Data Platform (CDP) on Amazon Elastic Container Service (ECS) within an AWS environment?
Hi,I require some assistance with CDP -PC CDE cli command. What I am trying to achieve is to run cde jobs via cde cli with the current days date.My command line is - cde job run --name generate_post_view --vcluster-endpoint https://my.cluster.com/dex/api/v1 --user my.user_id Would need assistance on how to pass date argument in this command line so that I don’t have to go to CDE UI and edit the date for running every job.Appreciate any help in thisThanks
Is it possible to set bootstrap.conf properties(java.arg.2, java.arg.3) in kubernetes config yaml?
I'm trying to get a connection to Hive after enabling SSL. I can already connect with Kerberos, but it's the addition of SSL specifically that's giving me trouble.The application I need to connect is using JDBC in Java. I don't have much control over the internals, just the connection string. I'm trying to get a working connection via JSQSH first as a proof of concept.As a simplest possible case I've tried just logging into the cluster as the hive user and running `hive`. That's able to connect, and I can see the Beeline connection info:Connecting to jdbc:hive2://cluster-head.domain.com:2181,cluster-standby.domain.com:2181,cluster-w-1.domain.com:2181/default;password=hive;principal=hive/_HOST@REALM.COM;serviceDiscoveryMode=zooKeeper;ssl=true;sslTrustStore=/var/lib/cloudera-scm-agent/agent-cert/cm-auto-global_truststore.jks;trustStorePassword=...;trustStoreType=jks;user=hive;zooKeeperNamespace=hiveserver224/04/30 06:40:03 [main]: INFO jdbc.HiveConnection: Connected to cluster-head.domai
I have a flow file which needs to be saved to Database. Size of flow file content can be <= 2 MB. I have tried the PutSQL but it throws ORA-01704 as the insert statement with CLOB in it becomes too large. I have tried using PutDatabaseRecord, but it doesn't store complete flowfile in teh clob column, Information that it stores is this "apRecord[{responseMetadata=MapRecord[{responseType=ACTIVITY, activityDataExist=true, partNo=1, noOfParts=6}], responseData=MapRecord[{responseList=[Ljava.lang.Object;@676af33}]}]" @cotopaul @SAMSAL @MattWho @steven-matison @TimothySpann Can you pls look into thislooks like it is wrapping the Json with MapRecord. Can someone pls suggest how to insert a flowfile content into a CLOB column in DB. I cannot use ExecuteScript to use PL/SQL ( ExecuteScript is not approved to use by Nifi team in my company).
Hello,We are trying to run NiFi + Registry 2.0.0-M2 on OpenShift, and no matter what combination of USER, chgrp, chmod, etc. we use we still get"sed: couldn't open temporary file /opt/nifi/nifi-current/conf/sedYird4M: Permission denied"and pod fails to start. We followed the OpenShift guidance of adding this to Dockerfile to no avail:RUN chgrp -R 0 /opt/nifi && chmod -R g=u /opt/nifiPlease advise, this has been a blocker for a few days now!
For nifi, we have jvm options in bootstrap.conf:java.arg.2=-Xms512mjava.arg.3=-Xmx512mThen we also have env variables(got to know on google search,not from official documentation) that can be set from outside(like from kubernetes config yaml):NIFI_JVM_HEAP_INITNIFI_JVM_HEAP_MAXWhat's the connection between these 2 sets of properties?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.