Find answers, ask questions, and share your expertise
Recently active
Hi,We are getting the following alert from ambari notifications .NameNode High Availability HealthActive['xx-xxx-x1-xx02.xxxxx.xx:50470'], Standby[], Unknown['xx-xxx-x1-xx01.xxxxx.xx:50470'] Could you please help us solve this issue? Thank you
Hi All, I'm new person is a hadoop world. Can not find answer on this question. How to gracefully stop YARN role on a data node and save or pause running jobs So the jobs will not exit with killer or crash status. I know that in ClouderaManager you can decommission yarn role when you can stop it. Is this a safe way to keep the jobs running and not failed state? Is this a gracefull yarn role shutdown or where is other way to do this? Please advice me how to do this. Thank you.
OS WINDOWS11Java: d:\Java\jdk1.8.0_202hadoop: d:\hadoop-3.1.3datanodes : D:\hadoop-3.1.3\data\datanode & D:\hadoop-3.1.3\data\namenodedone "gsudo chwon 777 -R data" %PATH%I have overwritten bin files from here apache-hadoop-3.1.3-winutils/bin at master · s911415/apache-hadoop-3.1.3-winutils (github.com) hdfs-site.xml <configuration> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>dfs.disk.balancer.enabled</name> <value>false</value></property> <property> <name>dfs.data.transfer.protection</name> <value>false</value> </property> <property> <name>dfs.encrypt.data.transfer</name> <value>true</value> </property> <property> <name>dfs.namenode.name.dir</name> <value>/D:/hadoop-3.1.3/data/namenode</va
Hi, I would like to know where can I download a CDH open-source for tests : for Ubuntu (or Centos)? Many thanks! BR, jludac
Hello,I need to move one big table (16 GB) from one oracle database to another. When I try to move table with more then 1 GB data, my nifi GUI crashes. Can you suggest me how to do it? Thanks' in advance Lejla
Hello,When trying to access Hbase through Hue i have this error in the log WARN org.eclipse.jetty.server.HttpChannel: handleException / org.apache.hadoop.security.authorize.AuthorizationException: User: hbase is not allowed to impersonate hueknowing that i had set a Thrift Server instance on Hbase and it is running okay.
Now I used SSL with Kafka nodes that made from Self cert but it cannot pass audit by infra team. I need to adapt company cert without using self cert to use with syntax look likes as follow : openssl req -new -sha256 -nodes -newkey rsa:2048 -config <(cat <<-EOF[req]default_bits = 2048prompt = nodefault_md = sha256req_extensions = req_extdistinguished_name = dnSamplePassword123[ dn ]C=THST=BangkokL=ChaxxxO=xtac Public Company LimitedOU=Enterprise Service SupportemailAddress=john.doe@xtac.co.thCN = rs-xxx-hmb-201.xtac.dev [ req_ext ]subjectAltName = @alt_names [ alt_names ]DNS.1 = rs-xxx-hmb-201DNS.2 = rs-xxx-hmb-201.xtac.dev EOF) It cannot use all of these syntax, please help me how should I do or what I did it wrong??
Hi! I am trying to connect to a MySQL RDS instance in AWS with Apache NiFi on Linux Ubuntu. The MySQL database is behind a SSH tunnel which is working in a dedicated terminal. The MySQL database is accessible through another Linux terminal. $ ssh -i /home/bernardo/.ssh/sshbernardo3.pem -N -L 33061:<db_name>.<id>.eu-west-1.rds.amazonaws.com:3306 <user>@<ip_address> -p <port> I have uploaded and unzipped the JDBC driver from https://downloads.mysql.com/archives/c-j/ The file java.sql.Driver is located in the directory /usr/share/java/META-INF/services in Linux I have installed the jdbc connector in Linux and set up the user to use JDBC$ sudo apt-get install libmysql-java$ cd /home/bernardo$ gedit .bashrc Added the following lines at the end of the file: # Setting up the user to use JDBCCLASSPATH=$CLASSPATH:/usr/share/java/mysql-connector-java-8.0.26.jarexport CLASSPATH $ source .bashrc In NiFi I have used a D
Hello community, I would like to configure a StandardSSLContextService for kafka to read the password for the keystore from an environment variable. Sadly it is not possible to use the "Expression Language" for this sensitive property. Background: We are using an operator to provision kafka users. The operator generate a kubernetes secret with the keystore and keystore password. The kubernetes secret is mounted into the nifi container and can be referenced in the StandardSSLContextService. Currently we have to add the password for this keystore manually. But when the kafka user certificate expires and is rotated, the password of the keystore changes too. I am looking for a solution to read the password automatically, e.g. by setting it as environment variable in nifi. Any idea how I could achive this? Is there a mechanism I am missing?Thank you a lot for your help,Constantin
Dears,Currently we are using Apache kafka 2.13-2.6.0 Version in our production and Currently (log4j-1.2.17) is installed on the server.After a recent security scan, our vendor suggested upgrading to Log4j version 2.16.0 or higher since 1.x is an Unsupported Version(end of life) and a CVE-2021-4104 vulnerability.Could you please suggest and provide the guidance to upgrade the log4j version at the earliest.
I am getting a 502 Bad Gateway error when I try to load the Apache Ambari UI at localhost:8080.
My Nifi instance of 5 node is not starting with the below error , please help on resolving this , I have tried deleting the repos and setting nifi.flowcontroller.autoResumeState=false in nifi.properties , start nifi service then also getting the same error , please help on this I have also increased the heap size that also did not resolve this 2021-11-24 14:20:43,413 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError: nullat java.io.ByteArrayOutputStream.hugeCapacity(ByteArrayOutputStream.java:123)at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:117)at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)at org.apache.nifi.util.file.FileUtils.copy(FileUtils.java:304)at org.apache.nifi.persistence.StandardXMLFlowConfigurationDAO.load(StandardXMLFlowConfigurationDAO.java:110)at org.apache.nifi.controll
Scenario:I have a List File Processor looking out for incoming file ("file 1"). I scheduled it to start picking up the "file 1" 20s after the "file 1" is downloaded.Let assume that the List File Processor noticed the incoming "file 1" and started the delay 20 sec before picking the "file 1".In the middle of 20 sec delay, there is an new incoming file ("file 2") noticed by the List File Processor.List File Processor will be interrupt and reset the 20 sec schedule time when ("file 2") appear within the previous 20 sec delayCould the List File Processor in the middle of 20 sec delay be interrupt and restart the initial delay? Appreciate help with explanation and example.Thanks.
My environment contains two separate and independent setups. My development environment runs all software on a VM with everything being local. Either using localhost or my internal IP address. My production environment runs with everything being in a pod. Each having a hostname. Currently when I create a template from my development environment and move it to my production, I have to go through all the processes and change the endpoints so that it will continue to run and process. Is there a method in NiFi, that I can define the endpoints on the system that contains the NiFi service, that the processes can rely on to get the proper value for the endpoints. I can move the templates between my development and production and visa-versa without having to reconfigure each process? Thank you.
Guys, I just wondering does the Data Labeling and Data Classification works whenever the data travels around? My main goals is to protect the data is being misused. For example I can block any data that already labelled and classified as Confidential being printed or copied to USB drives. Appreciate your kind insight for this.
Hi, I noticed that in NiFi rest api documentation for version 1.9.0 the parameter context endpoints have been removed, even though they existed in version 1.15.2Furthermore, I am using NiFi version 1.13.2 and I can see that in my browser's debugging tools, in the network tab, whenever I create a parameter context, a post request is sent to http://localhost:8080/nifi-api/parameter-contexts: and the following payload is being sent :{ "component": { "name": "aaaaaaaaaaa", "description": "aaaaaaaaaaaaaaaa", "parameters": [] }, "revision": { "clientId": "3d3697c2-017e-1000-0610-31b28073cf9b", "version": 0 }} The parameter context is successfully created. However when I attempt to send a post request from an external API or even hit the previously mentioned endpoint through the browser using the same payload, I get:HTTP 405 Method Not Allowed My questions are:1. Is anyone aware whether these endpoints have been removed/r
Hi, I want to create a hive table which will store data with orc format and snappy compression. Will power bi be able to read from that table? Also do you suggest any other format/compression for my table?
I am using nifi in production environment and I need to run it in a 3-node cluster on docker (3 separate VMs). Have used the following environment variables for Nifi: version: '3.2' services: zookeeper: hostname: zookeeper image: bitnami/zookeeper:latest container_name: collections_zookeeper ports: - "22181:2181" environment: - ALLOW_ANONYMOUS_LOGIN=yes nifi: build: context: ./nifi dockerfile: Dockerfile image: apache/nifi:custom ports: - 8080 environment: - NIFI_WEB_HTTP_PORT=8080 - NIFI_CLUSTER_IS_NODE=true - NIFI_CLUSTER_NODE_ADDRESS=1 - NIFI_CLUSTER_NODE_PROTOCOL_PORT=8082 - NIFI_ZK_CONNECT_STRING=zookeeper:22181 - NIF
I have an ETL flow which transfers data from a hive table to another through pyspark. The tables are partitioned. Although I see that in the partition's path in HDFS there are small parquet files. I want to ask:1)How can I merge these files?2)Is there any max size or recommended size for hive partitions?
Hello everybody, Recently my DBA team called me informing that Sqoop was sending queries to the database without parameter binding. Looking in the Sqoop documentation I got confirmation of the use of Prepared Statement by Sqoop only in the export command, with --batch parameter. With import command there is not this option to use. Could you help me identify how I could (if possible) use Sqoop's parameters to make it use binding variables in import querys? Any thoughts will be appreciated.Thanks! PS: Above is the description of the --batch parameter.--batch Use batch mode for underlying statement execution.
Recently we have deploy a new hdp cluster into 3 master and 5 worker nodes.But it looks like there are several component that mis-placed such as Hbase service.A Hbase master has been installed into a worker node and 3 Hbase Region Servers is located on 3 master nodes.So, we've a plan to relocate the some mis-placed component of hbase (the hbase master must be in master node and the region servers mus be in worker nodes).Our first step is to decomissioned the 3 hbase region server on masternode but it cannot be done because the hbase master failed to be startedThen we investigate the hbase master log and we found 2021-11-30 13:42:24,379 ERROR [master/DCHDPD03:16000:becomeActiveMaster] master.HMaster: Failed to become active masterorg.apache.hadoop.hbase.util.FileSystemVersionException: hbase.version file is missing. Is your hbase.rootdir valid? You can restore hbase.version file by running 'HBCK2 filesystem -fix'. See https://github.com/apache/hbase-operator-tools/tree/master
Accessing the URL on port 18088 returns a ERR_SSL_PROTOCOL_ERROR error in Chrome. history server logs have the following: 11:25:29.130 AM WARN HttpParser Illegal character 0x16 in state=START for buffer HeapByteBuffer@1af6bd16[p=1,l=517,c=8192,r=516]={\x16<<< ...}11:25:29.130 AM WARN HttpParser Illegal character 0x16 in state=START for buffer HeapByteBuffer@21158554[p=1,l=517,c=8192,r=516]={\x16<<< ...}11:25:29.130 AM WARN HttpParser bad HTTP parsed: 400 Illegal character 0x16 for HttpChannelOverHttp@2390a367{r=0,c=false,a=IDLE,uri=null}11:25:29.131 AM WARN HttpParser bad HTTP parsed: 400 Illegal character 0x16 for HttpChannelOverHttp@7843db5f{r=0,c=false,a=IDLE,uri=null} Note: some lines truncated to avoid exposing data. There was a similar post regarding Schema Registry UI in Ambari but the solution doesn't appear to be applicable here (though I suspect the issue is similar). Any thoughts?
I use version CDP Private Cloud Base7.1.4(Private Cloud) now, but I don't find any information about high availability in the document; But in Enterprise 6.3.4 (https://docs.cloudera.com/documentation/enterprise/latest/topics/admin_cm_ha_overview.html) and Cloudera Manager7.5.1(Private Cloud • PCE 1.3.1) Version (https://docs.cloudera.com/cloudera-manager/7.5.1/managing-clusters/topics/cm-high-availability.html) can see that there is highly available information. Which scheme should I follow?
When CDH cluster adds sentry service, an error appears in the above picture, indicating that HDFS or core configuration is required (but this service also needs to be configured with core.defaultFs). I want to know whether HDFS is generally necessary for sentry service, but I don't see relevant instructions (Prerequisites) on the official website (Before You Install Sentry | 6.3.x | Cloudera Documentation). Can anyone help provide relevant documents? because I need to convince customers that HDFS is necessary. Thankssss!!!
We have a lab cluster. We moved the MySQL DB to Oracle Cloud. The on-prem DBs remained but are now several months old. I am trying to revert back to the on-prem without copying the data back from OCI. The loss of changes in the several months does not matter as this is a lab cluster. The issue is the license was updated in between these DB changes and now SCM will not start. FactoryBean threw exception on object creation; nested exception is java.lang.RuntimeException: Upgrade not allowed in Express or Trial mode What table has the license info. I can grab just that table from OCI?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.