Find answers, ask questions, and share your expertise
Recently active
Hello all,I am running into an issue with authentication when trying to connect my Flink (version 1.14.3) server with NiFi. NiFi 1.15.3 is running in secure mode in cluster with 3 nodes. When my Flink flow try to connect to NiFi, it throws: Flink Log: org.apache.flink.util.SerializedThrowable: Tried all cluster URLs but none of those was accessible. Last Exception was org.apache.nifi.remote.util.SiteToSiteRestApiClient$HttpGetFailedException: response code 401:Unauthorized with explanation: null at org.apache.nifi.remote.util.SiteToSiteRestApiClient.getController(SiteToSiteRestApiClient.java:372) at org.apache.nifi.remote.client.SiteInfoProvider.refreshRemoteInfo(SiteInfoProvider.java:69) at org.apache.nifi.remote.client.SiteInfoProvider.getPortIdentifier(SiteInfoProvider.java:220) at org.apache.nifi.remote.client.SiteInfoProvider.getOutputPortIdentifier(SiteInfoProvider.java:204) at org.apache.nifi.remote.client.socket.SocketClient.getPortIdentifier(SocketClient.java:79) at
I'm using self signed certificates for mTLS communication between minifi agents and a stand-alone EFM server. Do I need to put the public keys of each into the others' truststores or is it ok to simply have the root/intermediate CA that was used to sign the public certs in the truststores? So far I haven't been able to establish communication over mTLS for either case, but would like to know so that I can go on and plan on developing infrastructure to automate importing into the EFM truststore all the minifi agent certificates if that is the case. I'm using Cloudera EFM 1.3.1 and Apache minif 1.3.0 Thanks,minh
Hi, In my process I'm triggering some emails at certain points. My problem is that the PutEmail processor just keep dying frequently (even two or three times per day)!!! Nifi Version 1.14.0 When processor dyes I have to terminate and restart it. This is the dump of the last crash:"Timer-Driven Process Thread-1" Id=68 RUNNABLE (in native code)at java.base@11.0.2/java.net.SocketInputStream.socketRead0(Native Method)at java.base@11.0.2/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:168)at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:140)at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:102)at java.base@11.0.2/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)at java.base@11.0.2/java.io.BufferedInputStream.read(BufferedInputStream.java:271)- waiting on java.io.BufferedInputStream@40399b64at com.sun.mail.util.LineInputStream.
Hi, I see the in Cloudera Manager in Kafka Status the diagram for "Total Bytes Received Across Kafka Brokers". What does it mean exactly? Is the pure input without replication, or is replication counted on it and the pure input would be only e.g. 1/3 for replication factor 3 Best regards Jaro
I am trying to display a column in HIVE as 'NULL' whenever the source data has a blank space. I tried using the SET TBLPROPERTIES ('serialization.null.format'='\\N') and SET TBLPROPERTIES ('serialization.null.format'='') which did not work. Does anyone know how to resolve this?
I have the Flow File which has Duplicate Column i want to pick the Column threw index Number,is it possible to do with Query Record or any Processor Note: Column Will change with every new Flow File coming
Hello, I have my NiFi application running on 1 server. And I need to connect to users SFTP server and need to execute few commands like cd, rm, rename etc on remote server. And to connect to that server I need to fulfill 2 step authentication (username/password and key authentication) So if i ssh and provide key from shell script which will be mounted in docker. For that i will have to add the key needs to be installed in all nodes and then needs to be added to users sftp server. It does not seem to be best solution I there any other way where I can use NiFi processor to execute these commands to remote sftp server which needs to be connected through 2 step authentication Any advise will be very helpful Thank you.Shalaka
Hi Team,I have recently migrated Kerberos principals using the below command from one KDC to another KDC, post-migration kinit is not working and it is throwing some error whereas the same identity is working in the original KDC. Can you please help us in identifying the error? Did I make any mistakes while migrating the principles? Command Used - kdb5_util dump -verbose dumpfile and logged in to other KDC and executed the restore kdb5_util restore -verbose /tmp/dumpfile Error:KRB5_TRACE=/dev/stdout kinit testuser[8962] 1645765308.654184: Getting initial credentials for testuser@EXAMPLE.COM[8962] 1645765308.654186: Sending unauthenticated request[8962] 1645765308.654187: Sending request (181 bytes) to EXAMPLE.COM[8962] 1645765308.654188: Resolving hostname stg-hdplucykrb101.phonepe.nb6[8962] 1645765308.654189: Sending initial UDP request to dgram 10.57.55.228:88[8962] 1645765308.654190: Received answer (163 bytes) from dgram 10.57.55.228:88[8962] 16
Hello,We were getting ‘DatabaseError: ORA-01017: invalid username/password; logon denied’ post our db upgrade, to fix that we have reset the hue password, which worked and that issue got fixed.Unfortunately one of our guys deleted a couple of logs from /var/log/hue. We have recreated runcpserver.log with the necessary permission, and restart Hue server, yet we fail to see the file being populated (file is still empty). Request assistance / guidance in fixing this issue. ThanksWert
Hello,How do I check the location where Kerberos is writing logs?I checked the location which is mentioned in krb5.conf (default = FILE:/var/log/krb5libs.logkdc = FILE:/var/log/krb5kdc.logadmin_server = FILE:/var/log/kadmind.log) however the log files mentioned in this location are empty. Am I checking an incorrect location? Secondly logs on Hue Server & KT renewer is not getting updated / current. Any help/guidance is appreciated.
Hello, I recently discovered the CM Rest API and how I can restart services and obtain some information just using the Linux console and not using the CM UI. I'm looking for some examples to delete and create the Impala Catalog Server and State Store (in a diferent node) by only using this feature. I did not find any information about it in the internet, just some poor youtube videos to do simple actions. I'm using CDP 7.1.6 CM 7.3.1 API v43 This is the Cloudera documentation I could get from my installation http://my-CMhost.com:7180/static/apidocs/resource_RolesResource.html I would really appreciate if anyone used this and could share some examples 🙂
I have a use case where I want to Replace Value From My AttributeLike I have a Attribute Like :- 1. Header: A,B,C,D,E2. Index: 3Now I Want to replace the index Attribute Value from My header Attribute value with same Position like if I have 3 in my index attribute so it will replace the third aliment from my header attribute or if it's 5 so it should change the 5th one from header and make a new Attribute something like thisHeader_2 :- A,B,3,D,EBased on index attribute number it's needs to replaceThanks In Advance
We are using zookeeper-3.4.6.jar and hbase-client-1.4.5.jar for connecting to hbase cluster in a kerberized environment. All works fine except once in a while we get the following error. ERROR ZooKeeperSaslClient:384 % An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Connection refused (Connectionrefused))]) occurred when evaluating Zookeeper Quorum Member's received SASL token. Zookeeper Client will go to AUTH_FAILED state ERROR ClientCnxn:1015 % SASL authentication with Zookeeper Quorum member failed: javax.security.sasl.SaslException: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Connection refused (Connection refused))]) occurred when evaluating ZookeeperQuorum Member's received SASL token. Zookeeper C
After the Cloudera patching against TSB 2021-545 - Critical vulnerability in log4j2 CVE-2021-44228 on hdp, we need to re-create the oozie share lib and after that, update these.So, after this steps, all the jobs schedule via OOZIE get the execption:ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - HMSHandler Fatal error: java.lang.NoClassDefFoundError: com/codahale/metrics/Metric.Doing a rollback of previous libraries fixed the error. I've already checked the new and older paths on HDFS /user/oozie/share/lib/lib_<tms>/spark, but are the same. Any ideas about the problem? ThanksBR
What is the available JDBC open-source driver to connect Apache NIFI with MS Access Database.@Nifi @ApacheNifi
We upgraded from 7.1.6 to 7.1.7 GA and had similar issue and now we are trying to upgrade to hotfix and facing same issue and a bit unclear what fixed the first issue ! We copied the following files to /opt/cloudera/parcel-repo 8549720983 Jan 29 00:10 CDH-7.1.7-1.cdh7.1.7.p74.21057765-el7.parcel40 Jan 30 00:44 CDH-7.1.7-1.cdh7.1.7.p74.21057765-el7.parcel.sha164 Jan 30 00:44 CDH-7.1.7-1.cdh7.1.7.p74.21057765-el7.parcel.sha256 When we check parcels in CM we see the following Error CDH 77.1.7-1.cdh7.1.7.p74.21057765Unavailable Error for parcel CDH-7.1.7-1.cdh7.1.7.p74.21057765-el7.parcel : No valid hash file found.We tried copying the SHA files again ...compared bits with another download and still same error . Anything we are missing ? Is there supposed to be a "torrent" file ? Couldnt see it in archive .
Hi ,After accessing the hbase master ui link in production , under hbck we see there are 967 regions under ophan regions in filesystem. Can someone please help us as to how can we clear them. Thanks.@gsharma
I can see there are 89 ActiveNodes with each 231 GB of memory but still YARN is showing only 3.33 TB.Can someone help me outhere?
Can someone suggest regarding nifi 1.15.3 setup in plain Linux. As I am able to setup 1.13 in Linux but not latest version As seems like some pre-request is needed on this version respect of security/keystore. If already Discussed share me the link.
hive has --database option to select database.--database <databasename> Specify the database to use What is the beeline equivalent of the same?
I am following the instructions to run hive tpch https://github.com/hortonworks/hive-testbench.git I am using Cloudera Enterprise Trial 7.3.1 I solved the initial error(https://community.cloudera.com/t5/Support-Questions/Error-while-running-hive-tpch-Exception-in-thread-quot-main/m-p/336879/thread-id/232418/highlight/false#M232465 ) and tried to rerun the tpch-setup.sh. I am running into following error. + echo 'TPC-H text data generation complete.'TPC-H text data generation complete.+ echo 'Loading text data into external tables.'Loading text data into external tables.+ runcommand 'beeline -u jdbc:hive2://techmach.com:10000/default -i settings/load-flat.sql -f ddl-tpch/bin_flat/alltables.sql -d DB=tpch_text_2 -d LOCATION=/tmp/tpch-generate/2'+ '[' X '!=' X ']'+ beeline -u jdbc:hive2://techmach.com:10000/default -i settings/load-flat.sql -f ddl-tpch/bin_flat/alltables.sql -d DB=tpch_text_2 -d LOCATION=/tmp/tpch-generate/2+ i=1+ total=8+ test 2 -le 1000+ SC
What is the beeline equivalent of hive cli -d option?-d,–define <key=value>Variable substitution to apply to Hive commands.
HI, I am having an issue in LDAP integration with NIFI version 1.15.3.I can able to login the admin screen, i added policy for "modify component". but when i drag and drop the process or process group into the screen. it appear in read only ( with doted line). in the log it is saying"Unable to find access policy for write on /process-groups/2740a80a-017f-1000-a4b3-70d6580cdb38. Returning Not Found response" My configuration belowlogin-identity-providers.xml <provider> <identifier>ldap-provider</identifier> <class>org.apache.nifi.ldap.LdapProvider</class> <property name="Authentication Strategy">SIMPLE</property> <property name="Manager DN">cn=admin,dc=ae,dc=test,dc=com</property> <property name="Manager Password">a@psswd</property> <property name="TLS - Keystore"></property> <property name="TLS - Keystore Password"></p
I am following the instructions to run hive tpch https://github.com/hortonworks/hive-testbench.git I am using Cloudera Enterprise Trial 7.3.1 I am running into following error. [root@test_mach hive-testbench]# ./tpch-setup.sh 3+ '[' X3 = X ']'+ '[' X = X ']'+ DIR=/tmp/tpch-generate+ '[' 3 -eq 1 ']'+ hdfs dfs -mkdir -p /tmp/tpch-generate+ hdfs dfs -ls /tmp/tpch-generate/3/lineitemls: `/tmp/tpch-generate/3/lineitem': No such file or directory+ '[' 1 -ne 0 ']'+ echo 'Generating data at scale factor 3.'Generating data at scale factor 3.+ cd tpch-gen+ hadoop jar target/tpch-gen-1.0-SNAPSHOT.jar -d /tmp/tpch-generate/3/ -s 3WARNING: Use "yarn jar" to launch YARN applications.Exception in thread "main" java.lang.IllegalAccessError: class org.apache.hadoop.hdfs.web.HftpFileSystem cannot access its superinterface org.apache.hadoop.hdfs.web.TokenAspect$TokenManagementDelegatorat java.lang.ClassLoader.defineClass1(Native Method)at java.lang.ClassLoader.defineClass(ClassL
While looking into the Spark unsupported features in CDP private cloud, i can see below statement "Using the JDBC Datasource API to access Hive or Impala is not supported"Can you please explain this? If JDBC datasource is not supported, can't we access hive? Is this true?Is there any fix for this.Appreciate your quick response.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.