Find answers, ask questions, and share your expertise
Recently active
Hello,Recently I setup NiFi 2.0.Everytime I start NiFi, I get below warning messages in /var/log/messages. Dec 13 12:07:58 myserver nifi.sh[208489]: WARNING: A restricted method in java.lang.foreign.Linker has been calledDec 13 12:07:58 myserver nifi.sh[208489]: WARNING: java.lang.foreign.Linker::downcallHandle has been called by org.apache.lucene.store.PosixNativeAccess in an unnamed moduleDec 13 12:07:58 myserver nifi.sh[208489]: WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this moduleDec 13 12:07:58 myserver nifi.sh[208489]: WARNING: Restricted methods will be blocked in a future release unless native access is enabled Is there any way to supress these messages?Here are product versions.Red Hat Enterprise Linux 8.8NiFi 2.0.0Java OpenJDK 23.0.1.0.11Regards,
2024-08-25 02:47:07,116 DEBUG org.apache.hadoop.net.NetworkTopology: Choosing random from 0 available nodes on node /, scope=, excludedScope=null, excludeNodes=[192.168.1.81:9866, 192.168.1.125:9866, 192.168.1.8>2024-08-25 02:47:07,116 DEBUG org.apache.hadoop.net.NetworkTopology: chooseRandom returning null2024-08-25 02:47:07,116 DEBUG org.apache.hadoop.net.NetworkTopology: No node to choose.2024-08-25 02:47:07,116 DEBUG org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: [Datanode None is not chosen since required storage types are unavailable for storage type DISK.2024-08-25 02:47:07,116 INFO org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: Not enough replicas was chosen. Reason: {NO_REQUIRED_STORAGE_TYPE=1}2024-08-25 02:47:07,116 WARN org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: Failed to place enough replicas, still in need of 1 to reach 1 (unavailableStorages=[], storagePolicy=BlockStorage>2024-08-25 02:47:07,116 WARN
hi community cloudera, i'm experiencing strange hive drive behaviour:my app consequently performing `select` queries on multiple tables successfully. But at some point it gets an error: java.sql.SQLException: [Cloudera][HiveJDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: Socket is closed by peer. FetchResults for query "SELECT `iq***". and when the app retries to reconnect (because java.sql.Connection.isValid() == false)it constantly gets [Cloudera][JDBC](10060) Connection has been closed.java.sql.SQLNonTransientConnectionException: [Cloudera][JDBC](10060) Connection has been closed.at com.cloudera.hiveserver2.exceptions.ExceptionConverter.toSQLException(Unknown Source)at com.cloudera.hiveserver2.jdbc.common.SConnection.closeConnection(Unknown Source)at com.cloudera.hiveserver2.jdbc.common.SConnection.abortInternal(Unknown Source)at com.cloudera.hiveserver2.jdbc.common.SConnection.close(Unknown Source) Since connection
Hi Team, Good Day.. I'm beginner in Node.JS trying to connect Hive DB using hive-driver npm from Node.JS code. I couldn't establish the db connection. Any help would be much appreciated... Note: Our Hive DB has ssl connection, jks trust store password, HTTP protocol , httppath=cliservice NODE.JS SAMPLE CODE: client.connect({host: 'jdbc:hive2://abc.com:2181/dev_db;ssl=true;sslTrustStore=/etc/hive-jks/hivetrust.jks;trustStorePassword=pro@!23;transportMode=http;httpPath=cliservice;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2',port: 2181},new hive.connections.HttpConnection(),new hive.auth.PlainHttpAuthentication({username: 'username',password: 'password'})).then(async client => { console.log(client); const session = await client.openSession({client_protocol: TCLIService_types.TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V10}); }).catch(error => {console.log(error);}); when I console.log client It's printing but I tried to open client.o
Hi Team, I am implementing the CSFLE(Client Side Field Level Encryption) in the Nifi for the Kafka data. I have written Groovy script to get the logic like Consume/deserialize/Encrypt the data. The script is working as standalone. However, if i place it in ExecuteScript processor ,i am getting Caused by: javax.security.auth.login.LoginException: No LoginModule found for org.apache.kafka.common.security.plain.PlainLoginModule Error. It seems it is compatibility issue in the kafka-client jar file. However, i could not find the fix. Please provide your input on this.My groovy script is below. import org.apache.kafka.clients.consumer.ConsumerRecordimport org.apache.kafka.clients.consumer.ConsumerRecordsimport org.apache.kafka.clients.consumer.KafkaConsumerimport org.apache.kafka.common.serialization.StringDeserializerimport java.time.Durationimport org.apache.kafka.common.security.plain.PlainLoginModuleimport javax.security.auth.login.Configurationimport javax.security.auth.logi
Hi Team, HDFS was working before kurberos enabled , noww post enabling kurberos HDFS is not working. Getting error in HDFS GUI, HDFS is running in cloudera manager.Name node is showing, Test of whether the NameNode is in safe mode.```Bad : This NameNode is in safe mode.```Error:```HTTP ERROR 502 Process information not available.URI:STATUS:MESSAGE:SERVLET:/cmf/process/1546341404/logs502Process information not available.Spring MVC Dispatcher Servlet```
In your article:https://docs.cloudera.com/management-console/cloud/environments-azure/topics/mc-using_azure_database_for_postgresql_flexible_server.htmlIn the middle of this article, you mentioned:"In general, when registering an Azure environment and creating a Data Hub, you can choose to use Flexible Server, Flexible Server with Private Link, Flexible Server with Delegated Subnet (deprecated), Single Server (deprecated), or Single Server with Private Link (deprecated),..."I believe that the Flexible Server with Delegated Subnet is NOT deprecated.
I have 2 NIFI cluster, one NIFI cluster which is running as helm in EKS and another NIFI cluster which is deployed with 2 linux servers, We want to enable Site to Site connection between EKS NIFI cluster to Remote NIFI clusterwhat is the best way to connect via Remote Processor group, what configuration to be set for RPG
Hi everyone,I am facing an issue while running a Sqoop import job. The process gets stuck at:INFO mapreduce.Job: map 0% reduce 0%The job does not progress further. Additionally, I see the following message in the logs:INFO conf.Configuration: resource-types.xml not found. INFO resource.ResourceUtils: Unable to find 'resource-types.xml'.Despite this, there are plenty of available resources in the cluster, so resource allocation should not be the problem. I also have 3 healthy nodes. I’ve tried various troubleshooting steps, but I haven’t been able to resolve the issue.Could the "resource-types.xml not found" warning be causing this problem?If so, where should the resource-types.xml file be placed in a Cloudera setup?Any help or suggestions would be greatly appreciated!
Hi Team,We have 2 nodes cluster, second node we added recently, now we ran hdfs balancer but output is showing the cluster is already balanced but in actual the data is not balanced. Please suggest here.. ThanksIrshankhan
All OS disks on the cluster server are broken,Therefore, I need to install a new OS and set up hdfsHowever, all data disks are considered availablename node has "edits" file and "fsimage" file,There are "blk" and "blk meta" files in the data node.Is it possible to restore hdfs data based on block data in this situation?
I used the count command to view the HDFS directory of the cluster, and there is still 9T of storage space left. However, when I upload a 2MB file, I will report that the space is insufficient. Has anyone encountered this situation before
Hello Team, I am Darshan Hiranandani, I recently performed an upgrade from CDP 7.1.6 to CDP 7.1.8, and since the upgrade, we are encountering difficulties starting the HDFS NFS Gateway role. Previously, on CDP 7.1.6, we were able to start the NFS Gateway by running the command hdfs --daemon start portmap and then manually starting the HDFS NFS Gateway role from Cloudera Manager. However, after the upgrade, this approach no longer works, and the HDFS NFS Gateway role fails to start even though the portmap service appears to be running. Additionally, we are facing restrictions that prevent us from starting the rpcbind service due to security concerns. Given this, we would like to know: Is there a workaround or alternative method to start the HDFS NFS Gateway role without the need to enable or start the rpcbind service? Are there any known changes or updates in CDP 7.1.8 that could be causing the issue with the NFS Gateway startup process? Could the issue be related to the way the mount
Hello, I've tried to build an application using http://repo.hortonworks.com/content/repositories/releases/ and its unable to find them. When using the browser I've notice that if I try to browse the site with http I get a 404 if I do it with https I got the nexus UI.Is something wrong in the nginx of the http site?Last week this worked properly.Thank you in advance.Best regards
Hi guys,I want to convert Nested JSON to Flattened JSON using JOLT transform.Nested JSON:{"data": {"getBusinessRelationListing": {"edges": [ { "node": { "id": "1964730", "name": null, "code": "CN02", "bejoCompany": true, "legacyVendorId": [], "locatonType": [ "Commercial" &n
Hi, repo.hortonworks.com is not giving any response. When will it be back online?
Hi all,When running a Sqoop import , the job gets stuck at INFO mapreduce.Job: map 0% reduce 0%, and the process does not progress further. Additionally, the following error message appears in the logs: INFO conf.Configuration: resource-types.xml not found.INFO resource.ResourceUtils: Unable to find 'resource-types.xml'.Despite this error, there are still plenty of available resources in the cluster, so resource allocation should not be the issue.How can I resolve the "resource-types.xml not found" issue?Where should the resource-types.xml file be placed in CDP?
Hello Team, We recently upgraded from CDP 7.1.6 to CR 7.1.8. After the upgrade, we are having issues with starting the HDFS NFS Gateway role. Earlier, on CDP 7.1.6, we would run the command - hdfs --daemon start portmap and then start the HDFS NFS Gateway role from the Cloudera Manager, however after the upgrade this is not working (that is the HDFS NFS Gateway role doesn't start after running the above command and starting the role from the Cloudera Manager). We are getting the following issueDue to some security issues, we are not able to start rpcbind service. Is there a workaround to start the NFS Gateway? Note, the mount service does not start when even though the portmap service looks to have a running process. Best RegardsSayed Anisul Hoque
Hi Everyone,Struggling with transforming the JSON flow file, would appreciate help from the community!input json flow file:[{"firstName": "John","LastName": "Malkovich","MiddleName": "J","nameType": {"type1": "Other""type2": "Primary"}}, {"firstName": "Johnny","LastName": "Cage","MiddleName": "M","nameType": {"type1": "Basic""type2": "Primary"}}]expected output json flow file:{"fileName": "file.xml","count": "2","individuals": [{"firstName": "John","LastName": "Malkovich","MiddleName": "J","nameType": {"type1": "Other""type2": "Primary"}}, {"firstName": "Johnny","LastName": "Cage","MiddleName": "M","nameType": {"type1": "Basic""type2": "Primary"}}]}Jolt specification :[ { "operation": "default", "spec": { "fileName": "file.xml"", "count": "=2" } }, { "operation": "shift", "spec": { "*": { "@": "individuals[]" } } } ] gettingError:TransformException: The Spec provided can not handle input that is a top level Json Array.
Hi , My Nifi loads all the AD groups from my LDAP server , but it doensn't load any member information of it . As per the image , one can see that the Members list is empty.How is it possible to get the users in the group too ? I can add it manually , but I would like the ldap to be able to retrieve the users as per the group.
hello,I'm trying to read a parquet file using the ConvertRecord processor and I'm getting the error:ConvertRecord[id=e599cd8f-9a1d-3134-4daf-af7bc91cdd57] Failed to process FlowFile[filename=objectTable_tract_5074_DC2_2_2i_runs_DP0_2_v23_0_1_PREOPS-905_step3_31_20220314T212509Z-part0_output.parquet]; will route to failure: org.apache.avro.SchemaParseException: Illegal initial character: 0In my file the columns are numeric and the first one starts with 0 (zero).
Hi Team, I am trying to implement the CSFLE logic using the AWS KMS service. I am using ScriptiedTransformRecord processor with Groovy script. For testing purpose , i have used the sample encryption key which created by openssl and tested the script , it is working fine. However, i would like to use the AWS KMS for the encryption keys. Is the a way to interact with KMS to get the key .Here is my flow
Hi All,So I have a flow that at the end changes particular status through API. The direct upstream processor is putEmail, which is supposed to notify dynamically generated contacts with data.After this e-mail is sent, the requirement is to wait 24 hours before using the API call. I have had a hard time understanding the Wait processor and its relation to signal release. ControlRate does not really work (or I cannot set it up properly). What would be a suggested way to deal with such a scenario?
insert into temp.string_Test values ("아이오에우");=> insert into temp.string_Test values ("아이오에우")insert into temp.string_Test values ('아이오에우');=> INSERT INTO `temp`.`string_Test` VALUES (CAST('아이오에우' AS CHAR(5))) Like above, when I use single quotation with utf8 words, it casts the word into CHAR and the word is broken.Could you fix this problem for impala jdbc connector?
Please help troubleshoot the following error encountered during insert operation in Hive.Command executed: INSERT INTO example (C1, C2) VALUES(1, "|VALUE ONE"),(1, "|VALUE TWO"),(1, "NULL"),(1, "|VALUE FOUR"),(1, "|VALUE FIVE"); Result of execution:INFO : Compiling command(queryId=hive_20241125083349_27568c92-ab64-4322-81fd-3bddb8bdbbe3): INSERT INTO example (C1, C2) VALUES(1, "|VALUE ONE"),(1, "|VALUE TWO"),(1, "NULL"),(1, "|VALUE FOUR"),(1, "|VALUE FIVE")INFO : Semantic Analysis Completed (retrial = false)INFO : Created Hive schema: Schema(fieldSchemas:[FieldSchema(name:_col0, type:int, comment:null), FieldSchema(name:_col1, type:varchar(20), comment:null)], properties:null)INFO : Completed compiling command(queryId=hive_20241125083349_27568c92-ab64-4322-81fd-3bddb8bdbbe3); Time taken: 0.81 secondsINFO : Executing command(queryId=hive_20241125083349_27568c92-ab64-4322-81fd-3bddb8bdbbe3): INSERT INTO example (C1, C2) VALUES(1, "|VALUE ONE"),(1,
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.